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

David Holmes david.holmes at oracle.com
Thu Aug 27 05:03:35 UTC 2020


Hi Cesar,

Please take this to the serviceability-dev list for review.

Thanks,
David

On 23/08/2020 6:06 am, Cesar Soares Lucas wrote:
> 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