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

src/share/vm/opto/c2compiler.cpp

Print this page
rev 8688 : 1234567: Invalid bug number
Summary: This is a local commit to reduce jprt submit time.
Reviewed-by: kvn

*** 77,87 **** 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 --- 77,86 ----
*** 152,165 **** // No retry; just break the loop. break; } } - void C2Compiler::print_timers() { Compile::print_timers(); } 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; } --- 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