8165014: Unaligned unsafe access should throw InternalError on Solaris
authormdoerr
Wed, 31 Aug 2016 19:41:57 -0400
changeset 40898 1c147e5e2b71
parent 40897 79489d5bfe1f
child 40899 d7140c75c2c6
8165014: Unaligned unsafe access should throw InternalError on Solaris Reviewed-by: dholmes, coleenp
hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
--- a/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp	Wed Aug 31 16:41:01 2016 +0000
+++ b/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp	Wed Aug 31 19:41:57 2016 -0400
@@ -444,7 +444,7 @@
 
 
     if (thread->thread_state() == _thread_in_vm) {
-      if (sig == SIGBUS && info->si_code == BUS_OBJERR && thread->doing_unsafe_access()) {
+      if (sig == SIGBUS && thread->doing_unsafe_access()) {
         stub = SharedRuntime::handle_unsafe_access(thread, npc);
       }
     }