RFR: 8365991: AArch64: Ignore BlockZeroingLowLimit when UseBlockZeroing is false [v4]

Andrew Haley aph at openjdk.org
Tue Oct 28 08:20:06 UTC 2025


On Tue, 28 Oct 2025 07:55:42 GMT, Patrick Zhang <qpzhang at openjdk.org> wrote:

> I would like to reiterate that I have no objection to the functions when the `-XX:+UseBlockZeroing` option is set, everything can keep as is. My point is that `BlockZeroingLowLimit` serves literally/specifically as a switch to control whether DC ZVA instructions are generated for clearing instances under a specified bytes size limitation, rather than for deciding between unrolling and callout. Therefore, it should NOT affect the code-gen results any longer when `-XX:-UseBlockZeroing` is set, should it?

It does not. When `-XX:-UseBlockZeroing` is set,  `BlockZeroingLowLimit` is ignored.

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

PR Comment: https://git.openjdk.org/jdk/pull/26917#issuecomment-3455117311


More information about the hotspot-dev mailing list