changeset 40898:1c147e5e2b71

8165014: Unaligned unsafe access should throw InternalError on Solaris Reviewed-by: dholmes, coleenp
author mdoerr
date Wed, 31 Aug 2016 19:41:57 -0400
parents 79489d5bfe1f
children d7140c75c2c6
files hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
       }
     }