8330066: HeapDumpPath and HeapDumpGzipLevel VM options do not mention HeapDumpBeforeFullGC and HeapDumpAfterFullGC

Reviewed-by: cjplummer, dholmes, yyang
This commit is contained in:
Alex Menkov 2024-05-15 19:29:30 +00:00
parent 7cff04fc8a
commit 43b109b111

View File

@ -542,11 +542,11 @@ const int ObjectAlignmentInBytes = 8;
\ \
product(bool, HeapDumpBeforeFullGC, false, MANAGEABLE, \ product(bool, HeapDumpBeforeFullGC, false, MANAGEABLE, \
"Dump heap to file before any major stop-the-world GC " \ "Dump heap to file before any major stop-the-world GC " \
"(also see FullGCHeapDumpLimit)") \ "(also see FullGCHeapDumpLimit, HeapDumpPath, HeapDumpGzipLevel)")\
\ \
product(bool, HeapDumpAfterFullGC, false, MANAGEABLE, \ product(bool, HeapDumpAfterFullGC, false, MANAGEABLE, \
"Dump heap to file after any major stop-the-world GC " \ "Dump heap to file after any major stop-the-world GC " \
"(also see FullGCHeapDumpLimit)") \ "(also see FullGCHeapDumpLimit, HeapDumpPath, HeapDumpGzipLevel)")\
\ \
product(uint, FullGCHeapDumpLimit, 0, MANAGEABLE, \ product(uint, FullGCHeapDumpLimit, 0, MANAGEABLE, \
"Limit the number of heap dumps triggered by " \ "Limit the number of heap dumps triggered by " \
@ -555,15 +555,18 @@ const int ObjectAlignmentInBytes = 8;
\ \
product(bool, HeapDumpOnOutOfMemoryError, false, MANAGEABLE, \ product(bool, HeapDumpOnOutOfMemoryError, false, MANAGEABLE, \
"Dump heap to file when java.lang.OutOfMemoryError is thrown " \ "Dump heap to file when java.lang.OutOfMemoryError is thrown " \
"from JVM") \ "from JVM " \
"(also see HeapDumpPath, HeapDumpGzipLevel)") \
\ \
product(ccstr, HeapDumpPath, nullptr, MANAGEABLE, \ product(ccstr, HeapDumpPath, nullptr, MANAGEABLE, \
"When HeapDumpOnOutOfMemoryError is on, the path (filename or " \ "When HeapDumpOnOutOfMemoryError, HeapDumpBeforeFullGC " \
"or HeapDumpAfterFullGC is on, the path (filename or " \
"directory) of the dump file (defaults to java_pid<pid>.hprof " \ "directory) of the dump file (defaults to java_pid<pid>.hprof " \
"in the working directory)") \ "in the working directory)") \
\ \
product(int, HeapDumpGzipLevel, 0, MANAGEABLE, \ product(int, HeapDumpGzipLevel, 0, MANAGEABLE, \
"When HeapDumpOnOutOfMemoryError is on, the gzip compression " \ "When HeapDumpOnOutOfMemoryError, HeapDumpBeforeFullGC " \
"or HeapDumpAfterFullGC is on, the gzip compression " \
"level of the dump file. 0 (the default) disables gzip " \ "level of the dump file. 0 (the default) disables gzip " \
"compression. Otherwise the level must be between 1 and 9.") \ "compression. Otherwise the level must be between 1 and 9.") \
range(0, 9) \ range(0, 9) \