hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 5686 5435e77aa3df
parent 5420 586d3988e72b
child 5687 b862d1f189bd
equal deleted inserted replaced
5539:261ecc5bb65e 5686:5435e77aa3df
  1433       // there. If you're lucky you'll get the assert in the bugid, if not you've
  1433       // there. If you're lucky you'll get the assert in the bugid, if not you've
  1434       // just made a call site that could be megamorphic into a monomorphic site
  1434       // just made a call site that could be megamorphic into a monomorphic site
  1435       // for the rest of its life! Just another racing bug in the life of
  1435       // for the rest of its life! Just another racing bug in the life of
  1436       // fixup_callers_callsite ...
  1436       // fixup_callers_callsite ...
  1437       //
  1437       //
  1438       RelocIterator iter(cb, call->instruction_address(), call->next_instruction_address());
  1438       RelocIterator iter(nm, call->instruction_address(), call->next_instruction_address());
  1439       iter.next();
  1439       iter.next();
  1440       assert(iter.has_current(), "must have a reloc at java call site");
  1440       assert(iter.has_current(), "must have a reloc at java call site");
  1441       relocInfo::relocType typ = iter.reloc()->type();
  1441       relocInfo::relocType typ = iter.reloc()->type();
  1442       if ( typ != relocInfo::static_call_type &&
  1442       if ( typ != relocInfo::static_call_type &&
  1443            typ != relocInfo::opt_virtual_call_type &&
  1443            typ != relocInfo::opt_virtual_call_type &&