8151470: [JVMCI] remove up-call to HotSpotJVMCICompilerConfig.selectCompiler

Reviewed-by: dnsimon, vlivanov
This commit is contained in:
Christian Thalinger 2016-03-10 13:04:43 -08:00
parent 54ca53c593
commit 9ecc7cc928
6 changed files with 27 additions and 186 deletions

View file

@ -3696,15 +3696,6 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
Chunk::start_chunk_pool_cleaner_task();
}
#if INCLUDE_JVMCI
if (EnableJVMCI) {
const char* jvmciCompiler = Arguments::PropertyList_get_value(Arguments::system_properties(), "jvmci.compiler");
if (jvmciCompiler != NULL) {
JVMCIRuntime::save_compiler(jvmciCompiler);
}
}
#endif // INCLUDE_JVMCI
// initialize compiler(s)
#if defined(COMPILER1) || defined(COMPILER2) || defined(SHARK) || INCLUDE_JVMCI
CompileBroker::compilation_init(CHECK_JNI_ERR);