RFR: 8299226: compiler/profiling/TestTypeProfiling.java: make it not throw if C2 is not enabled.
Ilya Korennoy
duke at openjdk.org
Fri Mar 10 22:08:46 UTC 2023
On Fri, 10 Mar 2023 19:31:45 GMT, Ilya Korennoy <duke at openjdk.org> wrote:
> Changing RuntimeException to SkippedException when TieredStopAtLevel < 4.
>
> The main part of this problem was done in [JDK-8226795](https://bugs.openjdk.org/browse/JDK-8226795) but for some reason, the exception was not changed.
Yes, I tried to reproduce the issue, it didn't reproduce for me either.
Initially, I thought about removing these checks, but then I decided that there would be less diff and the code would be the same as in other tests that use similar checks.
I am not familiar with OpenJDK development processes, but if it's possible within this PR, I can remove the checks code from this test and from other similar tests: Level2RecompilationTest.java OSRFailureLevel4Test.java.
-------------
PR: https://git.openjdk.org/jdk/pull/12981
More information about the hotspot-compiler-dev
mailing list