hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp
changeset 28365 ccf31849c7a4
parent 27401 a4697c9502cb
child 31234 48000028382c
--- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp	Thu Dec 18 04:56:27 2014 +0000
+++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp	Thu Dec 18 16:15:21 2014 -0500
@@ -511,6 +511,12 @@
     void do_klass(Klass* k);
   };
 
+  // Clean MethodData out
+  class MethodDataCleaner : public KlassClosure {
+   public:
+    MethodDataCleaner() {}
+    void do_klass(Klass* k);
+  };
  public:
   VM_RedefineClasses(jint class_count,
                      const jvmtiClassDefinition *class_defs,