RFR: 8354282: C2: more crashes in compiled code because of dependency on removed range check CastIIs

Emanuel Peter epeter at openjdk.org
Mon Dec 8 15:50:55 UTC 2025


On Mon, 8 Dec 2025 14:49:41 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> If a `CastII` that does not narrow its input has its type being a constant, do you think GVN should transform it into a constant, or such nodes should return the bottom type so that it is not folded into a floating `ConNode`?
>
> @merykitty @eme64 @chhagedorn thanks for the reviews
> Does testing need to be run on this before I integrate?

@rwestrel I'll run some testing now ...

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

PR Comment: https://git.openjdk.org/jdk/pull/24575#issuecomment-3627616227


More information about the shenandoah-dev mailing list