RFR: 8295407: C2 crash: Error: ShouldNotReachHere() in multiple vector tests with -XX:-MonomorphicArrayCheck -XX:-UncommonNullCast

Tobias Hartmann thartmann at openjdk.org
Mon Nov 14 06:07:30 UTC 2022


On Mon, 14 Nov 2022 01:37:29 GMT, Fei Gao <fgao at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/loopopts/TestUnsupportedConditionalMove.java line 28:
>> 
>>> 26:  * @bug 8295407
>>> 27:  * @summary C2 crash: Error: ShouldNotReachHere() in multiple vector tests with
>>> 28:  *          -XX:-MonomorphicArrayCheck -XX:-UncommonNullCast
>> 
>> `MonomorphicArrayCheck` and `UncommonNullCast` are debug flags, the test will fail with a release build.
>
> @TobiHartmann, thanks for your review! The options added here is commented as part of summary title, not as JVM options. I suppose it should be fine for a release build, right? :-)

Right, I missed that. Does the test reproduce the issue without these flags? In any case, I think a more descriptive summary would be good.

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

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


More information about the hotspot-compiler-dev mailing list