--- old/src/share/vm/gc/g1/g1FullGCScope.hpp 2017-06-14 16:39:40.515579856 +0200 +++ new/src/share/vm/gc/g1/g1FullGCScope.hpp 2017-06-14 16:39:40.383574645 +0200 @@ -26,6 +26,7 @@ #define SHARE_VM_GC_G1_G1FULLGCSCOPE_HPP #include "gc/g1/g1CollectedHeap.hpp" +#include "gc/g1/g1HeapTransition.hpp" #include "gc/shared/collectorCounters.hpp" #include "gc/shared/gcId.hpp" #include "gc/shared/gcTrace.hpp" @@ -36,6 +37,7 @@ #include "memory/allocation.hpp" #include "services/memoryService.hpp" +// Class used to group scoped objects used in the Full GC together. class G1FullGCScope : public StackObj { ResourceMark _rm; bool _explicit_gc; @@ -49,6 +51,7 @@ ClearedAllSoftRefs _soft_refs; TraceCollectorStats _collector_stats; TraceMemoryManagerStats _memory_stats; + G1HeapTransition _heap_transition; // Singleton instance. static G1FullGCScope* _instance; @@ -63,6 +66,7 @@ STWGCTimer* timer(); SerialOldTracer* tracer(); + G1HeapTransition* heap_transition(); }; #endif //SHARE_VM_GC_G1_G1FULLGCSCOPE_HPP