RFR: 8290892: C2: Intrinsify Reference.reachabilityFence [v22]
Emanuel Peter
epeter at openjdk.org
Tue Nov 11 10:05:19 UTC 2025
On Fri, 7 Nov 2025 23:15:51 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> We call this many times, so not sure if this could explode somehow?
>
> It's hard to place a nested ResourceMark because there are dynamically reallocated data structures with different life cycles. Instead, I moved temporary data structure allocations up in the call chain and made them shared across all RF nodes.
Yeah, neither is very nice. But that sounds reasonable :)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25315#discussion_r2513593891
More information about the hotspot-compiler-dev
mailing list