RFR: 8371178: Preserve fast version of getfield and putfield in AOTCache

Ashutosh Mehra asmehra at openjdk.org
Tue Nov 4 02:18:41 UTC 2025


Preserve the "fast" version of `getfield` and `putfield` bytecodes in the AOTCache during the assembly phase if the constant pool entry referred by the bytecodes is stored in resolved state in the AOTCache.

Testing:
Testing with JTREG="AOT_JDK=true" TEST=hotspot_runtime_no_cds passed on x86-64

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

Commit messages:
 - 8371178: Preserve fast version of getfield and putfield in AOTCache

Changes: https://git.openjdk.org/jdk/pull/28121/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28121&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371178
  Stats: 120 lines in 1 file changed: 113 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/28121.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28121/head:pull/28121

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


More information about the hotspot-runtime-dev mailing list