diff src/share/vm/runtime/globals.hpp @ 6064:9d679effd28c

7166894: Add gc cause to GC logging for all collectors Reviewed-by: mgerdin, johnc
author brutisso
date Tue, 15 May 2012 10:25:06 +0200
parents fc9d8850ab8b
children bbc900c2482a
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Tue May 15 22:26:37 2012 +0200
+++ b/src/share/vm/runtime/globals.hpp	Tue May 15 10:25:06 2012 +0200
@@ -3902,7 +3902,10 @@
           " of this flag is true for JDK 6 and earlier")                    \
                                                                             \
   diagnostic(bool, WhiteBoxAPI, false,                                      \
-          "Enable internal testing APIs")
+          "Enable internal testing APIs")                                   \
+                                                                            \
+  product(bool, PrintGCCause, true,                                         \
+          "Include GC cause in GC logging")
 
 /*
  *  Macros for factoring of globals