RFR: 8373495: C2: Aggressively fold loads from objects that have not escaped

Quan Anh Mai qamai at openjdk.org
Sat Dec 13 02:56:25 UTC 2025


Hi,

This patch is an alternative to #28764 but it does the analysis during IGVN instead.

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

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

Commit messages:
 - Aggressively fold loads from objects that have not escaped

Changes: https://git.openjdk.org/jdk/pull/28812/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28812&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373495
  Stats: 453 lines in 4 files changed: 414 ins; 8 del; 31 mod
  Patch: https://git.openjdk.org/jdk/pull/28812.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28812/head:pull/28812

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


More information about the hotspot-compiler-dev mailing list