RFR: 8345067: C2: enable implicit null checks for ZGC reads

Vladimir Kozlov kvn at openjdk.org
Thu May 8 15:14:54 UTC 2025


On Tue, 6 May 2025 18:57:14 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

> > Why the attribute is not set for `zLoadP` on x64?
> 
> `ins_is_late_expanded_null_check_candidate` is set to `true` for `zLoadP` in [src/hotspot/cpu/x86/gc/z/z_x86_64.ad (line 121)](https://github.com/openjdk/jdk/pull/25066/files#diff-183d5784f9317f5582b267d82e7afa4e23ae137671fab8ba9cb5b502dae52b3dR121), or did I misunderstand your question?

Somehow I missed this change. Good.

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

PR Comment: https://git.openjdk.org/jdk/pull/25066#issuecomment-2863416833


More information about the hotspot-gc-dev mailing list