RFR: 8262060: compiler/whitebox/BlockingCompilation.java timed out [v2]
Evgeny Nikitin
enikitin at openjdk.java.net
Tue Mar 30 08:24:11 UTC 2021
On Fri, 26 Mar 2021 20:36:11 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
> Hi Evgeny,
>
> there is no reason for this test to depend on `Random` and hence be dependent on the hierarchy of its subclasses (which I assume is the reason the test fails). so I'd rather fix it by removing the dependency on `Random`, `BlockingCompilation::foo` can return a constant or do some convoluted math/logic computation "locally" if we are afraid that some optimizations can affect the test's behavior.
>
> Cheers,
> -- Igor
Hi Igor,
Valid point. I've removed the Random class' dependency now.
// Evgeny.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3224
More information about the hotspot-compiler-dev
mailing list