--- old/src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp 2018-02-21 22:56:33.734259823 +0100 +++ new/src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp 2018-02-21 22:56:33.514252297 +0100 @@ -1887,7 +1887,7 @@ } // Should this be in gc_epilogue? - collector_policy()->counters()->update_counters(); + heap->counters()->update_counters(); { // Clear _foregroundGCShouldWait and, in the event that the