RFR: 8311639: Replace currentTimeMillis() with nanoTime() in jtreg/gc

Leo Korinth lkorinth at openjdk.org
Fri Aug 18 09:23:29 UTC 2023


On Fri, 18 Aug 2023 08:57:08 GMT, Leo Korinth <lkorinth at openjdk.org> wrote:

>> test/hotspot/jtreg/gc/stress/systemgc/TestSystemGC.java line 195:
>> 
>>> 193:         }
>>> 194:         long timeoutNanos = Integer.parseInt(args[0]) * 1_000_000_000L;
>>> 195:         System.out.println("Running with timeout of " + timeoutNanos + "ns");
>> 
>> The precision here is in seconds. Maybe just leave this print out to be in ms?
>
> Okay.

I will change it to seconds.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15331#discussion_r1298221614


More information about the hotspot-gc-dev mailing list