RFR: 8262060: compiler/whitebox/BlockingCompilation.java timed out
Evgeny Nikitin
enikitin at openjdk.java.net
Fri Mar 26 20:28:32 UTC 2021
Please review this small fix for a test.
Test fails sometimes when run with UsageTracker enabled. For some reason, a loading of ThreadLocalRandom can happen during the test run, and this invalidates Random.nextInt method (because it's not the only implementation now).
Fixed by pre-loading ThreadLocalRandom. Tested by multiple runs with UsageTracker enabled - approx. 1 out of 20-30 test runs fails without the fix and no failures spotted with the fix.
-------------
Commit messages:
- 8262060: compiler/whitebox/BlockingCompilation.java timed out
Changes: https://git.openjdk.java.net/jdk/pull/3224/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3224&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8262060
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/3224.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3224/head:pull/3224
PR: https://git.openjdk.java.net/jdk/pull/3224
More information about the hotspot-compiler-dev
mailing list