Thomas Schatzl
d702d5f8d2
8208669: GC changes to allow enabling -Wreorder
...
Reviewed-by: kbarrett
2018-08-08 15:31:06 +02:00
Zhengyu Gu
4555c28590
8205921: Optimizing best-of-2 work stealing queue selection
...
Bias towards stealing from queues that we recently successfully stole from to decrease the number of unsuccessful steal attempts.
Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: eosterlund, kbarrett
2018-08-03 11:06:10 +02:00
Stefan Karlsson
11813888b8
8204540: Automatic oop closure devirtualization
...
Reviewed-by: kbarrett, eosterlund
2018-05-26 06:59:49 +02:00
Paul Hohensee
ebe240f3f4
8195115: G1 Old Gen MemoryPool CollectionUsage.used values don't reflect mixed GC results
...
Memory pools can now be optional collection participants, e.g., G1 Old Gen in an incremental collection.
Reviewed-by: ehelin, mchung
2018-06-19 05:18:49 -07:00
Thomas Schatzl
7f9bbfa767
8043575: Dynamically parallelize reference processing work
...
In G1 automatically set the number of parallel Reference processing threads
Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com>
Reviewed-by: sangheki, kbarrett
2018-06-18 12:11:59 +02: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
Robbin Ehn
66f8951e15
8195097: Make it possible to process StringTable outside safepoint
...
Reviewed-by: coleenp, gziemski, iklam, jiangli
2018-06-07 14:11:56 +02:00
Coleen Phillimore
892a2af03f
8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
...
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms
Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04: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
Goetz Lindenmaier
b72846bc20
8202745: Remove hyphens from "out-of-bounds"
...
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Thomas Schatzl
b34a8c43f1
8202780: Remove EnqueueTask related code from ReferenceProcessor after JDK-8202017
...
Remove code obsoleted by JDK-8202017
Reviewed-by: kbarrett, sangheki
2018-05-09 13:37:05 +02:00
Thomas Schatzl
035d0190a3
8202017: Merge Reference Enqueuing phase with phase 3 of Reference processing
...
Do reference enqueuing work directly in phase 3 after every Reference.
Reviewed-by: kbarrett, sangheki
2018-05-08 10:01:29 +02:00
Stefan Karlsson
5f40eda733
8202642: Replace PAR_OOP_ITERATE with templates
...
Reviewed-by: eosterlund, sjohanss
2018-05-07 14:42:10 +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
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
Thomas Schatzl
945701e945
8201492: Properly implement non-contiguous generations for Reference discovery
...
Collectors like G1 implementing non-contiguous generations previously used an inexact but conservative area for discovery. Concurrent and STW reference processing could discover the same reference multiple times, potentially missing referents during evacuation. So these collectors had to take extra measures while concurrent marking/reference discovery has been running. This change makes discovery exact for G1 (and any collector using non-contiguous generations) so that concurrent discovery and STW discovery discover on strictly disjoint memory areas. This means that the mentioned situation can not occur any more, and extra work is not required any more too.
Reviewed-by: kbarrett, sjohanss
2018-05-03 14:09:00 +02:00
Gerard Ziemski
edc81d17e1
8202150: [REDO] Split globals.hpp to factor out the Flag class
...
Factored out Flag out go globals, renamed to JVMFlag
Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Gerard Ziemski
816e2e5fe0
8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
...
Backed out JDK-8081519
Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d
8081519: Split globals.hpp to factor out the Flag class
...
Factored out Flag out go globals, renamed to JVMFlag
Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05: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
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
6a8aa0fdad
8200736: Move CMSGCStats to the cms directory
...
Reviewed-by: sjohanss, tschatzl
2018-04-06 11:37:28 +02:00
Stefan Karlsson
f05f8de48f
8200735: Move CMS specific code from binaryTreeDictionary and freeList to CMS files
...
Reviewed-by: shade, adinn
2018-04-06 11:37:26 +02:00
Stefan Karlsson
3a5ca51fff
8200292: Move PushAndMarkVerifyClosure::do_oop_work to concurrentMarkSweepGeneration.cpp
...
Reviewed-by: tschatzl, sjohanss
2018-03-26 17:01:32 +02:00
Stefan Karlsson
1a1aecd166
8200106: Move NoSafepointVerifier out from gcLocker.hpp
...
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Yasumasa Suenaga
fcb1520305
8153333: [REDO] STW phases at Concurrent GC should count in PerfCounte
...
Reviewed-by: sjohanss, tschatzl
2018-03-09 23:13:37 +09: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
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
Stefan Karlsson
713858f459
8198373: Remove CollectorPolicy::is/as functions
...
Reviewed-by: sjohanss, pliden
2018-02-22 18:34:18 +01:00
Per Lidén
2606b1f985
8198369: Clean up GCId and GCIdMark
...
Reviewed-by: stefank, eosterlund
2018-02-21 07:50:33 +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
Jamsheed Mohammed C M
10a1edcc22
8152470: Add COMPILER2_OR_JVMCI definition
...
Defined(COMPILER2) || INCLUDE_JVMCI changed replaced with COMPILER2_OR_JVMCI
Reviewed-by: kvn
2017-11-06 21:28:03 -08:00
Stefan Karlsson
d129d1cdf2
8189748: More precise closures for WeakProcessor::weak_oops_do calls
...
Reviewed-by: pliden, sjohanss
2017-10-23 11:20:53 +02:00
Stefan Karlsson
3fbc4aec64
8189359: Move native weak oops cleaning out of ReferenceProcessor
...
Reviewed-by: pliden, kbarrett
2017-10-18 21:13:35 +02: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
Roman Kennke
4516caf125
8179387: Factor out CMS specific code from GenCollectedHeap into its own subclass
...
Reviewed-by: ehelin, coleenp
2017-10-12 15:08:19 +02: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 Österlund
394e6a8318
8186838: Generalize Atomic::inc/dec with templates
...
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +02:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00