< prev index next >

src/os_cpu/linux_x86/vm/os_linux_x86.cpp

Print this page

        

*** 540,551 **** sigset_t newset; sigemptyset(&newset); sigaddset(&newset, sig); sigprocmask(SIG_UNBLOCK, &newset, NULL); ! VMError err(t, sig, pc, info, ucVoid); ! err.report_and_die(); ShouldNotReachHere(); return true; // Mute compiler } --- 540,550 ---- sigset_t newset; sigemptyset(&newset); sigaddset(&newset, sig); sigprocmask(SIG_UNBLOCK, &newset, NULL); ! VMError::report_and_die(t, sig, pc, info, ucVoid); ShouldNotReachHere(); return true; // Mute compiler }
*** 687,697 **** // JVM needs to know exact stack location, abort if it fails if (rslt != 0) { if (rslt == ENOMEM) { vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np"); } else { ! fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt)); } } if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) { fatal("Can not locate current stack attributes!"); --- 686,696 ---- // JVM needs to know exact stack location, abort if it fails if (rslt != 0) { if (rslt == ENOMEM) { vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np"); } else { ! fatal("pthread_getattr_np failed with errno = %d", rslt); } } if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) { fatal("Can not locate current stack attributes!");
< prev index next >