8153065: "Preserve CM refs" log message disconnected from "Parallel Preserve CM refs"
authortschatzl
Thu, 31 Mar 2016 12:00:08 +0200
changeset 37209 c2920cd096aa
parent 37208 aaf76eb8cfd4
child 37211 7d1ff3cd84e9
8153065: "Preserve CM refs" log message disconnected from "Parallel Preserve CM refs" Summary: Bring the log messages into the correct order again. Reviewed-by: mgerdin
hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp
--- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp	Wed Mar 30 14:44:27 2016 -0500
+++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp	Thu Mar 31 12:00:08 2016 +0200
@@ -277,11 +277,11 @@
   }
   debug_line("Choose CSet", (_recorded_young_cset_choice_time_ms + _recorded_non_young_cset_choice_time_ms));
   debug_line("Preserve CM Refs", _recorded_preserve_cm_referents_time_ms);
+  trace_phase(_gc_par_phases[PreserveCMReferents]);
   debug_line("Reference Processing", _cur_ref_proc_time_ms);
   debug_line("Reference Enqueuing", _cur_ref_enq_time_ms);
   debug_line("Redirty Cards", _recorded_redirty_logged_cards_time_ms);
   trace_phase(_gc_par_phases[RedirtyCards]);
-  trace_phase(_gc_par_phases[PreserveCMReferents]);
   if (G1EagerReclaimHumongousObjects) {
     debug_line("Humongous Register", _cur_fast_reclaim_humongous_register_time_ms);
     trace_line_sz("Humongous Total", _cur_fast_reclaim_humongous_total);