hg: jdk7/hotspot/hotspot: 6935821: G1: threads created during marking do not active their SATB queues

andrey.petrusenko at sun.com andrey.petrusenko at sun.com
Mon Mar 29 16:07:31 PDT 2010


Changeset: d4197f8d516a
Author:    tonyp
Date:      2010-03-18 12:14 -0400
URL:       http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/d4197f8d516a

6935821: G1: threads created during marking do not active their SATB queues
Summary: Newly-created threads always had the active field of their SATB queue initialized to false, even if they were created during marking. As a result, updates from threads created during a marking cycle were never enqueued and never processed. The fix includes remaining a method from active() to is_active() for readability and naming consistency.
Reviewed-by: ysr, johnc

! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp
! src/share/vm/gc_implementation/g1/ptrQueue.cpp
! src/share/vm/gc_implementation/g1/ptrQueue.hpp
! src/share/vm/gc_implementation/g1/satbQueue.cpp
! src/share/vm/gc_implementation/g1/satbQueue.hpp



More information about the jdk7-changes mailing list