src/share/classes/sun/tools/jstat/resources/jstat_options

Print this page
rev 8019 : 8014659: NPG: performance counters for compressed klass space

@@ -206,10 +206,26 @@
     width 6
     scale K
     format "0.0"
   }
   column {
+    header "^CCSC^"     /* Compressed Class Space Capacity - Current */
+    data sun.gc.compressedclassspace.capacity
+    align center
+    width 6
+    scale K
+    format "0.0"
+  }
+  column {
+    header "^CCSU^"     /* Compressed Class Space Used */
+    data sun.gc.compressedclassspace.used
+    align center
+    width 6
+    scale K
+    format "0.0"
+  }
+  column {
     header "^YGC^"      /* Young Generation Collections */
     data sun.gc.collector.0.invocations
     align right
     width 6
     format "0"

@@ -352,10 +368,34 @@
     align right
     width 8
     format "0.0"
   }
   column {
+    header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
+    data sun.gc.compressedclassspace.minCapacity
+    scale K
+    align right
+    width 8
+    format "0.0"
+  }
+  column {
+    header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
+    data sun.gc.compressedclassspace.maxCapacity
+    scale K
+    align right
+    width 8
+    format "0.0"
+  }
+  column {
+    header "^CCSC^"     /* Compressed Class Space Capacity - Current */
+    data sun.gc.compressedclassspace.capacity
+    scale K
+    align right
+    width 8
+    format "0.0"
+  }
+  column {
     header "^YGC^"      /* Young Generation Collections */
     data sun.gc.collector.0.invocations
     align right
     width 6
     format "0"

@@ -410,10 +450,18 @@
     width 6
     scale raw
     format "0.00"
   }
   column {
+    header "^CCS^"      /* Compressed Class Space - Percent Used */
+    data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
+    align right
+    width 6
+    scale raw
+    format "0.00"
+  }
+  column {
     header "^YGC^"      /* Young Generation Collections */
     data sun.gc.collector.0.invocations
     align right
     width 6
     format "0"

@@ -660,10 +708,26 @@
     align right
     scale K
     format "0.0"
   }
   column {
+    header "^CCSC^"     /* Compressed Class Space Capacity - Current */
+    data sun.gc.compressedclassspace.capacity
+    width 8
+    align right
+    scale K
+    format "0.0"
+  }
+  column {
+    header "^CCSU^"     /* Compressed Class Space Used */
+    data sun.gc.compressedclassspace.used
+    width 8
+    align right
+    scale K
+    format "0.0"
+  }
+  column {
     header "^OC^"       /* Old Space Capacity - Current */
     data sun.gc.generation.1.space.0.capacity
     width 11
     align right
     scale K

@@ -800,10 +864,34 @@
     align right
     width 10
     format "0.0"
   }
   column {
+    header "^CCSMN^"    /* Compressed Class Space Capacity - Minimum */
+    data sun.gc.compressedclassspace.minCapacity
+    scale K
+    align right
+    width 10
+    format "0.0"
+  }
+  column {
+    header "^CCSMX^"    /* Compressed Class Space Capacity - Maximum */
+    data sun.gc.compressedclassspace.maxCapacity
+    scale K
+    align right
+    width 10
+    format "0.0"
+  }
+  column {
+    header "^CCSC^"     /* Compressed Class Space Capacity - Current */
+    data sun.gc.compressedclassspace.capacity
+    scale K
+    align right
+    width 10
+    format "0.0"
+  }
+  column {
     header "^YGC^"      /* Young Generation Collections */
     data sun.gc.collector.0.invocations
     align right
     width 5
     format "0"

@@ -873,10 +961,18 @@
     align right
     width 6
     scale raw
     format "0.00"
   }
+  column {
+    header "^CCS^"      /* Compressed Class Space Space - Percent Used */
+    data (1-((sun.gc.compressedclassspace.capacity - sun.gc.compressedclassspace.used)/sun.gc.compressedclassspace.capacity)) * 100
+    align right
+    width 6
+    scale raw
+    format "0.00"
+  }
   column {
     header "^YGC^"      /* Young Generation Collections */
     data sun.gc.collector.0.invocations
     align right
     width 6