< prev index next >
src/hotspot/os_cpu/solaris_sparc/os_solaris_sparc.cpp
Print this page
rev 47415 : Add Thread Local handshakes and thread local polling
*** 446,456 ****
else if (thread->thread_state() == _thread_in_Java) {
// Java thread running in Java code => find exception handler if any
// a fault inside compiled code, the interpreter, or a stub
// Support Safepoint Polling
! if ( sig == SIGSEGV && (address)info->si_addr == os::get_polling_page() ) {
stub = SharedRuntime::get_poll_stub(pc);
}
// Not needed on x86 solaris because verify_oops doesn't generate
// SEGV/BUS like sparc does.
--- 446,456 ----
else if (thread->thread_state() == _thread_in_Java) {
// Java thread running in Java code => find exception handler if any
// a fault inside compiled code, the interpreter, or a stub
// Support Safepoint Polling
! if (sig == SIGSEGV && os::is_poll_address((address)info->si_addr)) {
stub = SharedRuntime::get_poll_stub(pc);
}
// Not needed on x86 solaris because verify_oops doesn't generate
// SEGV/BUS like sparc does.
< prev index next >