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
Kim Barrett
a99eca12cc
8201826: G1: Don't invoke WeakProcessor if mark stack has overflowed
...
Move WeakProcessor invocation after overflow check
Reviewed-by: stefank, tschatzl
2018-04-23 16:00:56 -04:00
Thomas Schatzl
2006105114
8201527: Bump default value of G1RefProcDrainInterval
...
Due to high startup cost of marking, lower the frequency of draining the mark stack generated by reference processing.
Reviewed-by: sangheki, sjohanss
2018-04-18 19:00:32 +02:00
Thomas Schatzl
6db76f1af6
8201172: Parallelize Remset Tracking Update Before Rebuild phase
...
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
c62a6abe91
8201490: Improve concurrent mark keep alive closure performance
...
Avoid doing marking work unless absolutely required.
Reviewed-by: sjohanss, kbarrett
2018-04-18 11:36:48 +02:00
Thomas Schatzl
dc7aa2ca03
8200730: Fix debug=gc+phases time tracking in Remark and Cleanup
...
Timing in Remark and Cleanup pauses did not use instance variables for the scoped timing objects, so these durations were always zero.
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
5b42f3ce0d
8200426: Make G1 code use _g1h members
...
Consistently use _g1h member names for cached G1CollectedHeap* variables.
Reviewed-by: sangheki, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
9db71579ee
8154528: Reclaim regions emptied by marking in Remark pause
...
Reviewed-by: shade, sjohanss
2018-04-18 11:36:48 +02:00
Thomas Schatzl
7c09cf644b
8178105: Switch mark bitmaps during Remark
...
Reviewed-by: sjohanss, sangheki
2018-04-18 11:36:48 +02:00
Per Lidén
6825739d3f
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
...
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Per Lidén
4c60e69b97
8201316: Move G1-related static members from JavaThread to G1BarrierSet
...
Reviewed-by: stefank, shade
2018-04-12 08:25:30 +02:00
Thomas Schatzl
4fd82a111e
8200385: Eagerly reclaimed humongous objects leave mark in prev bitmap
...
Also clear marks on prev bitmap on eager reclaim
Reviewed-by: sangheki, sjohanss
2018-04-10 09:12:23 +02:00
Thomas Schatzl
e5ec636e7d
8200305: Update gc,liveness output with remset state after rebuild remset concurrently changes
...
Reviewed-by: sjohanss, sangheki
2018-04-04 14:51:26 +02:00
Thomas Schatzl
94d2a9db4c
8200074: Remove G1ConcurrentMark::_concurrent_marking_in_progress
...
Reviewed-by: sjohanss, sangheki
2018-04-04 11:21:14 +02:00
Thomas Schatzl
ee1bd0136b
8200255: Remove G1CMTask::_concurrent
...
Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Thomas Schatzl
5780affe90
8200234: Cleanup Remark and Cleanup pause code
...
Remove redundant methods, factor out verification code and simplify code in Remark and Cleanup pause code.
Reviewed-by: sangheki, sjohanss
2018-04-04 11:21:14 +02:00
Leo Korinth
05dd65349b
8200371: In g1, rename ConcurrentMarkThread to G1ConcurrentMarkThread
...
Reviewed-by: tschatzl, sangheki
2018-04-03 12:05:49 +02:00
Thomas Schatzl
d594ab7636
8151171: Bring g1ConcurrentMark files up to current coding conventions
...
Improve method naming, bracketing, use of _g1h member and general cleanup.
Reviewed-by: sangheki, sjohanss
2018-03-29 14:08:10 +02:00
Thomas Schatzl
5524494066
8199742: Clean up state flags in G1CollectorState
...
Remove, merge and update naming of flags in G1CollectorState
Reviewed-by: sangheki, sjohanss
2018-03-29 14:07:59 +02:00
Thomas Schatzl
7995d17bca
8199326: Remove G1 gc time stamp logic
...
G1 gc time stamp logic is unused completely after JDK-8180415, so removing it.
Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
83d7c657c4
8197573: Remove concurrent cleanup and secondary free list handling
...
Remove secondary free list and all associated functionality, moving the cleanup work into the Cleanup pause instead.
Reviewed-by: sangheki, sjohanss
2018-03-28 16:39:32 +02:00
Thomas Schatzl
c30aef79df
8180415: Rebuild remembered sets during the concurrent cycle
...
In general maintain remembered sets of old regions only from the start of the concurrent cycle to the mixed gc they are used, at most until the end of the mixed phase.
Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
28fb5548de
8197850: Calculate liveness in regions during marking
...
Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:43 +02:00
Thomas Schatzl
af7d8f0d69
8197569: Refactor eager reclaim for concurrent remembered set rebuilding
...
Expose information about eager reclaim region selection.
Reviewed-by: sjohanss, sangheki
2018-03-26 16:51:41 +02: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
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
Stefan Johansson
38dcf9fdf1
8198420: Remove unused extension point AllocationContextStats
...
Reviewed-by: ehelin, tschatzl
2018-02-23 09:38:33 +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
Thomas Schatzl
80fa8a7208
8196602: Change HeapRegionClosure to comply to naming conventions
...
Reviewed-by: kbarrett, sjohanss
2018-02-09 13:09:55 +01:00
Stefan Johansson
ea04c5cfb3
8191821: Finer granularity for GC verification
...
Reviewed-by: tschatzl, poonam, sangheki
2017-12-01 08:56:22 +01:00
Leo Korinth
d1cbd17c2c
8190408: Run G1CMRemarkTask with the appropriate amount of threads instead of starting up everyone
...
Reviewed-by: tschatzl, sjohanss
2017-11-13 15:28:17 +01:00
Stefan Johansson
6929e0f05a
8186571: Implementation: JEP 307: Parallel Full GC for G1
...
Improve G1 worst-case latencies by making the full GC parallel.
Reviewed-by: tschatzl, sangheki, ehelin
2017-11-14 11:33:23 +01:00
Thomas Schatzl
bdb82eb577
8189797: Fix initializer lists in G1ConcurrentMark and G1CMTask
...
Reviewed-by: kbarrett
2017-10-25 16:15:10 +02:00
Thomas Schatzl
1eabe47e62
8189673: Consistent naming of concurrent threads, tasks and related identifiers
...
Reviewed-by: sjohanss, drwhite
2017-10-25 16:13:09 +02:00
Thomas Schatzl
c66290985d
8189801: Remove G1MarkingOverheadPercent
...
Remove obsolete and buggy functionality related to G1MarkingOverheadPercent
Reviewed-by: sjohanss
2017-10-25 16:12:15 +02:00
Thomas Schatzl
6787fc889f
Merge
2017-10-23 10:45:07 +00:00
Thomas Schatzl
793aa8d8ce
8189666: Replace various inlined percentage calculations with global percent_of()
...
Reviewed-by: sjohanss, sangheki
2017-10-23 11:46:25 +02:00
Thomas Schatzl
0757704af2
8184667: Clean up G1ConcurrentMark files
...
Fix naming, formatting, access control, remove unused code.
Reviewed-by: sjohanss, pliden
2017-10-23 11:46:12 +02: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
7a5e525604
Merge
2017-10-18 21:06:31 +00:00
Roman Kennke
9ba22876cf
8189276: Make SuspendibleThreadSet and related code available to other GCs
...
Reviewed-by: zgu, coleenp
2017-10-18 21:17:46 +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
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00