RFR(XXS): 8165014: Unaligned unsafe access should throw InternalError on Solaris
david.holmes at oracle.com
Wed Aug 31 06:18:38 UTC 2016
On 30/08/2016 8:42 PM, Doerr, Martin wrote:
> as discussed in http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2016-August/020888.html,
> the signal handler on Solaris SPARC should throw a java.lang.InternalError when Unsafe accesses unaligned addresses.
> This is currently broken because the signal handler only accepts BUS_OBJERR which is not sufficient.
> Proposed fix:
> Please review. I will also need a sponsor.
I can sponsor this for you.
I was unsure whether we should in fact cater for unaligned accesses, but
causing InternalError to be thrown instead of crashing is somewhat cleaner.
> Best regards,
More information about the hotspot-runtime-dev