src/hotspot/share/oops/method.hpp
changeset 54927 1512d88b24c6
parent 54721 3661ad97da8f
child 55005 9b70ebd131b4
--- a/src/hotspot/share/oops/method.hpp	Fri May 17 10:48:02 2019 -0400
+++ b/src/hotspot/share/oops/method.hpp	Fri May 17 08:29:55 2019 -0700
@@ -468,9 +468,15 @@
   void set_adapter_entry(AdapterHandlerEntry* adapter) {
     constMethod()->set_adapter_entry(adapter);
   }
+  void set_adapter_trampoline(AdapterHandlerEntry** trampoline) {
+    constMethod()->set_adapter_trampoline(trampoline);
+  }
   void update_adapter_trampoline(AdapterHandlerEntry* adapter) {
     constMethod()->update_adapter_trampoline(adapter);
   }
+  void set_from_compiled_entry(address entry) {
+    _from_compiled_entry =  entry;
+  }
 
   address get_i2c_entry();
   address get_c2i_entry();
@@ -511,7 +517,8 @@
   address interpreter_entry() const              { return _i2i_entry; }
   // Only used when first initialize so we can set _i2i_entry and _from_interpreted_entry
   void set_interpreter_entry(address entry) {
-    assert(!is_shared(), "shared method's interpreter entry should not be changed at run time");
+    assert(!is_shared(),
+           "shared method's interpreter entry should not be changed at run time");
     if (_i2i_entry != entry) {
       _i2i_entry = entry;
     }