src/share/vm/opto/c2compiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/c2compiler.cpp	Mon Jul 13 18:44:15 2015
--- new/src/share/vm/opto/c2compiler.cpp	Mon Jul 13 18:44:15 2015

*** 77,87 **** --- 77,86 ---- HandleMark handle_mark(thread); return OptoRuntime::generate(thread->env()); } void C2Compiler::initialize() { // The first compiler thread that gets here will initialize the // small amount of global state (and runtime stubs) that C2 needs. // There is a race possible once at startup and then we're fine
*** 152,165 **** --- 151,174 ---- // No retry; just break the loop. break; } } void C2Compiler::print_timers() { Compile::print_timers(); } + bool C2Compiler::is_intrinsic_available_for(methodHandle method, methodHandle compilation_context) { + // Assume a non-virtual dispatch. A virtual dispatch is + // possible for only a limited set of available intrinsics whereas + // a non-virtual dispatch is possible for all available intrinsics. + return Compile::is_intrinsic_available_for(method(), compilation_context(), false); + } + + bool C2Compiler::is_intrinsic_available_for(methodHandle method) { + return Compile::is_intrinsic_available_for(method(), NULL, false); + } + int C2Compiler::initial_code_buffer_size() { assert(SegmentedCodeCache, "Should be only used with a segmented code cache"); return Compile::MAX_inst_size + Compile::MAX_locs_size + initial_const_capacity; }

src/share/vm/opto/c2compiler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File