comparison src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp @ 616:4f360ec815ba

6720309: G1: don't synchronously update RSet during evacuation pauses 6720334: G1: don't update RSets of collection set regions during an evacuation pause Summary: Introduced a deferred update mechanism for delaying the rset updates during the collection pause Reviewed-by: apetrusenko, tonyp
author iveresov
date Fri, 06 Mar 2009 13:50:14 -0800
parents 37f87013dfd8
children 20c6f43950b5
comparison
equal deleted inserted replaced
615:c6c601a0f2d6 616:4f360ec815ba
131 131
132 sample_young_list_rs_lengths(); 132 sample_young_list_rs_lengths();
133 _co_tracker.update(false); 133 _co_tracker.update(false);
134 134
135 if (G1SmoothConcRefine) { 135 if (G1SmoothConcRefine) {
136 start_vtime_sec = os::elapsedVTime();
137 prev_buffer_num = curr_buffer_num; 136 prev_buffer_num = curr_buffer_num;
138
139 _sts.leave(); 137 _sts.leave();
140 os::sleep(Thread::current(), (jlong) _interval_ms, false); 138 os::sleep(Thread::current(), (jlong) _interval_ms, false);
141 _sts.join(); 139 _sts.join();
140 start_vtime_sec = os::elapsedVTime();
142 } 141 }
143
144 n_logs++; 142 n_logs++;
145 } 143 }
146 // Make sure we harvest the PYA, if any. 144 // Make sure we harvest the PYA, if any.
147 (void)_cg1r->get_pya(); 145 (void)_cg1r->get_pya();
148 } 146 }