< prev index next >

src/hotspot/share/gc/g1/satbMarkQueue.cpp

G1BarrierSet_merge

*** 38,49 **** SATBMarkQueue::SATBMarkQueue(SATBMarkQueueSet* qset, bool permanent) : // SATB queues are only active during marking cycles. We create // them with their active field set to false. If a thread is // created during a cycle and its SATB queue needs to be activated // before the thread starts running, we'll need to set its active ! // field to true. This is done in G1SATBCardTableLoggingModRefBS:: ! // on_thread_attach(). PtrQueue(qset, permanent, false /* active */) { } void SATBMarkQueue::flush() { // Filter now to possibly save work later. If filtering empties the --- 38,48 ---- SATBMarkQueue::SATBMarkQueue(SATBMarkQueueSet* qset, bool permanent) : // SATB queues are only active during marking cycles. We create // them with their active field set to false. If a thread is // created during a cycle and its SATB queue needs to be activated // before the thread starts running, we'll need to set its active ! // field to true. This is done in G1SBarrierSet::on_thread_attach(). PtrQueue(qset, permanent, false /* active */) { } void SATBMarkQueue::flush() { // Filter now to possibly save work later. If filtering empties the
< prev index next >