Mercurial > hg > graal-jvmci-8
changeset 22467:d1019456c4d2
Disable CTW during JVMCI bootstrap
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 25 Aug 2015 09:50:46 -0700 |
parents | 5e61ca976049 |
children | f58e7b5fe0ab |
files | src/share/vm/jvmci/jvmciCompiler.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompiler.cpp Tue Aug 25 15:01:40 2015 +0200 +++ b/src/share/vm/jvmci/jvmciCompiler.cpp Tue Aug 25 09:50:46 2015 -0700 @@ -64,6 +64,12 @@ #ifdef COMPILERJVMCI void JVMCICompiler::bootstrap() { +#ifndef PRODUCT + // We turn off CompileTheWorld so that compilation requests are not + // ignored during bootstrap or that JVMCI can be compiled by C1/C2. + FlagSetting ctwOff(CompileTheWorld, false); +#endif + JavaThread* THREAD = JavaThread::current(); _bootstrapping = true; // Allow bootstrap to perform JVMCI compilations of itself