RFR: 8373495: C2: Aggressively fold loads from objects that have not escaped
Vladimir Ivanov
vlivanov at openjdk.org
Sat Dec 13 03:53:49 UTC 2025
On Sat, 13 Dec 2025 02:49:07 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
> 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.
Very nice! I definitely prefer the approach here to #28764.
I see that the unit test stays the same and there's an adjustment in some other test, so I assume this version is functionally more powerful than #28764 version.
Have you had a chance to measure how much it affects compilation speed compared to #28764?
(The code is dense and hard to reason about, so some polishing/refactoring to make it more readable. Also, please, think about verification checks.)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28812#issuecomment-3648880857
More information about the hotspot-compiler-dev
mailing list