hotspot/src/share/vm/runtime/os.cpp
changeset 22758 c6b6abb73544
parent 22556 a17351e8c2c2
child 22777 196cfce9e5aa
--- a/hotspot/src/share/vm/runtime/os.cpp	Mon Feb 10 17:49:17 2014 +0100
+++ b/hotspot/src/share/vm/runtime/os.cpp	Tue Feb 11 08:43:17 2014 -0800
@@ -362,7 +362,7 @@
       // exceptions anyway, check and abort if this fails.
       if (signal_thread == NULL || signal_thread->osthread() == NULL) {
         vm_exit_during_initialization("java.lang.OutOfMemoryError",
-                                      "unable to create new native thread");
+                                      os::native_thread_creation_failed_msg());
       }
 
       java_lang_Thread::set_thread(thread_oop(), signal_thread);