[lworld] RFR: 8366701: [lworld] Method profiles for AOT cache introduced with JEP 515 miss Valhalla specific profiling

Christian Hagedorn chagedorn at openjdk.org
Thu Sep 11 07:07:31 UTC 2025


JEP 515 extended the AOT cache to also collect method profiles during training runs. In Valhalla, we have additional profiling for:
- Array store
- Array load
- Acmp

When JEP 515 was merged in, we did to account for these Valhalla specific profiling information and later crash when trying to create the AOT cache. The fix is straight forward to add the missing collection code for the Valhalla specific profiling.

I also unproblemlisted the affected tests.

Testing:
- tier1-4 + stress

Thanks,
Christian

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

Commit messages:
 - 8366701: [lworld] Method profiles for AOT cache introduced with JEP 515 miss Valhalla specific profiling

Changes: https://git.openjdk.org/valhalla/pull/1568/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1568&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366701
  Stats: 71 lines in 2 files changed: 15 ins; 56 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/1568.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1568/head:pull/1568

PR: https://git.openjdk.org/valhalla/pull/1568


More information about the valhalla-dev mailing list