8252101: Add description of expected behavior of using "live" and "all" options together for jmap

Update description

Reviewed-by: dcubed, sspitsyn, phh
This commit is contained in:
Lin Zang 2020-08-24 13:48:17 -07:00
parent 58a3e40a5c
commit 8ebe591a28

View File

@ -299,15 +299,15 @@ public class JMap {
System.err.println(" to print this help message");
System.err.println("");
System.err.println(" dump-options:");
System.err.println(" live dump only live objects");
System.err.println(" all dump all objects in the heap (default if one of \"live\" or \"all\" is not specified");
System.err.println(" live dump only live objects (takes precedence if both \"live\" and \"all\" are specified)");
System.err.println(" all dump all objects in the heap (default if one of \"live\" or \"all\" is not specified)");
System.err.println(" format=b binary format");
System.err.println(" file=<file> dump heap to <file>");
System.err.println("");
System.err.println(" Example: jmap -dump:live,format=b,file=heap.bin <pid>");
System.err.println("");
System.err.println(" histo-options:");
System.err.println(" live count only live objects");
System.err.println(" live count only live objects (takes precedence if both \"live\" and \"all\" are specified)");
System.err.println(" all count all objects in the heap (default if one of \"live\" or \"all\" is not specified)");
System.err.println(" file=<file> dump data to <file>");
System.err.println(" parallel=<number> parallel threads number for heap iteration:");