diff src/share/vm/runtime/globals.hpp @ 17827:f42c10a3d4b1

7090324: gclog rotation via external tool Summary: GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting. Reviewed-by: sla, minqi, ehelin Contributed-by: suenaga.yasumasa@lab.ntt.co.jp
author minqi
date Mon, 31 Mar 2014 13:09:35 -0700
parents 248ff38d2950
children 2b8a9740813e
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Fri Mar 28 15:29:23 2014 -0700
+++ b/src/share/vm/runtime/globals.hpp	Mon Mar 31 13:09:35 2014 -0700
@@ -2422,9 +2422,9 @@
           "Number of gclog files in rotation "                              \
           "(default: 0, no rotation)")                                      \
                                                                             \
-  product(uintx, GCLogFileSize, 0,                                          \
-          "GC log file size (default: 0 bytes, no rotation). "              \
-          "It requires UseGCLogFileRotation")                               \
+  product(uintx, GCLogFileSize, 8*K,                                        \
+          "GC log file size, requires UseGCLogFileRotation. "               \
+          "Set to 0 to only trigger rotation via jcmd")                     \
                                                                             \
   /* JVMTI heap profiling */                                                \
                                                                             \