src/hotspot/share/memory/iterator.hpp
changeset 53889 6a84ea153af0
parent 53244 9807daeb47c4
child 54150 5529640c5f67
--- a/src/hotspot/share/memory/iterator.hpp	Wed Feb 20 10:46:39 2019 +0100
+++ b/src/hotspot/share/memory/iterator.hpp	Thu Feb 21 13:20:34 2019 +0100
@@ -263,6 +263,11 @@
   virtual void do_code_blob(CodeBlob* cb);
 };
 
+class NMethodClosure : public Closure {
+ public:
+  virtual void do_nmethod(nmethod* n) = 0;
+};
+
 // MonitorClosure is used for iterating over monitors in the monitors cache
 
 class ObjectMonitor;