< prev index next >
src/share/vm/gc/g1/g1FullGCScope.cpp
Print this page
rev 13070 : imported patch 8177544-full-gc-scope
rev 13071 : [mq]: 8177544-full-gc-scope-tschatzl-rev1
*** 42,52 ****
_tracer(),
_active(),
_cpu_time(),
_soft_refs(clear_soft, _g1h->collector_policy()),
_memory_stats(true, _g1h->gc_cause()),
! _collector_stats(_g1h->g1mm()->full_collection_counters()) {
assert(_instance == NULL, "Only one scope at a time");
_timer.register_gc_start();
_tracer.report_gc_start(_g1h->gc_cause(), _timer.gc_start());
_g1h->pre_full_gc_dump(&_timer);
_g1h->trace_heap_before_gc(&_tracer);
--- 42,53 ----
_tracer(),
_active(),
_cpu_time(),
_soft_refs(clear_soft, _g1h->collector_policy()),
_memory_stats(true, _g1h->gc_cause()),
! _collector_stats(_g1h->g1mm()->full_collection_counters()),
! _heap_transition(_g1h) {
assert(_instance == NULL, "Only one scope at a time");
_timer.register_gc_start();
_tracer.report_gc_start(_g1h->gc_cause(), _timer.gc_start());
_g1h->pre_full_gc_dump(&_timer);
_g1h->trace_heap_before_gc(&_tracer);
*** 79,83 ****
--- 80,88 ----
}
SerialOldTracer* G1FullGCScope::tracer() {
return &_tracer;
}
+
+ G1HeapTransition* G1FullGCScope::heap_transition() {
+ return &_heap_transition;
+ }
< prev index next >