hg: jdk7/hotspot-gc/hotspot: 7014261: G1: RSet-related failures

tony.printezis at oracle.com tony.printezis at oracle.com
Wed Jan 26 13:40:51 UTC 2011


Changeset: 97ba643ea3ed
Author:    tonyp
Date:      2011-01-25 17:58 -0500
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/97ba643ea3ed

7014261: G1: RSet-related failures
Summary: A race between the concurrent cleanup thread and the VM thread while it is processing the "expanded sparse table list" causes both threads to try to free the same sparse table entry and either causes one of the threads to fail or leaves the entry in an inconsistent state. The solution is purge all entries on the expanded list that correspond go regions that are being cleaned up.
Reviewed-by: brutisso, johnc

! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp
! src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp
! src/share/vm/gc_implementation/g1/sparsePRT.cpp
! src/share/vm/gc_implementation/g1/sparsePRT.hpp




More information about the hotspot-gc-dev mailing list