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

Dean Long dlong at openjdk.org
Wed Oct 19 07:36:03 UTC 2022


On Wed, 19 Oct 2022 06:22:52 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   allow test to run with release builds
>
> 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.

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

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


More information about the hotspot-compiler-dev mailing list