< prev index next >
src/hotspot/share/gc/g1/g1FullGCScope.hpp
Print this page
rev 48000 : [mq]: open.patch
*** 35,44 ****
--- 35,46 ----
#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,62 ****
TraceCollectorStats _collector_stats;
TraceMemoryManagerStats _memory_stats;
G1HeapTransition _heap_transition;
public:
! G1FullGCScope(bool explicit_gc, bool clear_soft);
~G1FullGCScope();
bool is_explicit_gc();
bool should_clear_soft_refs();
--- 54,64 ----
TraceCollectorStats _collector_stats;
TraceMemoryManagerStats _memory_stats;
G1HeapTransition _heap_transition;
public:
! G1FullGCScope(GCMemoryManager* memory_manager, bool explicit_gc, bool clear_soft);
~G1FullGCScope();
bool is_explicit_gc();
bool should_clear_soft_refs();
< prev index next >