RFR: 8290892: C2: Intrinsify Reference.reachabilityFence [v19]
Vladimir Ivanov
vlivanov at openjdk.org
Mon Nov 3 22:34:52 UTC 2025
On Thu, 30 Oct 2025 15:15:05 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix merge
>
> src/hotspot/share/opto/loopnode.cpp line 5119:
>
>> 5117: if (stop_early) {
>> 5118: assert(do_expensive_nodes || do_optimize_reachability_fences, "why are we here?");
>> 5119: if (do_optimize_reachability_fences && optimize_reachability_fences()) {
>
> Can you explain why you call `optimize_reachability_fences` here and also below?
The intention is to optimize RF nodes irrespective of whether loop optimizations are performed or not. (It mimics similar logic for expensive nodes.)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25315#discussion_r2488049270
More information about the hotspot-compiler-dev
mailing list