RFR: 8361211: C2: Final graph reshaping generates unencodeable klass constants

Aleksey Shipilev shade at openjdk.org
Tue Aug 5 10:28:06 UTC 2025


On Mon, 4 Aug 2025 22:37:45 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> I just discussed this with @coleenp and as I understand the plan is to revert [JDK-8338526](https://bugs.openjdk.org/browse/JDK-8338526) in JDK 26 (and probably backport to JDK 25u). Therefore, I'd say this should be closed.

Yes, I think that is the plan. However, I believe it sane and prudent to fix final graph reshaping as well with this PR, as it would fix the path that we _know_ is broken with abstract/interface classes optimizations turned on. We can skip backporting this fix to 25u, if we end up disabling the optimization altogether.

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

PR Comment: https://git.openjdk.org/jdk/pull/26559#issuecomment-3154609310


More information about the hotspot-compiler-dev mailing list