src/os_cpu/linux_x86/vm/os_linux_x86.cpp

changeset 4993
746b070f5022
parent 4763
9ef47379df20
child 5230
2cb5d5f6d5e5
equal deleted inserted replaced
4992:ed5a590835a4 4993:746b070f5022
708 int rslt = pthread_getattr_np(pthread_self(), &attr); 708 int rslt = pthread_getattr_np(pthread_self(), &attr);
709 709
710 // JVM needs to know exact stack location, abort if it fails 710 // JVM needs to know exact stack location, abort if it fails
711 if (rslt != 0) { 711 if (rslt != 0) {
712 if (rslt == ENOMEM) { 712 if (rslt == ENOMEM) {
713 vm_exit_out_of_memory(0, "pthread_getattr_np"); 713 vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
714 } else { 714 } else {
715 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt)); 715 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
716 } 716 }
717 } 717 }
718 718

mercurial