hg: hsx/hotspot-gc/hotspot: 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Tue May 29 19:22:50 UTC 2012


Changeset: 1d478c993020
Author:    johnc
Date:      2012-05-29 10:18 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/1d478c993020

7143858: G1: Back to back young GCs with the second GC having a minimally sized eden
Summary: Before the last thread to leave a JNI critical region was able to schedule a GCLocker Initiated GC, another thread was attempting an allocation and saw that the GCLocker region was no longer active and successfully scheduled a GC. Stall allocating threads until the GCLocker Initiated GC is performed and then retry the allocation.
Reviewed-by: brutisso, huntch

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp




More information about the hotspot-gc-dev mailing list