8176881: DerivedPointerTable Update log message in wrong order in regards to Redirty Cards
authortschatzl
Tue, 21 Mar 2017 11:21:11 +0100
changeset 46340 9c2be834d6e3
parent 46339 b80e814907b1
child 46341 4c676683bdb9
8176881: DerivedPointerTable Update log message in wrong order in regards to Redirty Cards Reviewed-by: sjohanss, jprovino
hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp
--- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp	Fri Mar 17 21:15:12 2017 -0700
+++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp	Tue Mar 21 11:21:11 2017 +0100
@@ -380,6 +380,7 @@
   debug_time("Code Roots Purge", _cur_strong_code_root_purge_time_ms);
 
   debug_time("Redirty Cards", _recorded_redirty_logged_cards_time_ms);
+  trace_phase(_gc_par_phases[RedirtyCards]);
 #if defined(COMPILER2) || INCLUDE_JVMCI
   debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms);
 #endif
@@ -387,8 +388,6 @@
     debug_time("Clear Claimed Marks", _recorded_clear_claimed_marks_time_ms);
   }
 
-  trace_phase(_gc_par_phases[RedirtyCards]);
-
   debug_time("Free Collection Set", _recorded_total_free_cset_time_ms);
   trace_time("Free Collection Set Serial", _recorded_serial_free_cset_time_ms);
   trace_phase(_gc_par_phases[YoungFreeCSet]);