8145270: Need to eagerly initialize JVMCI compiler under -Xcomp

Reviewed-by: twisti
This commit is contained in:
Doug Simon 2015-12-13 22:51:13 +01:00
parent 6f27a97d77
commit 08a2e337c7
3 changed files with 15 additions and 3 deletions

View file

@ -3628,7 +3628,7 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
// initialize compiler(s)
#if defined(COMPILER1) || defined(COMPILER2) || defined(SHARK) || INCLUDE_JVMCI
CompileBroker::compilation_init();
CompileBroker::compilation_init(CHECK_JNI_ERR);
#endif
// Pre-initialize some JSR292 core classes to avoid deadlock during class loading.