Integrated: 8261270: MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel={1, 2, 3}
Igor Veresov
iveresov at openjdk.java.net
Sun Feb 7 02:27:43 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.
This pull request has now been integrated.
Changeset: 0e18634b
Author: Igor Veresov <iveresov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0e18634b
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8261270: MakeMethodNotCompilableTest fails with -XX:TieredStopAtLevel={1,2,3}
Reviewed-by: kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/2443
More information about the hotspot-compiler-dev
mailing list