Erik Österlund
dc260a5369
8212992: Change mirror accessor in Klass::verify_on() to use AS_NO_KEEPALIVE
...
Reviewed-by: coleenp, pliden
2018-11-20 10:08:19 +01:00
Erik Österlund
8b1844626a
8212682: Avoid holding Compile_lock when blocking for GC in ObjArrayKlass::allocate_objArray_klass()
...
Reviewed-by: coleenp, dlong
2018-11-20 10:08:18 +01:00
Coleen Phillimore
e66dfd30c4
8210094: Better loading of classloader classes
...
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-10 16:49:01 -04:00
David Holmes
4a157daf01
8205714: Initial class initialization
...
Ensure class is fully initialized before caching a resolved invokestatic, or patching the callsite
Reviewed-by: acorn, coleenp, kvn, vlivanov
2018-08-12 18:05:16 -04:00
Ioi Lam
147fc3ed13
8213346: Re-implement shared dictionary using CompactHashtable
...
Reviewed-by: jiangli
2018-11-07 19:40:27 -08:00
Lois Foltan
9c5c6947cb
8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
...
Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.
Reviewed-by: coleenp, mbalao, sgehwolf
2018-11-07 13:54:22 -05:00
Coleen Phillimore
d302072f50
8213211: [BACKOUT] Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Reviewed-by: jiangli, jwilhelm
2018-10-31 14:38:14 -04:00
Coleen Phillimore
6a045adbed
8212958: Allow Klass::_subklass and _next_sibling to have unloaded classes
...
Don't return unloaded klasses. Make sure access is protected by Compile_lock.
Reviewed-by: eosterlund, dlong
2018-10-29 10:21:34 -04:00
Serguei Spitsyn
4904980886
8024368: private methods are allocated vtable slots
...
Stop allocating vtable slots for private methods
Reviewed-by: dholmes, acorn, lfoltan
2018-10-24 13:11:54 -07:00
Thomas Schatzl
3a48e68b1a
8212753: Improve oopDesc::forward_to_atomic
...
Avoid multiple unnecessary reloads of the mark oop in oopDesc::forward_to_atomic
Reviewed-by: kbarrett, mdoerr
2018-10-24 16:22:34 +02:00
David Holmes
c145bd0bd0
8199567: [Nestmates] Cleanup instanceKlass.cpp
...
Reviewed-by: lfoltan, coleenp
2018-10-23 17:01:48 -04:00
Coleen Phillimore
932d2c6ba6
8212774: Remove dead code touching Klass::_lower_dimension
...
Found dead code removal while looking at usage of Compile_lock. This dead code doesn't have Compile_lock but other code touching Klass::_{upper,lower}_dimension do.
Reviewed-by: shade
2018-10-22 15:32:50 -04:00
Harold Seigel
ef3c0a2458
8209087: Clean up runtime code that compares 'this' to NULL
...
Remove 'this' to NULL comparisons from methods and check if calling objects of these methods could be NULL.
Reviewed-by: lfoltan, gziemski
2018-10-18 10:35:58 -04:00
Leo Korinth
d75f70d91c
8212595: Remove unused size_helper() in oop_oop_iterate* in instanceKlass.inline.hpp
...
Reviewed-by: shade, pliden
2018-10-18 11:23:54 +02:00
Leo Korinth
e898052f3b
8211447: Replace oop_pc_update_pointers with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:14:01 +02:00
Leo Korinth
78fe66c3bb
8211446: Replace oop_pc_follow_contents with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:13:06 +02:00
Leo Korinth
4bc903d17a
8201436: Replace oop_ps_push_contents with oop_iterate and closure
...
Reviewed-by: sjohanss, tschatzl
2018-10-12 12:10:34 +02:00
Roman Kennke
f958e6642e
8212053: A few more missing object equals barriers
...
Reviewed-by: shade, zgu
2018-10-12 16:25:24 +02:00
Roman Kennke
7ea2bd922b
8212054: Boilerplate to bind oopDesc::equals_raw() to actual raw implementation
...
Reviewed-by: shade, eosterlund
2018-10-11 23:48:55 +02:00
Harold Seigel
945623c998
8079784: Unexpected IllegalAccessError when trying access InnerClasses attribute
...
Prevent classes in the InnerClasses attribute from being loaded unless they are actually being accessed.
Reviewed-by: dholmes, lfoltan
2018-10-11 10:11:18 -04:00
Roman Kennke
3085a89f13
8211279: Verify missing object equals barriers
...
Reviewed-by: pliden, shade, zgu
2018-10-03 15:22:16 +02:00
David Holmes
468b69240e
8211394: CHECK_ must be used in the rhs of an assignment statement within a block
...
Replace "return foo(CHECK_X);" with "return foo(THREAD);"
Reviewed-by: iklam, phh, stuefe, lfoltan
2018-10-09 20:38:13 -04:00
Jiangli Zhou
a2ad8f419f
8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
...
Restructure and cleanup java heap object archiving code.
Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Roman Kennke
fe3bd4703e
8211792: Fix misplaced BarrierSet forward declarations
...
Reviewed-by: shade, zgu
2018-10-05 23:45:02 +02:00
Doug Simon
548eb6860a
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
...
Reviewed-by: never, kvn, sspitsyn
2018-10-05 20:03:14 +02:00
Martin Doerr
4af2374271
8210754: print_location is not reliable enough (printing register info)
...
Reviewed-by: stuefe, coleenp
2018-10-04 16:39:07 +02:00
Harold Seigel
221005a3d4
8209138: Symbol constructor uses u1 as the element type of its name argument
...
Maske u1 the type for Symbol values and add a function to return it as a char.
Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
Jiangli Zhou
061c4d7a81
8210926: vmTestbase/nsk/jvmti/scenarios/allocation/AP11/ap11t001/TestDescription.java failed with JVMTI_ERROR_INVALID_CLASS in CDS mode
...
Reset InstanceKlass _init_state to 'allocated' before writing out shared classes at dump time.
Reviewed-by: dholmes, coleenp
2018-10-01 00:52:37 -04:00
Coleen Phillimore
7ef28cb2bc
8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
...
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Coleen Phillimore
06a1ea846a
8210856: Move InstanceKlass DependencyContext cleaning to SystemDictionary::do_unloading()
...
Already walk classes in ClassLoaderData::unload so generalize to also clean nmethod dependencies.
Reviewed-by: eosterlund, dlong, vlivanov
2018-09-26 14:01:48 -04:00
Ioi Lam
1619cbd14b
8210864: Reduce the use of metaspaceShared.hpp
...
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Coleen Phillimore
a3931a76f6
8210861: Move assert to help diagnose rare RedefineStress crash
...
Assert that Method being marked on stack hasn't been missed by previous metadata walk
Reviewed-by: lfoltan
2018-09-18 16:11:36 -04:00
Thomas Schatzl
7c7a5976d3
8209843: Optimize oop scan closure closures wrt to reference processing in G1
...
Set more appropriate reference iteration mode for G1 closures.
Reviewed-by: kbarrett, pliden
2018-09-12 11:08:42 +02:00
Harold Seigel
18bbeb53e6
8210470: Remove unused Verifier::verify() Verifier::Mode argument
...
Remove the unused argument.
Reviewed-by: coleenp, jiangli
2018-09-11 09:53:41 -04:00
Erik Österlund
842bc09b01
8210233: Prepare Klass::is_loader_alive() for concurrent class unloading
...
Reviewed-by: coleenp, pliden
2018-09-10 13:07:42 +02:00
Coleen Phillimore
eb9259138f
8210155: Lock ClassLoaderDataGraph
...
In preparation for concurrent class unloading.
Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Coleen Phillimore
3559b6be76
8209958: Clean up duplicate basic array type statics in Universe
...
Reviewed-by: lfoltan, zgu
2018-08-28 18:17:01 -04:00
Harold Seigel
eb51968f00
8202578: Revisit location for class unload events
...
Use notify_unload_class() to post JFR class unload events instead of doing a separate traversal of the class loader data graph
Reviewed-by: lfoltan, coleenp, mgronlun, egahlin
2018-08-28 10:10:11 -04:00
Roman Kennke
9ec15cedd0
8206457: Code paths from oop_iterate() must use barrier-free access
...
Reviewed-by: eosterlund, shade
2018-07-06 16:04:19 +02:00
Ioi Lam
5b2c081460
8208658: Make CDS archived heap regions usable even if compressed oop encoding has changed
...
Relocate and patch archive regions if necessary
Reviewed-by: jiangli, tschatzl
2018-08-14 09:59:37 -07:00
Coleen Phillimore
b1ce2c0fe8
8208172: SIGSEGV when owner of invokedynamic bootstrap method throws an exception - Symbol::increment_refcount()+0x0
...
Table for resolution errors always expect non-null message string.
Reviewed-by: dholmes, iklam
2018-08-22 07:51:07 -04:00
Ioi Lam
bc62b3a40e
8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
...
Added fieldDescriptor.inline.hpp
Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Lois Foltan
75ed173e15
8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
...
Clean up VM anonymous class terminology.
Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Jiangli Zhou
da4684e2e1
8209389: SIGSEGV in WalkOopAndArchiveClosure::do_oop_work
...
Check the MetaspaceShared::archive_heap_object return value and handle failure accordingly.
Reviewed-by: iklam, coleenp
2018-08-16 17:29:22 -04:00
Gerard Ziemski
b75805c1a5
8195100: Use a low latency hashtable for SymbolTable
...
Used concurrentHashTable, similar to stringTable
Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Coleen Phillimore
d1aea148fe
8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
...
InstanceKlass::implementors() needs the Compile_lock
Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Roman Kennke
cbcc690048
8205523: Explicit barriers for interpreter
...
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
Roman Kennke
f62fa67625
8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()
...
Reviewed-by: tschatzl, eosterlund
2018-08-09 17:11:11 +02:00
Coleen Phillimore
a7b66f6f5e
8208677: Move inner metaspace cleaning out of class unloading
...
Move to safepoint cleanup actions to do if needed.
Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
Thomas Schatzl
9c0720b156
8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
...
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00