hg: jdk7/hotspot-gc/hotspot: 6935821: G1: threads created during marking do not active their SATB queues
antonios.printezis at sun.com
antonios.printezis at sun.com
Tue Mar 23 15:19:18 UTC 2010
Changeset: d4197f8d516a
Author: tonyp
Date: 2010-03-18 12:14 -0400
URL: http://hg.openjdk.java.net/jdk7/hotspot-gc/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 hotspot-gc-dev
mailing list