RFR: 8271203: C2: assert(iff->Opcode() == Op_If || iff->Opcode() == Op_CountedLoopEnd || iff->Opcode() == Op_RangeCheck) failed: Check this code when new subtype is added
Yi Yang
yyang at openjdk.java.net
Fri Aug 13 11:01:24 UTC 2021
On Fri, 30 Jul 2021 10:05:15 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/c2/UnswitchingLongCountedLoop.java line 30:
>>
>>> 28: * @summary C2: assert(iff->Opcode() == Op_If || iff->Opcode() == Op_CountedLoopEnd || iff->Opcode() == Op_RangeCheck) failed: Check this code when new subtype is added
>>> 29: * @library /test/lib
>>> 30: * @run main/othervm -Xbatch -XX:-TieredCompilation -XX:CompileOnly=UnswitchingLongCountedLoop compiler.c2.UnswitchingLongCountedLoop
>>
>> Isn't that CompileOnly statement missing the package name or a wildcard?
>
> And `@library /test/lib` is not needed.
Hi Tobias, I've removed `@library /test/lib`, also according to @chhagedorn 's analysis, I think `LongCountedLoopAsUnswitchIff` should be a better test name.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4920
More information about the hotspot-compiler-dev
mailing list