src/hotspot/share/jvmci/jvmciCompiler.cpp
changeset 52934 8deeb7bba516
parent 50858 2d3e99a72541
child 53193 184c51e48260
equal deleted inserted replaced
52933:13173122094f 52934:8deeb7bba516
    63 void JVMCICompiler::bootstrap(TRAPS) {
    63 void JVMCICompiler::bootstrap(TRAPS) {
    64   if (Arguments::mode() == Arguments::_int) {
    64   if (Arguments::mode() == Arguments::_int) {
    65     // Nothing to do in -Xint mode
    65     // Nothing to do in -Xint mode
    66     return;
    66     return;
    67   }
    67   }
    68 #ifndef PRODUCT
       
    69   // We turn off CompileTheWorld so that compilation requests are not
       
    70   // ignored during bootstrap or that JVMCI can be compiled by C1/C2.
       
    71   FlagSetting ctwOff(CompileTheWorld, false);
       
    72 #endif
       
    73 
       
    74   _bootstrapping = true;
    68   _bootstrapping = true;
    75   ResourceMark rm;
    69   ResourceMark rm;
    76   HandleMark hm;
    70   HandleMark hm;
    77   if (PrintBootstrap) {
    71   if (PrintBootstrap) {
    78     tty->print("Bootstrapping JVMCI");
    72     tty->print("Bootstrapping JVMCI");