RFR: 8265480: add basic JVMCI support for JEP 309: Dynamic Class-File Constants

Doug Simon dnsimon at openjdk.java.net
Wed Apr 21 10:18:07 UTC 2021


This PR adds support to JVMCI for CONSTANT_Dynamic constant pool entries. It brings the JVMCI support on par with the support in CI for C1 and C2 with one difference: JVMCI will resolve unresolved condy entries where as CI bails out in this case (it expects condy entries to be resolved by the interpreter).

When using JVMCI for JIT compilation, unresolved entries should only be seen when running under -Xcomp.

When using JVMCI for AoT (e.g. Native Image), most entries will be unresolved since no other code apart from the AoT compiler is running.

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

Commit messages:
 - add basic JVMCI support for JEP 309: Dynamic Class-File Constants

Changes: https://git.openjdk.java.net/jdk/pull/3578/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3578&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265480
  Stats: 377 lines in 10 files changed: 353 ins; 10 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3578.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3578/head:pull/3578

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


More information about the hotspot-compiler-dev mailing list