src/share/vm/prims/jvmtiImpl.hpp

Print this page

        

@@ -456,10 +456,11 @@
 
   Type _type;
   union {
     nmethod* compiled_method_load;
     struct {
+      nmethod* nm;
       jmethodID method_id;
       const void* code_begin;
     } compiled_method_unload;
     struct {
       const char* name;

@@ -475,11 +476,11 @@
   JvmtiDeferredEvent() : _type(TYPE_NONE) {}
 
   // Factory methods
   static JvmtiDeferredEvent compiled_method_load_event(nmethod* nm)
     KERNEL_RETURN_(JvmtiDeferredEvent());
-  static JvmtiDeferredEvent compiled_method_unload_event(
+  static JvmtiDeferredEvent compiled_method_unload_event(nmethod* nm,
       jmethodID id, const void* code) KERNEL_RETURN_(JvmtiDeferredEvent());
   static JvmtiDeferredEvent dynamic_code_generated_event(
       const char* name, const void* begin, const void* end)
           KERNEL_RETURN_(JvmtiDeferredEvent());