7182040: volano29 limited by os resource on Linux - need better diagnostic message

Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"

Reviewed-by: dholmes, sla
This commit is contained in:
Ioi Lam 2014-02-11 08:43:17 -08:00
parent dd25d6fed0
commit 7f138c5502
7 changed files with 16 additions and 7 deletions

View file

@ -955,7 +955,7 @@ CompilerThread* CompileBroker::make_compiler_thread(const char* name, CompileQue
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);