[aarch64-port-dev ] RFR(S) 8248660: AArch64: JDK-Windows: Make _clear_cache and _nop portable

Andrew Haley aph at redhat.com
Wed Aug 19 08:13:12 UTC 2020

On 18/08/2020 18:53, Anton Kozlov wrote:
> +++ b/src/hotspot/cpu/aarch64/assembler_aarch64.hpp
> -      asm volatile ("nop");
> +      NOP();
> This code seems to be the only user of the new NOP() macro. This [1] and
> another [2] place are the only occurrences of asm_bp. It looks like a debugging
> aid that is unlikely to be used by anyone now. Is it possible to remove asm_bp
> and the nop at all?

It's still useful. Feel free to make it Linux-only if you like.

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the aarch64-port-dev mailing list