src/hotspot/os_cpu/solaris_sparc/os_solaris_sparc.cpp
changeset 47881 0ce0ac68ace7
parent 47765 b7c7428eaab9
child 49449 ef5d5d343e2a
equal deleted inserted replaced
47824:cf127be65014 47881:0ce0ac68ace7
   445     else if (thread->thread_state() == _thread_in_Java) {
   445     else if (thread->thread_state() == _thread_in_Java) {
   446       // Java thread running in Java code => find exception handler if any
   446       // Java thread running in Java code => find exception handler if any
   447       // a fault inside compiled code, the interpreter, or a stub
   447       // a fault inside compiled code, the interpreter, or a stub
   448 
   448 
   449       // Support Safepoint Polling
   449       // Support Safepoint Polling
   450       if ( sig == SIGSEGV && (address)info->si_addr == os::get_polling_page() ) {
   450       if (sig == SIGSEGV && os::is_poll_address((address)info->si_addr)) {
   451         stub = SharedRuntime::get_poll_stub(pc);
   451         stub = SharedRuntime::get_poll_stub(pc);
   452       }
   452       }
   453 
   453 
   454       // Not needed on x86 solaris because verify_oops doesn't generate
   454       // Not needed on x86 solaris because verify_oops doesn't generate
   455       // SEGV/BUS like sparc does.
   455       // SEGV/BUS like sparc does.