diff src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 6752:9646b7ff4d14

7198130: G1: PrintReferenceGC output comes out of order Summary: Move the first part of the GC logging, including timestamp, to the start of the GC Reviewed-by: johnc, jwilhelm
author brutisso
date Mon, 17 Sep 2012 10:33:13 +0200
parents da91efe96a93
children b2ef234911c9
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Mon Sep 17 10:46:59 2012 -0400
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Mon Sep 17 10:33:13 2012 +0200
@@ -408,6 +408,9 @@
   void verify_before_gc();
   void verify_after_gc();
 
+  void log_gc_header();
+  void log_gc_footer(double pause_time_sec);
+
   // These are macros so that, if the assert fires, we get the correct
   // line number, file, etc.