On Mon, 27 Apr 2026 08:18:06 GMT, Roland Westrelin <[email protected]> wrote:

>> When doing late inlining, `GraphKit::access_load_at()` may be called
>> to populate an `InlineTypeNode`. When it executes, it, sometimes,
>> causes the `map` used by the `GraphKit` instance to change. When that
>> happens, `CallGenerator::do_late_inline_helper()` continues execution
>> with an outdated `map` which causes issues during parsing.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Roland Westrelin has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   review

test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestLateInliningIncorrectArgs.java
 line 28:

> 26:  * @enablePreview
> 27:  * @requires (os.simpleArch == "x64" | os.simpleArch == "aarch64")
> 28:  * @run main/othervm -XX:-BackgroundCompilation 
> -XX:+AlwaysIncrementalInline ${test.main.class}

`Error: VM option 'AlwaysIncrementalInline' is develop and is available only in 
debug version of VM.`

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2356#discussion_r3147533920

Reply via email to