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). ------------- Commit messages: - Fix ReachabilityFlagsTest Changes: https://git.openjdk.org/valhalla/pull/2496/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2496&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382503 Stats: 8 lines in 3 files changed: 4 ins; 1 del; 3 mod Patch: https://git.openjdk.org/valhalla/pull/2496.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2496/head:pull/2496 PR: https://git.openjdk.org/valhalla/pull/2496
