src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp
changeset 59296 9186be5c78ba
parent 58686 0279391875bf
--- a/src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp	Wed Nov 27 06:36:41 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp	Wed Nov 27 11:52:57 2019 -0500
@@ -104,6 +104,15 @@
   inline void do_oop(narrowOop* p);
 };
 
+class ShenandoahCodeBlobAndDisarmClosure: public CodeBlobToOopClosure {
+private:
+  BarrierSetNMethod* const _bs;
+
+public:
+  inline ShenandoahCodeBlobAndDisarmClosure(OopClosure* cl);
+  inline void do_code_blob(CodeBlob* cb);
+};
+
 #ifdef ASSERT
 class ShenandoahAssertNotForwardedClosure : public OopClosure {
 private: