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

Quan Anh Mai qamai at openjdk.org
Thu Jan 15 14:10:10 UTC 2026


On Wed, 14 Jan 2026 19:44:17 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> 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 19 additional commits since the last revision:
>> 
>>  - Merge branch 'master' into loadfoldingigvn
>>  - Early return when not a heap access
>>  - Fix escape at store
>>  - Fix outdated and unclear comments
>>  - copyright year, return, comments, whitespace
>>  - Merge branch 'master' into loadfoldingigvn
>>  - ea of phis and nested objects
>>  - Add test scenarios
>>  - Add a flag to turn off the feature
>>  - Much more comments, refactor the data into a separate class
>>  - ... and 9 more: https://git.openjdk.org/jdk/compare/1e50eecd...c275e6e6
>
> Please, file an RFE to address such scenarios then.

@iwanowww Filed [JDK-8375442](https://bugs.openjdk.org/browse/JDK-8375442).
@robcasloz Thanks a lot for the extremely comprehensive measurements!

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

PR Comment: https://git.openjdk.org/jdk/pull/28812#issuecomment-3755070578


More information about the hotspot-compiler-dev mailing list