RFR: 8295414: [Aarch64] C2: assert(false) failed: bad AD file [v2]

Christian Hagedorn chagedorn at openjdk.org
Wed Oct 19 08:34:20 UTC 2022


On Wed, 19 Oct 2022 07:30:36 GMT, Dean Long <dlong at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/types/TestSubTypeCheckMacroTrichotomy.java line 33:
>> 
>>> 31:  *
>>> 32:  * @run main/othervm -XX:-BackgroundCompilation TestSubTypeCheckMacroTrichotomy
>>> 33:  * @run main/othervm -XX:-BackgroundCompilation -XX:+StressReflectiveCode -XX:+ExpandSubTypeCheckAtParseTime
>> 
>> You should additionally add `-XX:+UnlockDiagnosticVMOptions` since `ExpandSubTypeCheckAtParseTime` is a diagnostic VM flag.
>
> Thanks for catching that.  Unfortunately, it also requires a debug build, but if I add @requires vm.debug, then the tests won't run with release builds.  I went with the next best option: -XX:+IgnoreUnrecognizedVMOptions.

Yes, you're right. I agree that this is the best solution in that case.

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

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


More information about the hotspot-compiler-dev mailing list