< prev index next >
src/share/vm/gc/g1/g1CollectedHeap.hpp
Print this page
rev 13331 : imported patch webrev.3b
rev 13332 : [mq]: webrev.4
@@ -296,11 +296,11 @@
// translation factor.
static G1RegionToSpaceMapper* create_aux_memory_mapper(const char* description,
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);
void process_weak_jni_handles();
@@ -368,10 +368,14 @@
// The young region list.
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;
G1CollectionSet _collection_set;
@@ -899,16 +903,10 @@
// lists (also checked as a precondition during initial marking).
// 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
// reference object does not need to be 'discovered' and can
// be treated as a regular oop. This has the benefit of reducing
@@ -1023,12 +1021,10 @@
// Reference Processing accessors
// 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...
ReferenceProcessor* ref_processor_cm() const { return _ref_processor_cm; }
< prev index next >