[8u] RFR 8240295: hs_err elapsed time in seconds is not accurate enough

Kevin Walls kevin.walls at oracle.com
Wed Jul 1 09:33:06 UTC 2020


Hi Zhengyu,

In later JVM's there is more information printed on the same line, so 
there's the extra space.

In 8u, "elapsed.." is the start of the line, so you don't want to use 
the extra space.

Thanks
Kevin


On 29/06/2020 19:08, Zhengyu Gu wrote:
> I would like to backport this patch to 11u for parity with Oracle 8u271.
>
> The original patch does not apply cleanly.
>
> There is one conflict, where 8u (unpatched) misses leading space on 
> following message:
>
> st->print_cr(" elapsed time: %d seconds (%dd %dh %dm %ds)", eltime, 
> eldays, elhours, elmins, elsecs);
>
>
> Original bug: https://bugs.openjdk.java.net/browse/JDK-8240295
> Original patch: https://hg.openjdk.java.net/jdk/jdk/rev/8a14919d365d
>
> 8u webrev: http://cr.openjdk.java.net/~zgu/JDK-8243029-8u/webrev.00/
>
> Thanks,
>
> -Zhengyu
>


More information about the jdk8u-dev mailing list