RFR: 8262060: compiler/whitebox/BlockingCompilation.java timed out [v2]
iignatyev at openjdk.java.net
Wed Apr 14 17:26:38 UTC 2021
On Tue, 30 Mar 2021 08:24:09 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.
> Evgeny Nikitin has updated the pull request incrementally with one additional commit since the last revision:
> Get rid of dependency on the Random class
Marked as reviewed by iignatyev (Reviewer).
More information about the hotspot-compiler-dev