hotspot/src/os_cpu/solaris_x86/vm/os_solaris_x86.cpp
changeset 8106 19106a0203fb
parent 7719 ef138e2849eb
child 8921 14bfe81f2a9d
equal deleted inserted replaced
8076:96d498ec7ae1 8106:19106a0203fb
   363   return addr != NULL;
   363   return addr != NULL;
   364 #endif // AMD64
   364 #endif // AMD64
   365 
   365 
   366 }
   366 }
   367 
   367 
   368 extern "C" int JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext, int abort_if_unrecognized);
       
   369 
       
   370 extern "C" void Fetch32PFI () ;
   368 extern "C" void Fetch32PFI () ;
   371 extern "C" void Fetch32Resume () ;
   369 extern "C" void Fetch32Resume () ;
   372 #ifdef AMD64
   370 #ifdef AMD64
   373 extern "C" void FetchNPFI () ;
   371 extern "C" void FetchNPFI () ;
   374 extern "C" void FetchNResume () ;
   372 extern "C" void FetchNResume () ;
   375 #endif // AMD64
   373 #endif // AMD64
   376 
   374 
   377 int JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrecognized) {
   375 extern "C" JNIEXPORT int
       
   376 JVM_handle_solaris_signal(int sig, siginfo_t* info, void* ucVoid,
       
   377                           int abort_if_unrecognized) {
   378   ucontext_t* uc = (ucontext_t*) ucVoid;
   378   ucontext_t* uc = (ucontext_t*) ucVoid;
   379 
   379 
   380 #ifndef AMD64
   380 #ifndef AMD64
   381   if (sig == SIGILL && info->si_addr == (caddr_t)sse_check) {
   381   if (sig == SIGILL && info->si_addr == (caddr_t)sse_check) {
   382     // the SSE instruction faulted. supports_sse() need return false.
   382     // the SSE instruction faulted. supports_sse() need return false.