hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp
changeset 28212 647b7d0efb88
parent 27897 253140db0e9a
child 28478 b3a2d4115e0d
equal deleted inserted replaced
28211:f3a2bc065255 28212:647b7d0efb88
   969   force_overflow_stw()->init();
   969   force_overflow_stw()->init();
   970 
   970 
   971   // Start Concurrent Marking weak-reference discovery.
   971   // Start Concurrent Marking weak-reference discovery.
   972   ReferenceProcessor* rp = g1h->ref_processor_cm();
   972   ReferenceProcessor* rp = g1h->ref_processor_cm();
   973   // enable ("weak") refs discovery
   973   // enable ("weak") refs discovery
   974   rp->enable_discovery(true /*verify_disabled*/, true /*verify_no_refs*/);
   974   rp->enable_discovery();
   975   rp->setup_policy(false); // snapshot the soft ref policy to be used in this cycle
   975   rp->setup_policy(false); // snapshot the soft ref policy to be used in this cycle
   976 
   976 
   977   SATBMarkQueueSet& satb_mq_set = JavaThread::satb_mark_queue_set();
   977   SATBMarkQueueSet& satb_mq_set = JavaThread::satb_mark_queue_set();
   978   // This is the start of  the marking cycle, we're expected all
   978   // This is the start of  the marking cycle, we're expected all
   979   // threads to have SATB queues with active set to false.
   979   // threads to have SATB queues with active set to false.