hg: hsx/hsx17/baseline: 6935821: G1: threads created during marking do not active their SATB queues

antonios.printezis at sun.com antonios.printezis at sun.com
Thu Mar 25 09:22:12 PDT 2010


Changeset: 6a778ef9ee4f
Author:    tonyp
Date:      2010-03-18 12:14 -0400
URL:       http://hg.openjdk.java.net/hsx/hsx17/baseline/rev/6a778ef9ee4f

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-dev mailing list