58 Commits

Author SHA1 Message Date
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Stefan Karlsson
c2d4f10483 8220609: Cleanups in ScavengableNMethods
Reviewed-by: pliden, eosterlund
2019-03-18 15:21:33 +01:00
Stefan Karlsson
2370adc703 8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
2019-03-14 09:15:51 +01:00
Chihiro Ito
6773177000 8214236: sun.gc.collector.2.name should be changed
Reviewed-by: pliden, tschatzl
2019-02-12 08:56:03 +09:00
Coleen Phillimore
73ccdf3557 8213753: SymbolTable is double walked during class unloading and clean up table timing in do_unloading
Remove gc timing for short runtime cleanup triggering; make symbol table cleaning triggered automatically on unloading

Reviewed-by: shade, stefank, gziemski
2019-01-31 10:29:53 -05:00
Thomas Schatzl
d800361151 8213229: Investigate treating StringTable as weak in young collections
Reviewed-by: zgu, kbarrett
2019-01-29 11:30:17 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Coleen Phillimore
3d0faa649c 8214972: Uses of klass_holder() except GC need to apply GC barriers
Fix klass_holder() and make all callers use it, remove holder_phantom().

Reviewed-by: eosterlund, dlong
2018-12-07 14:48:35 -05:00
Erik Österlund
e39c5811b5 8210330: Make CLD claiming allow multiple claim bits
Reviewed-by: pliden, coleenp
2018-10-16 13:16:11 +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
Ioi Lam
1619cbd14b 8210864: Reduce the use of metaspaceShared.hpp
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Stefan Karlsson
c228460bf5 8205632: Include stack.inline.hpp in markSweep.inline.hpp
Reviewed-by: kbarrett
2018-06-25 22:25:29 +02:00
Stefan Karlsson
11813888b8 8204540: Automatic oop closure devirtualization
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Kim Barrett
b84c23399e 8205459: Rename Access API flag decorators
Rename OOP_NOT_NULL, IN_HEAP_ARRAY, AS_DEST_NOT_INITIALIZED

Reviewed-by: pliden, stefank
2018-06-22 17:46:58 -04: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 Schatzl
1a0553e4eb 8202845: Refactor reference processing for improved parallelism
Fold reference processing's nine phases into four to decrease startup and termination time of this phase.

Reviewed-by: kbarrett, sjohanss
2018-05-29 09:26:00 +02:00
Sangheon Kim
4fb9d6717d 8204094: assert(worker_i < _length) failed: Worker 15 is greater than max: 11 at ReferenceProcessorPhaseTimes
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:20:16 -07:00
Coleen Phillimore
e3a3941c9a 8202813: Move vm_weak processing from SystemDictionary to WeakProcessor
SystemDictionary has all strong roots.  The weak oop_storage is processed by the WeakProcessor so it can be scanned and cleared concurrently and/or by parallel threads.

Reviewed-by: kbarrett, sjohanss
2018-05-29 15:50:27 -04:00
Stefan Karlsson
fc99089e00 8202722: Move marksweep_init into GC code
Reviewed-by: ehelin, kbarrett
2018-05-07 16:16:17 +02:00
Stefan Karlsson
1dd85fe2f4 8202641: Replace OOP_SINCE_SAVE_MARKS with templates
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:08 +02:00
Stefan Karlsson
2e1bd03bad 8202639: Use concrete Generation classes in SerialHeap and CMSHeap
Reviewed-by: eosterlund, ehelin
2018-05-07 14:42:05 +02:00
Stefan Karlsson
5dfccac11f 8202592: Remove unused EvacuateFollowersClosure
Reviewed-by: kbarrett, tschatzl
2018-05-07 14:42:04 +02:00
Stefan Karlsson
7d380f1708 8202591: Remove usage of CMSEdenChunksRecordAlways in defNewGeneration.cpp
Reviewed-by: eosterlund, kbarrett
2018-05-07 14:42:00 +02:00
Stefan Karlsson
1cb95bd3d1 8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
2018-05-04 11:41:35 +02:00
Coleen Phillimore
204ba9a580 8202447: Fix unloading_occurred to mean unloading_occurred
Nmethod unloading does not need to test for jvmti to set unloading_occurred, nor do we need to clean weak Klasses in metadata if unloading does not occur.

