hg: jdk9/hs-gc/hotspot: 8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set

thomas.schatzl at oracle.com thomas.schatzl at oracle.com
Tue Sep 16 09:28:20 UTC 2014


Changeset: 9a2dcda0e222
Author:    tschatzl
Date:      2014-09-16 10:28 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/rev/9a2dcda0e222

8052172: Evacuation failure handling in G1 does not evacuate all objects if -XX:-G1DeferredRSUpdate is set
Summary: Remove -XX:-G1DeferredRSUpdate functionality as it is racy. During evacuation failure handling, threads where evacuation failure handling occurred may try to add remembered sets to regions which remembered sets are currently being scanned. The iterator to handle the remembered set scan does not support addition of entries during scan and so may skip valid references.
Reviewed-by: iveresov, brutisso, mgerdin

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1EvacFailure.hpp
! src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp
! src/share/vm/gc_implementation/g1/g1ParScanThreadState.hpp
! src/share/vm/gc_implementation/g1/g1ParScanThreadState.inline.hpp
! src/share/vm/gc_implementation/g1/g1RemSet.cpp
! src/share/vm/gc_implementation/g1/g1RemSet.hpp
! src/share/vm/gc_implementation/g1/g1RemSet.inline.hpp
! src/share/vm/gc_implementation/g1/g1_globals.hpp
- test/gc/g1/TestDeferredRSUpdate.java



More information about the jdk9-all-changes mailing list