< prev index next >

src/share/vm/classfile/classLoader.cpp

Print this page

        

*** 1871,1880 **** --- 1871,1885 ---- vmIntrinsics::ID iid = m->intrinsic_id(); if (MethodHandles::is_signature_polymorphic(iid) && MethodHandles::has_member_arg(iid)) { return false; } + // Don't compile methods in __Value if value types are disabled + if (!EnableMVT && !EnableValhalla && m->method_holder()->name() == vmSymbols::java_lang____Value()) { + return false; + } + return CompilationPolicy::can_be_compiled(m, comp_level); } void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) { if (string_ends_with(name, ".class")) {
< prev index next >