hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 22758 c6b6abb73544
parent 22520 b9e88eed82d7
child 22876 57aa8995d43b
child 22796 bb0ea482a99e
equal deleted inserted replaced
22752:5796083e0729 22758:c6b6abb73544
   953     // in that case. However, since this must work and we do not allow
   953     // in that case. However, since this must work and we do not allow
   954     // exceptions anyway, check and abort if this fails.
   954     // exceptions anyway, check and abort if this fails.
   955 
   955 
   956     if (compiler_thread == NULL || compiler_thread->osthread() == NULL){
   956     if (compiler_thread == NULL || compiler_thread->osthread() == NULL){
   957       vm_exit_during_initialization("java.lang.OutOfMemoryError",
   957       vm_exit_during_initialization("java.lang.OutOfMemoryError",
   958                                     "unable to create new native thread");
   958                                     os::native_thread_creation_failed_msg());
   959     }
   959     }
   960 
   960 
   961     java_lang_Thread::set_thread(thread_oop(), compiler_thread);
   961     java_lang_Thread::set_thread(thread_oop(), compiler_thread);
   962 
   962 
   963     // Note that this only sets the JavaThread _priority field, which by
   963     // Note that this only sets the JavaThread _priority field, which by