Erik Österlund
e39c5811b5
8210330: Make CLD claiming allow multiple claim bits
...
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +02:00
Volker Simonis
d35eda31e3
8211328: Different declaration and definition of ClassLoaderData::classes_do() leads to build failures
...
Reviewed-by: dcubed, coleenp
2018-10-01 19:08:14 +02:00
Coleen Phillimore
7ef28cb2bc
8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
...
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Erik Österlund
c8be228513
8210321: Create NO_KEEPALIVE CLD holder accessor
...
Reviewed-by: coleenp, kbarrett
2018-09-10 13:07:42 +02: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
fd9fa38d21
8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
...
And also added function with KlassClosure to remove the hacks.
Reviewed-by: lfoltan, sspitsyn
2018-08-25 11:10:21 -04:00
Coleen Phillimore
eca24bfb55
8209792: Remove ClassLoaderDataGraph::keep_alive_cld_do
...
Unnecessary
Reviewed-by: zgu, tschatzl
2018-08-21 10:03:22 -04:00
Coleen Phillimore
dc556f4086
8209738: Remove ClassLoaderDataGraph::*oops_do functions
...
Make walking CLDG more consistent.
Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04: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
Harold Seigel
83b2fb5b0d
8207778: Add locking to ModuleEntry and PackageEntry tables
...
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()
Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04: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
Lois Foltan
48500f81a1
8205509: assert(_name_and_id != 0LL) failed: encountered a class loader null name and id
...
The method loader_name_and_id should return the external name of the class loader if _name_and_id is null.
Reviewed-by: coleenp, stuefe
2018-06-25 10:34:46 -04:00
Tom Rodriguez
0173db08e9
8198909: [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
...
Reviewed-by: eosterlund, iveresov
2018-06-24 21:46:11 -07:00
Lois Foltan
425e1a8bb8
8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
...
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.
Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Thomas Stuefe
611c72e5bc
8203455: jcmd: VM.metaspace: print loader name for anonymous CLDs
...
Reviewed-by: lfoltan, goetz
2018-05-30 08:52:59 +02:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Coleen Phillimore
ddfd4c33c6
8201556: Disallow reading oops in ClassLoaderData if unloading
...
Move class_loader oop to an OopHandle, and assert that holder is alive when getting class_loader.
Reviewed-by: kbarrett, adinn
2018-04-18 18:43:04 -04:00
Coleen Phillimore
36d1d59425
8201505: Use WeakHandle for ProtectionDomainCacheTable and ResolvedMethodTable
...
8193524: Redefining a method that removes use of 1 or more lambda expressions causes the JVM to hang
Remove oop pointers from runtime data structures.
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Reviewed-by: lfoltan, stefank
2018-04-18 12:06:53 -04:00
Coleen Phillimore
d187884156
8198313: Wrap holder object for ClassLoaderData in a WeakHandle
...
Use WeakHandle for ClassLoaderData::_holder so that is_alive closure is not needed
Reviewed-by: rehn, kbarrett
2018-04-10 10:06:42 -04:00
Coleen Phillimore
f8ee0063b1
8199007: ClassLoaderDataGraph::unload_list_contains() is wrong
...
The function isn't needed any longer.
Reviewed-by: stuefe, stefank
2018-03-26 10:19:31 -04:00
Coleen Phillimore
b15a3ff611
8197844: JVMTI GetLoadedClasses should use the Access API
...
Make sure the holder of a class loader is accessed during iteration of CLDG
Reviewed-by: eosterlund, rkennke
2018-03-21 17:09:34 -04:00
Coleen Phillimore
29cb168550
8199272: Broken assertion in ClassLoaderData::remove_handle
...
Added new ClassLoaderData::ChunkList::contains(oop*) function for OopHandle rather than oop.
Reviewed-by: stefank, hseigel
2018-03-15 07:40:00 -04:00
Thomas Stuefe
c18227978e
8199431: Split up class Metaspace into a static and a non-static part
...
Reviewed-by: coleenp, adinn, zgu
2018-03-15 07:15:39 +01:00
Coleen Phillimore
7557d78b35
8173070: Remove ValueObj class for allocation subclassing for runtime code
...
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Ioi Lam
bc202d97bd
8191585: VM anonymous classes created during CDS dump time cause crash
...
Reviewed-by: hseigel, mseledtsov, ccheung
2018-03-06 22:08:30 -08:00
Coleen Phillimore
4c3e072611
8198926: Move ClassLoaderData::_dependencies to ClassLoaderData::_handles
...
Move dependency creation and cleaned up logging
Reviewed-by: hseigel, jiangli
2018-03-06 17:15:16 -05:00
Zhengyu Gu
934390b571
8196923: [REDO] NMT: Report array class count in NMT summary
...
Added instance and array class counters in NMT summary report
Reviewed-by: minqi, stuefe, coleenp
2018-02-08 13:21:22 -05:00
Jesper Wilhelmsson
dd416bbf33
8196924: [BACKOUT] NMT: Report array class count in NMT summary
...
Reviewed-by: dholmes
2018-02-07 03:43:29 +01:00
Zhengyu Gu
41ace19206
8193184: NMT: Report array class count in NMT summary
...
Report array class and instance class count in NMT summary report
Reviewed-by: coleenp, minqi
2018-02-06 08:24:36 -05:00
Harold Seigel
34480e526e
8190235: Clarify ClassLoaderData::is_*_class_loader_data() method implementations
...
Add comments, fix a small issue with the boot loader, and add an assert.
Reviewed-by: coleenp, lfoltan, gtriantafill
2018-02-06 13:41:49 -05:00
Harold Seigel
83bb2205e8
8190359: Reduce the number of recorded klass dependencies
...
Skip recording dependencies to non-anonymous classes loaded by builtin class loaders.
Reviewed-by: iklam, coleenp, lfoltan
2018-02-02 10:37:48 -05:00
Jesper Wilhelmsson
fc1b01b9a2
Merge
2018-01-13 02:56:22 +01:00
Markus Grönlund
5cd5f1d9a1
8193933: Export ClassLoaderData claim state to support interleaved object traversal
...
Reviewed-by: coleenp, hseigel
2018-01-15 13:09:50 +01:00
Erik Österlund
8f739404a7
8191567: Refactor ciInstanceKlass G1 keep alive barrier to use Access API
...
Reviewed-by: dholmes, rkennke, tschatzl
2018-01-08 13:22:05 +01:00
Coleen Phillimore
3541733024
8193053: jvm crash by G1CMBitMapClosure::do_addr
...
We were adding an unloaded mirror to the SATB collection set in remove_handle.
Reviewed-by: hseigel, kbarrett
2017-12-13 07:14:18 -05:00
Gerard Ziemski
a043febf6f
8184765: Dynamically resize SystemDictionary
...
Implemented dynamic resizing, which triggers when load factor is too high
Reviewed-by: coleenp, rehn
2017-11-02 11:00:34 -05:00
Coleen Phillimore
39b068db11
8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
...
With the new template functions these are unnecessary.
Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Coleen Phillimore
73a801bc43
8186777: Make Klass::_java_mirror an OopHandle
...
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00