< prev index next >

src/share/vm/gc/g1/g1MMUTracker.cpp

Print this page

        

*** 74,84 **** } } return gc_time; } ! void G1MMUTrackerQueue::add_pause(double start, double end, const GCId& gcId) { double duration = end - start; remove_expired_entries(end); if (_no_entries == QueueLength) { // OK, we've filled up the queue. There are a few ways --- 74,84 ---- } } return gc_time; } ! void G1MMUTrackerQueue::add_pause(double start, double end) { double duration = end - start; remove_expired_entries(end); if (_no_entries == QueueLength) { // OK, we've filled up the queue. There are a few ways
*** 104,114 **** } _array[_head_index] = G1MMUTrackerQueueElem(start, end); // Current entry needs to be added before calculating the value double slice_time = calculate_gc_time(end); ! G1MMUTracer::report_mmu(gcId, _time_slice, slice_time, _max_gc_time); } // basically the _internal call does not remove expired entries // this is for trying things out in the future and a couple // of other places (debugging) --- 104,114 ---- } _array[_head_index] = G1MMUTrackerQueueElem(start, end); // Current entry needs to be added before calculating the value double slice_time = calculate_gc_time(end); ! G1MMUTracer::report_mmu(_time_slice, slice_time, _max_gc_time); } // basically the _internal call does not remove expired entries // this is for trying things out in the future and a couple // of other places (debugging)
< prev index next >