RFR: 8290892: C2: Intrinsify Reference.reachabilityFence [v22]
Emanuel Peter
epeter at openjdk.org
Tue Nov 11 10:23:39 UTC 2025
On Fri, 7 Nov 2025 19:59:18 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> And what if we find a lot of SafePoints for each RF? Do we end up attaching quadratically many referent edges over all?
>
> In the worst case the number of new edges added is `(# of unique referents) * (# of safepoints)`. Multiple reachability fences can share the same referent.
Right. I suppose that could explode in an extreme edge case, but maybe we don't worry about that for now. What do you think?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25315#discussion_r2513656148
More information about the hotspot-compiler-dev
mailing list