RFR: JDK-8272574: C2: assert(false) failed: Bad graph detected in build_loop_late [v9]

Vladimir Kozlov kvn at openjdk.java.net
Wed Sep 1 16:57:51 UTC 2021


On Wed, 1 Sep 2021 16:28:19 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> 王超 has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove un-necessary dot
>
> src/hotspot/share/opto/loopPredicate.cpp line 665:
> 
>> 663:     return false;
>> 664:   }
>> 665: #ifndef PRODUCT
> 
> Should be `#ifdef ASSERT` for debug build.

On other hand, consider do this check in PRODUCT too to bailout (return `false`).

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

PR: https://git.openjdk.java.net/jdk/pull/5142


More information about the hotspot-compiler-dev mailing list