commit | 3f38785a0a1ea95e883dcb2730fd8a730995940f | [log] [tgz] |
---|---|---|
author | John Cuthbertson <johnc@openjdk.org> | Tue May 29 10:18:02 2012 -0700 |
committer | John Cuthbertson <johnc@openjdk.org> | Tue May 29 10:18:02 2012 -0700 |
tree | b5046dd6491de2e0713d0eaaf703dd9637967c0e | |
parent | 818597ae4f0559af613342ff052687ba0085bf10 [diff] |
7143858: G1: Back to back young GCs with the second GC having a minimally sized eden 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