--- old/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2017-11-20 16:28:28.430381626 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.cpp 2017-11-20 16:28:28.171384673 +0100 @@ -41,6 +41,7 @@ #include "gc/g1/g1FullCollector.hpp" #include "gc/g1/g1FullGCScope.hpp" #include "gc/g1/g1GCPhaseTimes.hpp" +#include "gc/g1/g1GCServicabilitySupport.hpp" #include "gc/g1/g1HeapSizingPolicy.hpp" #include "gc/g1/g1HeapTransition.hpp" #include "gc/g1/g1HeapVerifier.hpp" @@ -5394,3 +5395,7 @@ RebuildStrongCodeRootClosure blob_cl(this); CodeCache::blobs_do(&blob_cl); } + +GCServicabilitySupport* G1CollectedHeap::create_servicability_support() { + return new G1GCServicabilitySupport(); +}