equal
deleted
inserted
replaced
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 |