aarch64: Register clash in debug build

Andrew Haley aph at redhat.com
Thu Feb 14 18:37:51 UTC 2019


Hi,

On 2/4/19 2:47 PM, Doerr, Martin wrote:
> we had run -Xcomp tests on aarch64 and got SIGSEGV in StubRoutines::generic_arraycopy (debug build).
> 
> generate_generic_copy:
> rscratch2_dst_klass = rscratch2 = r9
> 
> It uses
> MacroAssembler::check_klass_subtype_slow_path
> which overwrites rscratch2 in debug build.
> 
> We don't support aarch64 at the moment, but I guess somebody is interesting in fixing it.

Thank you very much. That one was tough to reproduce, but easy to fix.
Your analysis was exactly right.

-- 
Andrew Haley
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 hotspot-runtime-dev mailing list