RFR: 8318826: C2: "Bad graph detected in build_loop_late" with incremental inlining [v2]

Roland Westrelin roland at openjdk.org
Tue Nov 14 12:15:54 UTC 2023


On Mon, 13 Nov 2023 19:30:42 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/inlining/TestNullAtCallAfterLateInline.java line 29:
>> 
>>> 27:  * @summary C2: "Bad graph detected in build_loop_late" with incremental inlining
>>> 28:  * @requires vm.compiler2.enabled
>>> 29:  * @run main/othervm -XX:+AlwaysIncrementalInline -XX:-BackgroundCompilation TestNullAtCallAfterLateInline
>> 
>> `AlwaysIncrementalInline` is a debug option.
>
> May be we should make it diagnostic and add it to stress testing flags.
> Or, as Tobias pointed, `@requires` for debug VM is needed here.

Thanks for looking at this. I added `-XX:+IgnoreUnrecognizedVMOptions` so the test case is run in any case.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16581#discussion_r1392494438


More information about the hotspot-compiler-dev mailing list