hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
changeset 17087 f0b76c4c93a0
parent 14583 d70ee55535f4
child 19267 058bf12be1e0
--- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Tue Apr 30 09:17:06 2013 -0400
+++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Tue Apr 30 11:56:52 2013 -0700
@@ -313,7 +313,7 @@
   int res = pthread_getattr_np(pthread_self(), &attr);
   if (res != 0) {
     if (res == ENOMEM) {
-      vm_exit_out_of_memory(0, "pthread_getattr_np");
+      vm_exit_out_of_memory(0, OOM_MMAP_ERROR, "pthread_getattr_np");
     }
     else {
       fatal(err_msg("pthread_getattr_np failed with errno = %d", res));