hotspot/src/share/vm/oops/methodOop.cpp

Print this page

        

*** 749,762 **** --- 749,766 ---- if (comp_level > mh->highest_tier_compile()) { mh->set_highest_tier_compile(comp_level); } OrderAccess::storestore(); + #ifdef SHARK + mh->_from_interpreted_entry = code->instructions_begin(); + #else mh->_from_compiled_entry = code->verified_entry_point(); OrderAccess::storestore(); // Instantly compiled code can execute. mh->_from_interpreted_entry = mh->get_i2c_entry(); + #endif // SHARK } bool methodOopDesc::is_overridden_in(klassOop k) const {