Re: [aarch64-port-dev ] RFR:8246051:[AArch64]SIGBUS by unaligned Unsafe compare_and_swap

Wang Zhuo(Zhuoren) zhuoren.wz at alibaba-inc.com
Fri May 29 12:36:21 UTC 2020


Update patch. A jtreg test added
http://cr.openjdk.java.net/~wzhuo/8246051/webrev.01/


Regards,
Zhuoren


------------------------------------------------------------------
From:Nick Gasson <nick.gasson at arm.com>
Sent At:2020 May 29 (Fri.) 09:54
To:Sandler <zhuoren.wz at alibaba-inc.com>
Cc:hotspot-compiler-dev\@openjdk.java.net <hotspot-compiler-dev at openjdk.java.net>; aarch64-port-dev <aarch64-port-dev at openjdk.java.net>
Subject:Re: [aarch64-port-dev ] RFR:8246051:[AArch64]SIGBUS by unaligned Unsafe compare_and_swap

On 05/28/20 20:43 PM, Wang Zhuo wrote:
> I found that on aarch64, SIGBUS happens when Unsafe compareAndSwapLong and compareAndSwapInt were used to access unaligned mem address in interpreter mode. In compiled code, InternalError will be thrown. We should fix the crash and throw InternalError in interpreter too.
> Please help review this patch. 
>
> BUG: https://bugs.openjdk.java.net/browse/JDK-8246051
> CR: http://cr.openjdk.java.net/~wzhuo/8246051/webrev.00/
>

Could you add a jtreg test for this?

--
Nick


More information about the hotspot-compiler-dev mailing list