--- old/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-08-03 16:11:04.229643235 -0700 +++ new/src/share/vm/gc/g1/g1CollectedHeap.hpp 2017-08-03 16:11:04.097643240 -0700 @@ -298,7 +298,7 @@ size_t size, size_t translation_factor); - static G1Policy* create_g1_policy(); + static G1Policy* create_g1_policy(STWGCTimer* gc_timer); void trace_heap(GCWhen::Type when, const GCTracer* tracer); @@ -370,6 +370,10 @@ G1EdenRegions _eden; G1SurvivorRegions _survivor; + STWGCTimer* _gc_timer_stw; + + G1NewTracer* _gc_tracer_stw; + // The current policy object for the collector. G1Policy* _g1_policy; G1HeapSizingPolicy* _heap_sizing_policy; @@ -901,12 +905,6 @@ // The (stw) reference processor... ReferenceProcessor* _ref_processor_stw; - ReferenceProcessorPhaseTimes* _ref_phase_times; - - STWGCTimer* _gc_timer_stw; - - G1NewTracer* _gc_tracer_stw; - // During reference object discovery, the _is_alive_non_header // closure (if non-null) is applied to the referent object to // determine whether the referent is live. If so then the @@ -1025,8 +1023,6 @@ // The STW reference processor.... ReferenceProcessor* ref_processor_stw() const { return _ref_processor_stw; } - ReferenceProcessorPhaseTimes* ref_phase_times() const { return _ref_phase_times; } - G1NewTracer* gc_tracer_stw() const { return _gc_tracer_stw; } // The Concurrent Marking reference processor...