--- a/src/hotspot/share/gc/g1/g1FullGCScope.hpp Thu Nov 30 08:35:33 2017 -0800
+++ b/src/hotspot/share/gc/g1/g1FullGCScope.hpp Thu Nov 30 13:40:07 2017 +0100
@@ -37,6 +37,8 @@
#include "memory/allocation.hpp"
#include "services/memoryService.hpp"
+class GCMemoryManager;
+
// Class used to group scoped objects used in the Full GC together.
class G1FullGCScope : public StackObj {
ResourceMark _rm;
@@ -54,7 +56,7 @@
G1HeapTransition _heap_transition;
public:
- G1FullGCScope(bool explicit_gc, bool clear_soft);
+ G1FullGCScope(GCMemoryManager* memory_manager, bool explicit_gc, bool clear_soft);
~G1FullGCScope();
bool is_explicit_gc();