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

Cesar Soares Lucas Divino.Cesar at microsoft.com
Thu Aug 27 05:13:46 UTC 2020


I'll do that. Thanks David.
________________________________
From: David Holmes <david.holmes at oracle.com>
Sent: August 26, 2020 10:03 PM
To: Cesar Soares Lucas <Divino.Cesar at microsoft.com>; hotspot-dev developers <hotspot-dev at openjdk.java.net>
Subject: Re: RFR(XS): 8011969 - scale for the "Time" column in -class in jstat_options should be seconds

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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8011969&data=02%7C01%7CDivino.Cesar%40microsoft.com%7C655db23e3a0040ba016008d84a46930b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637341014257318092&sdata=Hq8%2BuaC7ryNFyecKUoybEBygkIEPvN9u%2BcKX1Ol0N4s%3D&reserved=0
>
>
> 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