diff src/share/vm/compiler/compileBroker.cpp @ 14341:ad3f8397fe37

7182040: volano29 limited by os resource on Linux - need better diagnostic message Summary: Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached" Reviewed-by: dholmes, sla
author iklam
date Tue, 11 Feb 2014 08:43:17 -0800
parents a3ba776d6ab6
children e6195383bcaf 8a9bb7821e28
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Mon Feb 10 17:49:17 2014 +0100
+++ b/src/share/vm/compiler/compileBroker.cpp	Tue Feb 11 08:43:17 2014 -0800
@@ -955,7 +955,7 @@
 
     if (compiler_thread == NULL || compiler_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(), compiler_thread);