hotspot/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
changeset 33105 294e48b4f704
parent 32080 9d2ace436482
child 34633 2a6c7c7b30a7
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
   170     // JVM needs to know exact stack location, abort if it fails
   170     // JVM needs to know exact stack location, abort if it fails
   171     if (rslt != 0) {
   171     if (rslt != 0) {
   172       if (rslt == ENOMEM) {
   172       if (rslt == ENOMEM) {
   173         vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
   173         vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
   174       } else {
   174       } else {
   175         fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
   175         fatal("pthread_getattr_np failed with errno = %d", rslt);
   176       }
   176       }
   177     }
   177     }
   178 
   178 
   179     if (pthread_attr_getstack(&attr, (void**)bottom, size) != 0) {
   179     if (pthread_attr_getstack(&attr, (void**)bottom, size) != 0) {
   180       fatal("Can not locate current stack attributes!");
   180       fatal("Can not locate current stack attributes!");
   690   sigset_t newset;
   690   sigset_t newset;
   691   sigemptyset(&newset);
   691   sigemptyset(&newset);
   692   sigaddset(&newset, sig);
   692   sigaddset(&newset, sig);
   693   sigprocmask(SIG_UNBLOCK, &newset, NULL);
   693   sigprocmask(SIG_UNBLOCK, &newset, NULL);
   694 
   694 
   695   VMError err(t, sig, pc, info, ucVoid);
   695   VMError::report_and_die(t, sig, pc, info, ucVoid);
   696   err.report_and_die();
       
   697 
   696 
   698   ShouldNotReachHere();
   697   ShouldNotReachHere();
   699 }
   698 }
   700 
   699 
   701 void os::Linux::init_thread_fpu_state(void) {
   700 void os::Linux::init_thread_fpu_state(void) {