[lworld] RFR: 8354068: [lworld] Fold strict final fields more aggressively

Quan Anh Mai qamai at openjdk.org
Tue Apr 8 19:23:23 UTC 2025


Hi,

When we do incremental inlining, we need to be more aggressive to ensure that value objects are not unexpectedly materialized. This is done by trying to fold loads from strict final fields in an aggressive manner.

Please take a look and leave your reviews, thanks a lot.

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

Commit messages:
 - add tests
 - fold strict final field loads

Changes: https://git.openjdk.org/valhalla/pull/1424/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1424&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354068
  Stats: 228 lines in 2 files changed: 209 ins; 1 del; 18 mod
  Patch: https://git.openjdk.org/valhalla/pull/1424.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1424/head:pull/1424

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


More information about the valhalla-dev mailing list