On Mon, 1 Jun 2026 10:22:54 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).

This pull request has now been integrated.

Changeset: 69d84f34
Author:    Quan Anh Mai <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/69d84f340886e778407c62ce5e4dedb1211877d4
Stats:     7 lines in 4 files changed: 1 ins; 1 del; 5 mod

8382503: [lworld] compiler/c2/ReachabilityFenceFlagsTest.java fails post 
jdk-27+18 with preview enabled

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/valhalla/pull/2496

Reply via email to