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

Quan Anh Mai qamai at openjdk.org
Thu Apr 24 01:19:45 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.

Quan Anh Mai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:

 - must find a field
 - Tobias comments
 - Merge branch 'lworld' into strictload
 - fix wrong results
 - fix invalid node class: Unlock
 - add tests
 - fold strict final field loads

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1424/files
  - new: https://git.openjdk.org/valhalla/pull/1424/files/b2601380..b5dd90b2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1424&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1424&range=01-02

  Stats: 93635 lines in 2607 files changed: 35915 ins; 46769 del; 10951 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