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

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Tue May 6 19:00:18 UTC 2025


On Tue, 6 May 2025 18:07:17 GMT, Vladimir Kozlov <kvn 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?

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

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


More information about the hotspot-gc-dev mailing list