RFR: 8303627: compiler/loopopts/TestUnreachableInnerLoop.java failed with -XX:LoopMaxUnroll=4

Pengfei Li pli at openjdk.org
Tue Mar 7 01:44:13 UTC 2023


On Mon, 6 Mar 2023 02:42:21 GMT, SUN Guoyun <duke at openjdk.org> wrote:

> This test failed with VM_OPTIONS=-XX:LoopMaxUnroll=4 and CONF=fastdebug on X86_64, AArch64 LoongArch64 architecture.
> 
> <pre><code class="shell">
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/home/sunguoyun/jdk-ls/src/hotspot/share/opto/block.cpp:1359), pid=31328, tid=31344
> # assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
> #
> </code></pre>
> This PR fix the issue, Please help review it.
> 
> Thanks.

[_Not a review_] I think this issue is duplicated to JDK-8291025. @eme64 has some detailed analysis about this. Please see his comments at https://bugs.openjdk.org/browse/JDK-8291025

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

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


More information about the hotspot-compiler-dev mailing list