--- a/hotspot/src/share/vm/code/nmethod.hpp Fri Jun 18 16:51:54 2010 -0700
+++ b/hotspot/src/share/vm/code/nmethod.hpp Mon Jun 21 14:26:17 2010 -0700
@@ -135,6 +135,7 @@
methodOop _method;
int _entry_bci; // != InvocationEntryBci if this nmethod is an on-stack replacement method
+ jmethodID _jmethod_id; // Cache of method()->jmethod_id()
// To support simple linked-list chaining of nmethods:
nmethod* _osr_link; // from instanceKlass::osr_nmethods_head
@@ -599,6 +600,7 @@
// jvmti support:
void post_compiled_method_load_event();
+ jmethodID get_and_cache_jmethod_id();
// verify operations
void verify();