RFR: 8343607: C2: Shenandoah crashes during barrier expansion in Continuation::enter
Aleksey Shipilev
shade at openjdk.org
Tue Dec 10 14:49:42 UTC 2024
On Tue, 10 Dec 2024 14:40:44 GMT, Roland Westrelin <roland at openjdk.org> wrote:
> If a load barrier is used both in the fallthrough and exception
> handling paths out of a call, it needs to be cloned so each path has
> its copy of the barrier. In the case of the crash, cloning the barrier
> is attempted for a runtime call that doesn't have an exception
> handling path. Fix simply detects that corner case.
This looks reasonable to me. @JohnTortugo should take a look too.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22663#pullrequestreview-2492569866
More information about the hotspot-compiler-dev
mailing list