RFR: 8223697: jfr tool can't format duration values greater than 1 minute

Erik Gahlin erik.gahlin at oracle.com
Fri Sep 27 09:28:37 UTC 2019


Hi Chihiro,

The bug seems to be that:

double s = d.toNanosPart() / 1000_000_000.0 + d.toSecondsPart();

should be:

double s = d.toNanosPart() / 1000_000_000.0 + d.toSeconds();

The other changes is not strictly necessary. Is that correct?

Thanks
Erik

> Hi,
>
> Can anyone review this?
>
> JBS https://bugs.openjdk.java.net/browse/JDK-8223697
> webrev http://cr.openjdk.java.net/~cito/JDK-8223697/webrev.00/
>
> Regards,
> Chihiro
>
>
> 2019年9月14日(土) 0:06 Chihiro Ito <chiroito107 at gmail.com>:
>
>> Hi,
>>
>> Could you review this tiny change, please?
>>
>> http://cr.openjdk.java.net/~cito/JDK-8223697/webrev.00/
>>
>> Regards,
>> Chihiro
>>



More information about the hotspot-jfr-dev mailing list