RFR: JDK-8297660: x86: Redundant test+jump in C1 allocateArray

Thomas Stuefe stuefe at openjdk.org
Sat Nov 26 08:16:08 UTC 2022


On Sat, 26 Nov 2022 04:14:01 GMT, Yi Yang <yyang at openjdk.org> wrote:

> Is it reasonable to remove such checking from the caller? Macro assembler is shared across all assemblers, zero_memory may be used in other place in the future due to its non-ad-hoc implementation.

That is why I added the assertion. Hopefully, such a hypothetical use would surface in tests.

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

PR: https://git.openjdk.org/jdk/pull/11372


More information about the hotspot-dev mailing list