On Wed, 3 Jun 2026 06:55:49 GMT, Quan Anh Mai <[email protected]> wrote:

>> Hi,
>> 
>> When `StressReachabilityFences` is `true`, the compiler tries to insert a 
>> reachability fence for all incoming states of the compilation. This misses 
>> the fact that an incoming `InlineTypeNode` may be unbuffered, so this PR 
>> fixes that by not inserting reachability fences for incoming 
>> `InlineTypeNode`s. In addition, when `reachabilityFence` is called on an 
>> `InlineTypeNode`, we need to buffer it.
>> 
>> Please take a look and leave your reviews, thanks a lot.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Quan Anh Mai has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Remove reachabilityFence change

Since there are still uncertainties in how `reachabiltyFence` should work with 
value objects, I have removed the change in `library_call.cpp`.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2496#issuecomment-4609879387

Reply via email to