[jdk25u] Integrated: 8361211: C2: Final graph reshaping generates unencodeable klass constants

Aleksey Shipilev shade at openjdk.org
Wed Aug 27 05:02:43 UTC 2025


On Mon, 25 Aug 2025 10:24:29 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Fixes another corner case with abstract/interface class encoding in C2. We would be disabling this optimization in JDK 25 eventually. The consensus so far that the this fix stands on its own, and gives us an additional safety now.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `all`
>  - [x] Linux AArch64 server fastdebug, `all`

This pull request has now been integrated.

Changeset: 7fe11cf1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk25u/commit/7fe11cf1e90b0095d8f8effe3a4ef1792a2044f4
Stats:     11 lines in 1 file changed: 9 ins; 0 del; 2 mod

8361211: C2: Final graph reshaping generates unencodeable klass constants

Backport-of: e304d37996b075b8b2b44b5762d7d242169add49

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

PR: https://git.openjdk.org/jdk25u/pull/128


More information about the jdk-updates-dev mailing list