RFR:8246051:[AArch64]SIGBUS by unaligned Unsafe compare_and_swap

Andrew Haley aph at redhat.com
Fri May 29 08:55:08 UTC 2020


On 28/05/2020 13:43, Wang Zhuo(Zhuoren) wrote:
> Hi, 
> 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/

OK, thanks.

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



More information about the hotspot-compiler-dev mailing list