src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp	Tue Oct 24 20:29:30 2017
--- new/src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp	Tue Oct 24 20:29:29 2017

*** 3484,3495 **** --- 3484,3496 ---- Address counter_addr(mdo, md->byte_offset_of_slot(data, CounterData::count_offset())); Bytecodes::Code bc = method->java_code_at_bci(bci); const bool callee_is_static = callee->is_loaded() && callee->is_static(); // Perform additional virtual call profiling for invokevirtual and // invokeinterface bytecodes ! if ((bc == Bytecodes::_invokevirtual || bc == Bytecodes::_invokeinterface) && !callee_is_static && // required for optimized MH invokes ! if (((bc == Bytecodes::_invokevirtual && !callee->can_be_statically_bound()) || + bc == Bytecodes::_invokeinterface) && + !callee_is_static && // Required for optimized MH invokes. C1ProfileVirtualCalls) { assert(op->recv()->is_single_cpu(), "recv must be allocated"); Register recv = op->recv()->as_register(); assert_different_registers(mdo, recv); assert(data->is_VirtualCallData(), "need VirtualCallData for virtual calls");

src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File