RFR: 8294236: [IR Framework] CPU preconditions are overriden by regular preconditions [v2]

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Mon Sep 26 07:43:13 UTC 2022


On Mon, 26 Sep 2022 06:41:46 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Roberto Castañeda Lozano has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Describe behavior in README.md
>>  - Use whitespaces consistently
>>  - Require C2
>
> test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestPreconditions.java line 38:
> 
>> 36: 
>> 37:     public static void main(String[] args) {
>> 38:         TestFramework.runWithFlags("-XX:LoopMaxUnroll=8");
> 
> Since `LoopMaxUnroll` is a C2 only flag, you should add `@requires vm.compiler2.enabled`.

Thanks, done!

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

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


More information about the hotspot-compiler-dev mailing list