RFR: 8334898: Resolve static field/method references at CDS dump time

Ashutosh Mehra asmehra at openjdk.org
Thu Oct 23 19:02:56 UTC 2025


This patch pre-resolves constant pool entries referred by getstatic, putstatic and invokestatic bytecodes in the assembly phase.
It also extends ResolvedConstants.java test to run in AOT mode workflow and additional test for checking resolution of static CP entries.

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

Commit messages:
 - 8334898: Resolve static field/method references at CDS dump time

Changes: https://git.openjdk.org/jdk/pull/27958/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27958&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334898
  Stats: 120 lines in 8 files changed: 90 ins; 18 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/27958.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27958/head:pull/27958

PR: https://git.openjdk.org/jdk/pull/27958


More information about the hotspot-dev mailing list