--- old/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options 2018-02-06 13:59:05.692653866 +0900 +++ new/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options 2018-02-06 13:59:05.538651242 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -255,8 +255,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align center + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec @@ -408,6 +424,14 @@ scale raw format "0" } + column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } } option gccause { @@ -491,8 +515,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec @@ -690,6 +730,14 @@ scale raw format "0" } + column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } } option gcold { @@ -765,8 +813,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec @@ -831,8 +895,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec @@ -913,8 +993,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec @@ -1003,8 +1099,24 @@ format "0.000" } column { + header "^CGC^" /* Concurrent Collections (STW phase) */ + data sun.gc.collector.2.invocations + align right + width 5 + scale raw + format "0" + } + column { + header "^CGCT^" /* Concurrent Garbage Collection Time (STW phase) */ + data sun.gc.collector.2.time/sun.os.hrt.frequency + align right + width 8 + scale sec + format "0.000" + } + column { header "^GCT^" /* Total Garbage Collection Time */ - data (sun.gc.collector.0.time + sun.gc.collector.1.time)/sun.os.hrt.frequency + data (sun.gc.collector.0.time + sun.gc.collector.1.time + sun.gc.collector.2.time)/sun.os.hrt.frequency align right width 8 scale sec