RFR: 8280473: CI: Support unresolved JVM_CONSTANT_Dynamic constant pool entries
Eirik Bjorsnos
duke at openjdk.java.net
Thu Feb 10 17:03:11 UTC 2022
On Thu, 10 Feb 2022 11:37:18 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
> Properly support unresolved CONSTANT_Dynamic CP entries in C1/C2.
>
> Right now, both compilers bail out the compilation when they encounter a single unresolved dynamic constant. It forces users to do eager resolution which defeats the whole purpose of using dynamic constants.
>
> The patch is focused on C1 and enables code patching for dynamic constants, but there are minor C2-specific changes to avoid compilation bailouts there.
>
> Testing: hs-tier1 - hs-tier4
Not a review, but I've tested this and can confirm it resolves the bailout issue as reported in the mail thread linked to in JDK-8280473.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7423
More information about the hotspot-compiler-dev
mailing list