--- old/src/hotspot/share/gc/g1/heapRegion.cpp 2019-02-27 11:07:55.849426707 +0100 +++ new/src/hotspot/share/gc/g1/heapRegion.cpp 2019-02-27 11:07:55.577418436 +0100 @@ -144,7 +144,7 @@ // GC efficiency is the ratio of how much space would be // reclaimed over how long we predict it would take to reclaim it. G1CollectedHeap* g1h = G1CollectedHeap::heap(); - G1Policy* g1p = g1h->g1_policy(); + G1Policy* g1p = g1h->policy(); // Retrieve a prediction of the elapsed time for this region for // a mixed gc because the region will only be evacuated during a