RFR(XS): 8011969 - scale for the "Time" column in -class in jstat_options should be seconds

Cesar Soares Lucas Divino.Cesar at microsoft.com
Sat Aug 22 20:06:49 UTC 2020


Hi there,

could you please review the trivial patch below for this bug: https://bugs.openjdk.java.net/browse/JDK-8011969


Thanks,
Cesar

------------


diff a/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options b/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options
--- a/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options
+++ b/src/jdk.jcmd/share/classes/sun/tools/jstat/resources/jstat_options
@@ -68,11 +68,11 @@
     format "0.0"
   }
   column {
     header "^Time^"    /* Accumulated time for class loading */
     data sun.cls.time/sun.os.hrt.frequency
-    scale raw
+    scale sec
     align right
     width 10
     format "0.00"
   }
 }




More information about the hotspot-dev mailing list