Mercurial > hg > truffle
diff src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp @ 936:e1fdf4fd34dc
6871111: G1: remove the concurrent overhead tracker
Summary: Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker).
Reviewed-by: iveresov, johnc
author | tonyp |
---|---|
date | Wed, 19 Aug 2009 12:53:25 -0400 |
parents | 7f807f55161a |
children | 035d2e036a9b |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp Fri Aug 14 13:44:15 2009 -0700 +++ b/src/share/vm/gc_implementation/g1/concurrentG1RefineThread.cpp Wed Aug 19 12:53:25 2009 -0400 @@ -39,7 +39,6 @@ _next(next), _cg1r(cg1r), _vtime_accum(0.0), - _co_tracker(G1CRGroup), _interval_ms(5.0) { create_and_start(); @@ -76,9 +75,6 @@ _vtime_start = os::elapsedVTime(); wait_for_universe_init(); - _co_tracker.enable(); - _co_tracker.start(); - while (!_should_terminate) { DirtyCardQueueSet& dcqs = JavaThread::dirty_card_queue_set(); // Wait for completed log buffers to exist. @@ -147,7 +143,6 @@ } break; } - _co_tracker.update(false); // Check if we need to activate the next thread. if (curr_buffer_num > next_threshold && _next != NULL && !_next->is_active()) { @@ -168,7 +163,6 @@ } n_logs++; } - _co_tracker.update(false); _sts.leave(); if (os::supports_vtime()) { @@ -177,9 +171,6 @@ _vtime_accum = 0.0; } } - _sts.join(); - _co_tracker.update(true); - _sts.leave(); assert(_should_terminate, "just checking"); terminate();