--- old/src/hotspot/share/gc/g1/g1RootClosures.cpp 2018-04-11 13:43:44.229829196 +0200 +++ new/src/hotspot/share/gc/g1/g1RootClosures.cpp 2018-04-11 13:43:43.935820168 +0200 @@ -47,10 +47,6 @@ CodeBlobClosure* strong_codeblobs() { return &_closures._codeblobs; } CodeBlobClosure* weak_codeblobs() { return &_closures._codeblobs; } - double trim_time_seconds() { - return _closures.trim_time_sec(); - } - OopClosure* raw_strong_oops() { return &_closures._oops; } bool trace_metadata() { return false; } @@ -94,10 +90,6 @@ CodeBlobClosure* strong_codeblobs() { return &_strong._codeblobs; } CodeBlobClosure* weak_codeblobs() { return &_weak._codeblobs; } - double trim_time_seconds() { - return _strong.trim_time_sec() + _weak.trim_time_sec(); - } - OopClosure* raw_strong_oops() { return &_strong._oops; } // If we are not marking all weak roots then we are tracing