--- old/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2017-11-14 05:52:04.862002277 -0800 +++ new/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp 2017-11-14 05:52:04.500968789 -0800 @@ -478,8 +478,7 @@ // Determination of interpreter/vtable stub/compiled code null exception stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL); } - } else if (thread->thread_state() == _thread_in_vm && - sig == SIGBUS && /* info->si_code == BUS_OBJERR && */ + } else if (sig == SIGBUS && /* info->si_code == BUS_OBJERR && */ thread->doing_unsafe_access()) { address next_pc = Assembler::locate_next_instruction(pc); stub = SharedRuntime::handle_unsafe_access(thread, next_pc);