--- old/src/share/vm/services/attachListener.cpp 2014-02-10 13:49:08.635080518 -0800 +++ new/src/share/vm/services/attachListener.cpp 2014-02-10 13:49:08.491073362 -0800 @@ -532,7 +532,7 @@ // Check that thread and osthread were created if (listener_thread == NULL || listener_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(), listener_thread);