hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
changeset 18943 7d0ef675e808
parent 17087 f0b76c4c93a0
child 18945 1225c36dacd3
equal deleted inserted replaced
18942:705506c1bf49 18943:7d0ef675e808
   551   ucontext_t* ucFake = (ucontext_t*) ucVoid;
   551   ucontext_t* ucFake = (ucontext_t*) ucVoid;
   552   sigcontext* uc = (sigcontext*)ucVoid;
   552   sigcontext* uc = (sigcontext*)ucVoid;
   553 
   553 
   554   Thread* t = ThreadLocalStorage::get_thread_slow();
   554   Thread* t = ThreadLocalStorage::get_thread_slow();
   555 
   555 
       
   556   // Must do this before SignalHandlerMark, if crash protection installed we will longjmp away
       
   557   // (no destructors can be run)
       
   558   os::WatcherThreadCrashProtection::check_crash_protection(sig, t);
       
   559 
   556   SignalHandlerMark shm(t);
   560   SignalHandlerMark shm(t);
   557 
   561 
   558   // Note: it's not uncommon that JNI code uses signal/sigset to install
   562   // Note: it's not uncommon that JNI code uses signal/sigset to install
   559   // then restore certain signal handler (e.g. to temporarily block SIGPIPE,
   563   // then restore certain signal handler (e.g. to temporarily block SIGPIPE,
   560   // or have a SIGILL handler when detecting CPU type). When that happens,
   564   // or have a SIGILL handler when detecting CPU type). When that happens,