hg: jdk-updates/jdk12u: 8218880: G1 crashes when issuing a periodic GC while the GCLocker is held

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Tue Mar 12 10:43:48 UTC 2019


Changeset: 495ffdf0e556
Author:    tschatzl
Date:      2019-03-12 11:43 +0100
URL:       http://hg.openjdk.java.net/jdk-updates/jdk12u/rev/495ffdf0e556

8218880: G1 crashes when issuing a periodic GC while the GCLocker is held
Summary: Do not wait for the GC locker in the periodic GC thread as the GC locker being held is an indication for being busy anyway.
Reviewed-by: kbarrett, shade

! src/hotspot/share/gc/g1/g1CollectedHeap.cpp
! src/hotspot/share/gc/g1/g1CollectedHeap.hpp
! src/hotspot/share/gc/g1/g1VMOperations.cpp
! src/hotspot/share/gc/g1/g1VMOperations.hpp
! src/hotspot/share/gc/g1/g1YoungRemSetSamplingThread.cpp
+ test/hotspot/jtreg/gc/g1/TestPeriodicCollectionJNI.java
+ test/hotspot/jtreg/gc/g1/libTestPeriodicCollectionJNI.c



More information about the jdk-updates-changes mailing list