Mercurial > hg > graal-jvmci-8
changeset 22449:cfd7ebda543b
run JVMCI bootstrap iff BootstrapJVMCI is true
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 21 Aug 2015 11:33:48 +0200 |
parents | bd786aba15a7 |
children | a17e3063a7b5 |
files | src/share/vm/compiler/compileBroker.cpp src/share/vm/prims/jni.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Fri Aug 21 11:29:46 2015 +0200 +++ b/src/share/vm/compiler/compileBroker.cpp Fri Aug 21 11:33:48 2015 +0200 @@ -923,7 +923,7 @@ #if defined(COMPILERJVMCI) _compilers[1] = jvmci; if (FLAG_IS_DEFAULT(JVMCIThreads)) { - if (!TieredCompilation && FLAG_IS_DEFAULT(BootstrapJVMCI) || BootstrapJVMCI) { + if (BootstrapJVMCI) { // JVMCI will bootstrap so give it more threads c2_count = MIN2(32, os::active_processor_count()); }
--- a/src/share/vm/prims/jni.cpp Fri Aug 21 11:29:46 2015 +0200 +++ b/src/share/vm/prims/jni.cpp Fri Aug 21 11:33:48 2015 +0200 @@ -5217,7 +5217,7 @@ #ifdef COMPILERJVMCI // JVMCI is initialized on a CompilerThread - if (FLAG_IS_DEFAULT(BootstrapJVMCI) ? !TieredCompilation : BootstrapJVMCI) { + if (BootstrapJVMCI) { JVMCICompiler::instance()->bootstrap(); } #elif INCLUDE_JVMCI