mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8145270: Need to eagerly initialize JVMCI compiler under -Xcomp
Reviewed-by: twisti
This commit is contained in:
parent
6f27a97d77
commit
08a2e337c7
3 changed files with 15 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue