< prev index next >

src/hotspot/share/compiler/compileBroker.cpp

Print this page

        

@@ -1058,16 +1058,10 @@
         return NULL;
       }
     }
   }
 
-  // Don't compile methods in __Value if value types are disabled
-  if (!EnableMVT && !EnableValhalla && method->method_holder()->name() == vmSymbols::java_lang____Value()) {
-    // This may happen with CompileTheWorld, ReplayCompiles or compilations triggered through the WhiteBox API
-    return NULL;
-  }
-
   // lock, make sure that the compilation
   // isn't prohibited in a straightforward way.
   AbstractCompiler* comp = CompileBroker::compiler(comp_level);
   if (comp == NULL || !comp->can_compile_method(method) ||
       compilation_is_prohibited(method, osr_bci, comp_level, directive->ExcludeOption)) {
< prev index next >