Mercurial > hg > graal-jvmci-8
comparison src/share/vm/jvmci/jvmciCompiler.cpp @ 22692:a269bc93625b
fix -Xint -XX:+BootstrapJVMCI crash
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 16 Oct 2015 15:52:45 -0700 |
parents | 569c82ebb96e |
children | f190cf6fb28e |
comparison
equal
deleted
inserted
replaced
22691:c01cdb11b3a9 | 22692:a269bc93625b |
---|---|
58 #endif // COMPILERJVMCI | 58 #endif // COMPILERJVMCI |
59 } | 59 } |
60 | 60 |
61 #ifdef COMPILERJVMCI | 61 #ifdef COMPILERJVMCI |
62 void JVMCICompiler::bootstrap() { | 62 void JVMCICompiler::bootstrap() { |
63 if (Arguments::mode() == Arguments::_int) { | |
64 // Nothing to do in -Xint mode | |
65 return; | |
66 } | |
63 #ifndef PRODUCT | 67 #ifndef PRODUCT |
64 // We turn off CompileTheWorld so that compilation requests are not | 68 // We turn off CompileTheWorld so that compilation requests are not |
65 // ignored during bootstrap or that JVMCI can be compiled by C1/C2. | 69 // ignored during bootstrap or that JVMCI can be compiled by C1/C2. |
66 FlagSetting ctwOff(CompileTheWorld, false); | 70 FlagSetting ctwOff(CompileTheWorld, false); |
67 #endif | 71 #endif |