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:36:23 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.

I looked again at the Level2RecompilationTest and OSRFailureLevel4Test and it seems that I was wrong in these tests the checks in `main()` are different.

So, it only needs to remove the checks from TestTypeProfiling.

-------------

PR: https://git.openjdk.org/jdk/pull/12981


More information about the hotspot-compiler-dev mailing list