< prev index next >
test/sun/tools/jstatd/JstatGCUtilParser.java
Print this page
*** 27,42 ****
import static jdk.testlibrary.Asserts.*;
/**
* The helper class for parsing following output from command 'jstat -gcutil':
*
! * S0 S1 E O M CCS YGC YGCT FGC FGCT GCT
! * 100.00 0.00 64.68 13.17 73.39 33.46 2 0.003 1 0.156 0.158
! * 100.00 0.00 76.54 13.17 73.39 33.46 2 0.003 1 0.156 0.158
! * 100.00 0.00 83.49 13.17 73.39 33.46 2 0.003 1 0.156 0.158
! * 100.00 0.00 84.53 13.17 73.39 33.46 2 0.003 1 0.156 0.158
! * 100.00 0.00 85.57 13.17 73.39 33.46 2 0.003 1 0.156 0.158
*
* It will be verified that numerical values have defined types and are reasonable,
* for example percentage should fit within 0-100 interval.
*/
public class JstatGCUtilParser {
--- 27,42 ----
import static jdk.testlibrary.Asserts.*;
/**
* The helper class for parsing following output from command 'jstat -gcutil':
*
! * S0 S1 E O M CCS YGC YGCT FGC FGCT CGC CGCT GCT
! * 100.00 0.00 64.68 13.17 73.39 33.46 2 0.003 1 0.156 0 0.00 0.158
! * 100.00 0.00 76.54 13.17 73.39 33.46 2 0.003 1 0.156 0 0.00 0.158
! * 100.00 0.00 83.49 13.17 73.39 33.46 2 0.003 1 0.156 0 0.00 0.158
! * 100.00 0.00 84.53 13.17 73.39 33.46 2 0.003 1 0.156 0 0.00 0.158
! * 100.00 0.00 85.57 13.17 73.39 33.46 2 0.003 1 0.156 0 0.00 0.158
*
* It will be verified that numerical values have defined types and are reasonable,
* for example percentage should fit within 0-100 interval.
*/
public class JstatGCUtilParser {
*** 54,63 ****
--- 54,65 ----
CCS(GcStatisticsType.PERCENTAGE_OR_DASH),
YGC(GcStatisticsType.INTEGER),
YGCT(GcStatisticsType.DOUBLE),
FGC(GcStatisticsType.INTEGER),
FGCT(GcStatisticsType.DOUBLE),
+ CGC(GcStatisticsType.INTEGER),
+ CGCT(GcStatisticsType.DOUBLE),
GCT(GcStatisticsType.DOUBLE);
private final GcStatisticsType type;
private GcStatistics(GcStatisticsType type) {
< prev index next >