RFR: 8343607: C2: Shenandoah crashes during barrier expansion in Continuation::enter

Roland Westrelin roland at openjdk.org
Wed Dec 11 13:50:41 UTC 2024


On Tue, 10 Dec 2024 14:47:23 GMT, Aleksey Shipilev <shade 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.

@shipilev @JohnTortugo thanks for the reviews

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22663#issuecomment-2536037629


More information about the hotspot-compiler-dev mailing list