--- a/src/hotspot/share/gc/g1/g1FullGCScope.hpp Mon Oct 30 08:34:54 2017 +0100
+++ b/src/hotspot/share/gc/g1/g1FullGCScope.hpp Tue Nov 14 11:33:23 2017 +0100
@@ -45,7 +45,7 @@
GCIdMark _gc_id;
SvcGCMarker _svc_marker;
STWGCTimer _timer;
- SerialOldTracer _tracer;
+ G1FullGCTracer _tracer;
IsGCActiveMark _active;
GCTraceCPUTime _cpu_time;
ClearedAllSoftRefs _soft_refs;
@@ -53,11 +53,7 @@
TraceMemoryManagerStats _memory_stats;
G1HeapTransition _heap_transition;
- // Singleton instance.
- static G1FullGCScope* _instance;
public:
- static G1FullGCScope* instance();
-
G1FullGCScope(bool explicit_gc, bool clear_soft);
~G1FullGCScope();
@@ -65,7 +61,7 @@
bool should_clear_soft_refs();
STWGCTimer* timer();
- SerialOldTracer* tracer();
+ G1FullGCTracer* tracer();
G1HeapTransition* heap_transition();
};