comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 1111:44f61c24ddab

6862387: tune concurrent refinement further Summary: Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes. Reviewed-by: apetrusenko, tonyp
author iveresov
date Wed, 16 Dec 2009 15:12:51 -0800
parents 6270f80a7331
children b81f3572f355
comparison
equal deleted inserted replaced
1104:27f9477e879b 1111:44f61c24ddab
758 rp->verify_no_references_recorded(); 758 rp->verify_no_references_recorded();
759 rp->enable_discovery(); // enable ("weak") refs discovery 759 rp->enable_discovery(); // enable ("weak") refs discovery
760 rp->setup_policy(false); // snapshot the soft ref policy to be used in this cycle 760 rp->setup_policy(false); // snapshot the soft ref policy to be used in this cycle
761 761
762 SATBMarkQueueSet& satb_mq_set = JavaThread::satb_mark_queue_set(); 762 SATBMarkQueueSet& satb_mq_set = JavaThread::satb_mark_queue_set();
763 satb_mq_set.set_process_completed_threshold(G1SATBProcessCompletedThreshold);
764 satb_mq_set.set_active_all_threads(true); 763 satb_mq_set.set_active_all_threads(true);
765 764
766 // update_g1_committed() will be called at the end of an evac pause 765 // update_g1_committed() will be called at the end of an evac pause
767 // when marking is on. So, it's also called at the end of the 766 // when marking is on. So, it's also called at the end of the
768 // initial-mark pause to update the heap end, if the heap expands 767 // initial-mark pause to update the heap end, if the heap expands