RFR: 8261270: MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel={1, 2, 3}
Vladimir Kozlov
kvn at openjdk.java.net
Sat Feb 6 04:01:41 UTC 2021
On Sat, 6 Feb 2021 01:34:15 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
> JDK-8251462 changed semantics of CompilationPolicy::highest_compile_level() and CompilationPolicy::can_be_compiled() to take into the account compiler availability due to command line flags restrictions. For example, if C2 is not available because of the TieredStopAtLevel setting, the answer to these queries will be that the highest level is 3, and that methods can't be compiled at level 4.
>
> MakeMethodNotCompilableTest.java assumes (even in the presence of the mentioned restrictions) that with tiered compilation it is always the case that both compilers can be used.
>
> This change fixes the test to take this into account.
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2443
More information about the hotspot-compiler-dev
mailing list