--- a/src/hotspot/share/gc/g1/g1FullGCScope.cpp Wed Aug 08 10:21:23 2018 +0800
+++ b/src/hotspot/share/gc/g1/g1FullGCScope.cpp Wed Aug 08 15:31:06 2018 +0200
@@ -36,8 +36,8 @@
_active(),
_cpu_time(),
_soft_refs(clear_soft, _g1h->soft_ref_policy()),
+ _collector_stats(_g1h->g1mm()->full_collection_counters()),
_memory_stats(memory_manager, _g1h->gc_cause()),
- _collector_stats(_g1h->g1mm()->full_collection_counters()),
_heap_transition(_g1h) {
_timer.register_gc_start();
_tracer.report_gc_start(_g1h->gc_cause(), _timer.gc_start());