Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22467:d1019456c4d2
Disable CTW during JVMCI bootstrap
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 25 Aug 2015 09:50:46 -0700 |
parents | d9f5c93a83d3 |
children | ea6d1727fdc6 |
comparison
equal
deleted
inserted
replaced
22466:5e61ca976049 | 22467:d1019456c4d2 |
---|---|
62 #endif // COMPILERJVMCI | 62 #endif // COMPILERJVMCI |
63 } | 63 } |
64 | 64 |
65 #ifdef COMPILERJVMCI | 65 #ifdef COMPILERJVMCI |
66 void JVMCICompiler::bootstrap() { | 66 void JVMCICompiler::bootstrap() { |
67 #ifndef PRODUCT | |
68 // We turn off CompileTheWorld so that compilation requests are not | |
69 // ignored during bootstrap or that JVMCI can be compiled by C1/C2. | |
70 FlagSetting ctwOff(CompileTheWorld, false); | |
71 #endif | |
72 | |
67 JavaThread* THREAD = JavaThread::current(); | 73 JavaThread* THREAD = JavaThread::current(); |
68 _bootstrapping = true; | 74 _bootstrapping = true; |
69 // Allow bootstrap to perform JVMCI compilations of itself | 75 // Allow bootstrap to perform JVMCI compilations of itself |
70 bool c1only = JVMCICompileWithC1Only; | 76 bool c1only = JVMCICompileWithC1Only; |
71 JVMCICompileWithC1Only = false; | 77 JVMCICompileWithC1Only = false; |