< prev index next >

src/hotspot/share/opto/doCall.cpp

Print this page
*** 94,10 ***
--- 94,12 ---
    const bool is_virtual_or_interface = (bytecode == Bytecodes::_invokevirtual) ||
                                         (bytecode == Bytecodes::_invokeinterface) ||
                                         (orig_callee->intrinsic_id() == vmIntrinsics::_linkToVirtual) ||
                                         (orig_callee->intrinsic_id() == vmIntrinsics::_linkToInterface);
  
+   callee->ensure_method_data(true);
+ 
    // Dtrace currently doesn't work unless all calls are vanilla
    if (env()->dtrace_method_probes()) {
      allow_inline = false;
    }
  
< prev index next >