1.1 --- a/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp Thu Aug 01 03:44:03 2019 +0100 1.2 +++ b/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp Mon Aug 12 18:30:40 2019 +0300 1.3 @@ -23,6 +23,7 @@ 1.4 */ 1.5 1.6 #include "precompiled.hpp" 1.7 +#include "gc_implementation/shared/gcTrace.hpp" 1.8 #include "gc_implementation/g1/g1MMUTracker.hpp" 1.9 #include "runtime/mutexLocker.hpp" 1.10 #include "utilities/ostream.hpp" 1.11 @@ -105,6 +106,9 @@ 1.12 ++_no_entries; 1.13 } 1.14 _array[_head_index] = G1MMUTrackerQueueElem(start, end); 1.15 + 1.16 + double slice_time = calculate_gc_time(end); 1.17 + G1MMUTracer::report_mmu(_time_slice, slice_time, _max_gc_time); 1.18 } 1.19 1.20 // basically the _internal call does not remove expired entries