src/hotspot/share/oops/method.hpp
changeset 54927 1512d88b24c6
parent 54721 3661ad97da8f
child 55005 9b70ebd131b4
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
   466   void clear_code(bool acquire_lock = true);    // Clear out any compiled code
   466   void clear_code(bool acquire_lock = true);    // Clear out any compiled code
   467   static void set_code(const methodHandle& mh, CompiledMethod* code);
   467   static void set_code(const methodHandle& mh, CompiledMethod* code);
   468   void set_adapter_entry(AdapterHandlerEntry* adapter) {
   468   void set_adapter_entry(AdapterHandlerEntry* adapter) {
   469     constMethod()->set_adapter_entry(adapter);
   469     constMethod()->set_adapter_entry(adapter);
   470   }
   470   }
       
   471   void set_adapter_trampoline(AdapterHandlerEntry** trampoline) {
       
   472     constMethod()->set_adapter_trampoline(trampoline);
       
   473   }
   471   void update_adapter_trampoline(AdapterHandlerEntry* adapter) {
   474   void update_adapter_trampoline(AdapterHandlerEntry* adapter) {
   472     constMethod()->update_adapter_trampoline(adapter);
   475     constMethod()->update_adapter_trampoline(adapter);
       
   476   }
       
   477   void set_from_compiled_entry(address entry) {
       
   478     _from_compiled_entry =  entry;
   473   }
   479   }
   474 
   480 
   475   address get_i2c_entry();
   481   address get_i2c_entry();
   476   address get_c2i_entry();
   482   address get_c2i_entry();
   477   address get_c2i_unverified_entry();
   483   address get_c2i_unverified_entry();
   509 
   515 
   510   // interpreter entry
   516   // interpreter entry
   511   address interpreter_entry() const              { return _i2i_entry; }
   517   address interpreter_entry() const              { return _i2i_entry; }
   512   // Only used when first initialize so we can set _i2i_entry and _from_interpreted_entry
   518   // Only used when first initialize so we can set _i2i_entry and _from_interpreted_entry
   513   void set_interpreter_entry(address entry) {
   519   void set_interpreter_entry(address entry) {
   514     assert(!is_shared(), "shared method's interpreter entry should not be changed at run time");
   520     assert(!is_shared(),
       
   521            "shared method's interpreter entry should not be changed at run time");
   515     if (_i2i_entry != entry) {
   522     if (_i2i_entry != entry) {
   516       _i2i_entry = entry;
   523       _i2i_entry = entry;
   517     }
   524     }
   518     if (_from_interpreted_entry != entry) {
   525     if (_from_interpreted_entry != entry) {
   519       _from_interpreted_entry = entry;
   526       _from_interpreted_entry = entry;