[jdk17u-dev] RFR: 8365919: Replace currentTimeMillis with nanoTime in Stresser.java
Rui Li
duke at openjdk.org
Tue Sep 30 01:35:43 UTC 2025
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.
-------------
Commit messages:
- Backport 0ca38bdc4d503158fda57bbc8bc9adc420628079
Changes: https://git.openjdk.org/jdk17u-dev/pull/4005/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4005&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365919
Stats: 25 lines in 1 file changed: 6 ins; 6 del; 13 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/4005.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4005/head:pull/4005
PR: https://git.openjdk.org/jdk17u-dev/pull/4005
More information about the jdk-updates-dev
mailing list