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

src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp

Print this page

        

*** 3484,3495 **** 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 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"); --- 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 && !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