< prev index next >
src/hotspot/share/gc/g1/g1FullGCScope.hpp
Print this page
rev 48000 : [mq]: open.patch
@@ -35,10 +35,12 @@
#include "gc/shared/isGCActiveMark.hpp"
#include "gc/shared/vmGCOperations.hpp"
#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;
bool _explicit_gc;
G1CollectedHeap* _g1h;
@@ -52,11 +54,11 @@
TraceCollectorStats _collector_stats;
TraceMemoryManagerStats _memory_stats;
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();
bool should_clear_soft_refs();
< prev index next >