RFR: 8299226: compiler/profiling/TestTypeProfiling.java: make it not throw if C2 is not enabled.
Vladimir Kozlov
kvn at openjdk.org
Fri Mar 10 22:49:35 UTC 2023
On Fri, 10 Mar 2023 22:33:19 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.
@ikorennoy, I added comment with question to Evgeny about how he hit the issue so we can reproduce it.
These tests can't be run without JTREG which filter them. Based on his answer we either close bug as not issue or try to find why filtering does not work in his configuration.
If you want to look to do clean to remove unneeded checks and simplify `@requires` I would suggest to file a separate RFE.
-------------
PR: https://git.openjdk.org/jdk/pull/12981
More information about the hotspot-compiler-dev
mailing list