Integrated: 8262060: compiler/whitebox/BlockingCompilation.java timed out
Evgeny Nikitin
enikitin at openjdk.java.net
Fri Apr 16 14:36:38 UTC 2021
On Fri, 26 Mar 2021 20:22:14 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 694e1cdc
Author: Evgeny Nikitin <enikitin at openjdk.org>
Committer: Igor Ignatyev <iignatyev at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/694e1cdc
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
8262060: compiler/whitebox/BlockingCompilation.java timed out
Reviewed-by: iignatyev
-------------
PR: https://git.openjdk.java.net/jdk/pull/3224
More information about the hotspot-compiler-dev
mailing list