hg: hsx/hotspot-gc/hotspot: 7092412: G1: Some roots not marked during an initial mark that gets an evacuation failure

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Tue Sep 20 22:21:57 PDT 2011


Changeset: 663cb89032b1
Author:    johnc
Date:      2011-09-20 15:39 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/663cb89032b1

7092412: G1: Some roots not marked during an initial mark that gets an evacuation failure
Summary: As a result of the changes for 7080389, an evacuation failure during an initial mark pause may result in some root objects not being marked. Pass whether the caller is a root scanning closure into the evacuation failure handling code so that the thread that successfully forwards an object to itself also marks the object.
Reviewed-by: ysr, brutisso, tonyp

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



More information about the hotspot-gc-dev mailing list