Description
Sizes are represented in the output in KB to two decimal places. New column widths assuming a 2TB heap should be:
Old: 12 (2/3 of 2TB), was 10
New: 12 (1TB = half of 2TB), was 8
Eden: 12 (1TB = half of 2TB), was 8
Survivor: 11 (256GB = 1/4 of 1TB), was 6
Metaspace: 10 (32GB), was 6
Compressed Class Space: 9 (3GB), was 6
Young GC Count: 6 (1M), was 5 in some cases
Full GC Count: 5 (100K), was 5
Concurrent GC Count: 5 (100K), was 5
Times: 9 (28 hours), was 8 (3 hours)
Sizes should all be right justified rather than sometimes centered, sometimes right justified.
Current jstat tests in test/jdk/sun/tools/jstat use only the default collector, which has been G1 for a long time. When using other collectors, the concurrent cycle column entries are '-' rather than a number. The tests should run the Parallel collector explicitly in addition to the default collector.
Attachments
Issue Links
- relates to
-
JDK-8268485 first jstat command in sun/tools/jstat/jstatLineCounts1.sh is failing
- Open
-
JDK-8279005 sun/tools/jstat tests do not check for test case exit codes after JDK-8245129
- Open
-
JDK-8268484 2nd jstat cmd added to sun/tools/jstat/jstatLineCounts1.sh causes first jstat cmd to no longer be validated
- Resolved
-
JDK-8268211 sun/tools/jstat/jstatLineCountsX.sh tests fail on OCI Linux-aarch64
- Open
-
JDK-8248691 jstat displays "0" or "-" for metaspace values
- Open
-
JDK-8250821 [TESTBUG] Failing jstat output tests jstatLineCounts1-4.sh
- Resolved