8232588: G1 concurrent System.gc can return early or late

8233279: G1: GCLocker GC with +GCLockerInvokesConcurrent spins while cycle in progress

Refactor G1CH::try_collect and fix bugs with concurrent collections.

Reviewed-by: tschatzl, sjohanss
This commit is contained in:
Kim Barrett 2019-11-13 18:00:30 -05:00
parent 9ad86a68cc
commit 19bed24b1f
9 changed files with 289 additions and 213 deletions

View file

@ -66,6 +66,7 @@
template(G1CollectForAllocation) \
template(G1CollectFull) \
template(G1Concurrent) \
template(G1TryInitiateConcMark) \
template(ZMarkStart) \
template(ZMarkEnd) \
template(ZRelocateStart) \