hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
changeset 33105 294e48b4f704
parent 32080 9d2ace436482
child 33148 68fa8b6c4340
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
   540   sigset_t newset;
   540   sigset_t newset;
   541   sigemptyset(&newset);
   541   sigemptyset(&newset);
   542   sigaddset(&newset, sig);
   542   sigaddset(&newset, sig);
   543   sigprocmask(SIG_UNBLOCK, &newset, NULL);
   543   sigprocmask(SIG_UNBLOCK, &newset, NULL);
   544 
   544 
   545   VMError err(t, sig, pc, info, ucVoid);
   545   VMError::report_and_die(t, sig, pc, info, ucVoid);
   546   err.report_and_die();
       
   547 
   546 
   548   ShouldNotReachHere();
   547   ShouldNotReachHere();
   549   return true; // Mute compiler
   548   return true; // Mute compiler
   550 }
   549 }
   551 
   550 
   687      // JVM needs to know exact stack location, abort if it fails
   686      // JVM needs to know exact stack location, abort if it fails
   688      if (rslt != 0) {
   687      if (rslt != 0) {
   689        if (rslt == ENOMEM) {
   688        if (rslt == ENOMEM) {
   690          vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
   689          vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
   691        } else {
   690        } else {
   692          fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
   691          fatal("pthread_getattr_np failed with errno = %d", rslt);
   693        }
   692        }
   694      }
   693      }
   695 
   694 
   696      if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) {
   695      if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) {
   697          fatal("Can not locate current stack attributes!");
   696          fatal("Can not locate current stack attributes!");