[jdk26u] Integrated: 8370502: C2: segfault while adding node to IGVN worklist

Ozan Çetin duke at openjdk.org
Thu Feb 26 13:31:55 UTC 2026


On Wed, 25 Feb 2026 11:44:54 GMT, Ozan Çetin <duke at openjdk.org> wrote:

> Backporting JDK-8370502: C2: segfault while adding node to IGVN worklist.
> 
> This PR backports a fix for a C2 segmentation fault that occurs when expanding an UnlockNode with a null memory projection. The fix adds a necessary null check to ensure fallthrough_memproj is valid before attempting to replace it in the IGVN worklist.
> 
> make run-test TEST=tier1
> make run-test TEST=hotspot_compiler
> make run-test TEST=test/hotspot/jtreg/compiler/c2/TestUnlockNodeNullMemprof.java

This pull request has now been integrated.

Changeset: 979afed6
Author:    Ozan Cetin <ozanctn at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk26u/commit/979afed6a75eeec7cda9c91e5b79fc9708452263
Stats:     68 lines in 2 files changed: 56 ins; 5 del; 7 mod

8370502: C2: segfault while adding node to IGVN worklist

Backport-of: 7c6c34e150cf01cec5d166f6cbb8a649c75b0627

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

PR: https://git.openjdk.org/jdk26u/pull/75


More information about the jdk-updates-dev mailing list