Reviewed-by: sspitsyn, rehn
2018-04-27 15:00:04 -04:00
Thomas Schatzl
deb5bf745f 8202021: Improve variable naming in ReferenceProcesso
Reviewed-by: sangheki, sjohanss
2018-05-03 14:10:08 +02:00
Per Lidén
a4f21eeb03 8201646: Introduce ReferenceDiscoverer interface
Reviewed-by: stefank, tschatzl, rkennke
2018-04-19 07:54:50 +02:00
Coleen Phillimore
c215aa5889 8201537: Remove is_alive closure from Klass::is_loader_alive()
Remove is_alive closure from callers of Klass::is_loader_alive so that cleaning metadata doesn't require GC closure.

Reviewed-by: adinn, stefank
2018-04-18 13:37:39 -04:00
Boris Ulasevich
ab5c67bb0c 8201370: GC specific data is referred from common precompiled headers and defNewGeneration.cpp
Reviewed-by: stefank, shade, dholmes
2018-04-11 13:51:33 +02:00
Stefan Karlsson
8e0a6a9523 8201217: Split specialized_oop_closures.hpp into GC specific files
Reviewed-by: sjohanss, eosterlund
2018-04-10 12:21:58 +02:00
Stefan Karlsson
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Stefan Karlsson
e7c2b686a1 8201175: Move FilteringClosure::do_oop to genOopClosures
Reviewed-by: tschatzl, sjohanss
2018-04-10 12:18:42 +02:00
Stefan Karlsson
906806e067 8200759: Move GC entries in vmStructs.cpp to GC specific files
Reviewed-by: sjohanss, shade
2018-04-10 12:15:07 +02:00
Roman Kennke
389d720746 8199735: Mark word updates need to use Access API
Reviewed-by: shade, eosterlund
2018-04-05 10:54:53 +02:00
Stefan Karlsson
14a142ba14 8201136: Move GC flags from globals.hpp to GC specific files
Reviewed-by: sjohanss, shade, rehn
2018-04-06 13:55:25 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Coleen Phillimore
394e34d821 8199282: Remove ValueObj class for allocation subclassing for gc code
Reviewed-by: stefank, kbarrett
2018-03-14 07:27:19 -04:00
Erik Österlund
95d34d138d 8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: stefank, coleenp, kvn, ehelin
2018-02-26 09:34:12 +01:00
Stefan Karlsson
3ad60c1bd2 8198530: Move _gc_policy_counters from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: kbarrett, sjohanss
2018-02-22 18:37:48 +01:00
Stefan Karlsson
5671589a10 8198528: Move GenerationSpecs from GenCollectorPolicy to GenCollectedHeap
Reviewed-by: pliden, sjohanss, kbarrett
2018-02-22 18:37:23 +01:00
Stefan Karlsson
5f4f3883d8 8198525: Move _size_policy out of GenCollectorPolicy into GenCollectedHeap
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:32 +01:00
Stefan Karlsson
f408526f30 8198515: Extract SoftReferencePolicy code out of CollectorPolicy
Reviewed-by: pliden, sjohanss
2018-02-22 18:36:07 +01:00
Erik Österlund
0fb7dffb83 8195103: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: kbarrett, tschatzl
2018-01-10 22:48:27 +01:00
Roman Kennke
3f3f0cb67e 8191564: Refactor GC related servicability code into GC specific subclasses
Reviewed-by: ehelin, eosterlund
2017-11-30 13:40:07 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00
Roman Kennke
c45098982f 8189389: Move heap creation into GC interface
Reviewed-by: pliden, eosterlund
2017-11-16 12:53:29 +01:00
Roman Kennke
09a9ab8f41 8189171: Move GC argument processing into GC specific classes
Reviewed-by: pliden, eosterlund
2017-11-07 11:58:52 +01:00
Stefan Johansson
ed950d3513 8189734: Cleanup MarkSweep when G1 dependency is gone
Reviewed-by: sangheki, tschatzl
2017-11-15 17:05:28 +01:00