RFR: 8314191: C2 compilation fails with "bad AD file" [v2]

Quan Anh Mai qamai at openjdk.org
Mon Sep 4 12:35:42 UTC 2023


On Mon, 4 Sep 2023 06:02:57 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/MinValueStrideCountedLoop.java line 30:
>> 
>>> 28:  * @summary Loop increment should not be transformed into unsigned comparison
>>> 29:  *
>>> 30:  * @run main/othervm -Xcomp -XX:+TraceLoopOpts -XX:-TieredCompilation
>> 
>> `TraceLoopOpts` is a C2-only debug flag, the test needs a `@requires vm.debug & vm.compiler2.enabled`
>
> Is `TraceLoopOpts` really required for the test?

Thanks a lot for your reviews. I think `TraceLoopOpts` is not really needed so I remove it, as a result we do not need `requires` clauses, too.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15551#discussion_r1314888485


More information about the hotspot-compiler-dev mailing list