--- old/src/share/vm/gc/g1/g1FullGCScope.cpp 2017-06-14 16:39:39.851553644 +0200 +++ new/src/share/vm/gc/g1/g1FullGCScope.cpp 2017-06-14 16:39:39.699547644 +0200 @@ -44,7 +44,8 @@ _cpu_time(), _soft_refs(clear_soft, _g1h->collector_policy()), _memory_stats(true, _g1h->gc_cause()), - _collector_stats(_g1h->g1mm()->full_collection_counters()) { + _collector_stats(_g1h->g1mm()->full_collection_counters()), + _heap_transition(_g1h) { assert(_instance == NULL, "Only one scope at a time"); _timer.register_gc_start(); _tracer.report_gc_start(_g1h->gc_cause(), _timer.gc_start()); @@ -81,3 +82,7 @@ SerialOldTracer* G1FullGCScope::tracer() { return &_tracer; } + +G1HeapTransition* G1FullGCScope::heap_transition() { + return &_heap_transition; +}