Integrated: 8371628: C2: add a test case for the arraycopy changes in JDK-8297933

Daniel Skantz dskantz at openjdk.org
Fri Nov 14 07:11:30 UTC 2025


On Wed, 12 Nov 2025 15:58:00 GMT, Daniel Skantz <dskantz at openjdk.org> wrote:

> This PR adds a test for the arraycopy bug that caused a crash in `ArrayCopyNode::prepare_array_copy` and was fixed in JDK-8297933. A crash with this signature was previously reported on `compiler/c1/TestArrayCopy.java` but this test does not reproduce the issue (at least not reliably).
> 
> Testing: T1-3. Extra testing: the added test reliably fails if the arraycopy changes from JDK-8297933 are backed out.

This pull request has now been integrated.

Changeset: 1baf5164
Author:    Daniel Skantz <dskantz at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1baf5164d6a9077e0c440b7b78be6424a052f8a9
Stats:     14 lines in 1 file changed: 13 ins; 0 del; 1 mod

8371628: C2: add a test case for the arraycopy changes in JDK-8297933

Reviewed-by: rcastanedalo, shade

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

PR: https://git.openjdk.org/jdk/pull/28269


More information about the hotspot-compiler-dev mailing list