7090324: gclog rotation via external tool

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
This commit is contained in:
Yasumasa Suenaga 2014-03-28 21:04:37 -07:00 committed by Yumin Qi
parent 0b0fdb97ce
commit 57d7e49ab1
9 changed files with 159 additions and 22 deletions

View file

@ -2423,9 +2423,9 @@ class CommandLineFlags {
"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 */ \
\