[jdk21u-dev] RFR: 8365919: Replace currentTimeMillis with nanoTime in Stresser.java

duke duke at openjdk.org
Thu Oct 2 18:50:21 UTC 2025


On Tue, 30 Sep 2025 01:24:02 GMT, Rui Li <duke at openjdk.org> wrote:

> A clean backport for JDK-8365919.
> 
> Stress tests need monotonic time. Replace `System.currentTimeMillis` with `System.nanoTime`. Tests are running. Backport this for the parity with oracle.

@rgithubli 
Your change (at version f6a0fac9430d34bf0213f403c67c536400f895af) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2284#issuecomment-3362521853


More information about the jdk-updates-dev mailing list