RFR: 8280473: CI: Support unresolved JVM_CONSTANT_Dynamic constant pool entries

Vladimir Ivanov vlivanov at openjdk.java.net
Thu Feb 10 13:25:30 UTC 2022


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

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

Commit messages:
 - 8280473: CI: Support unresolved JVM_CONSTANT_Dynamic constant pool entries

Changes: https://git.openjdk.java.net/jdk/pull/7423/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7423&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8280473
  Stats: 476 lines in 12 files changed: 374 ins; 60 del; 42 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7423.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7423/head:pull/7423

PR: https://git.openjdk.java.net/jdk/pull/7423


More information about the hotspot-compiler-dev mailing list