src/hotspot/share/gc/shenandoah/shenandoahVerifier.hpp
changeset 54882 b99e97bc5040
parent 54848 5d8c5c7bca95
child 55423 970adfac768d
--- a/src/hotspot/share/gc/shenandoah/shenandoahVerifier.hpp	Wed May 15 14:30:22 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahVerifier.hpp	Wed May 15 08:58:23 2019 -0400
@@ -25,6 +25,7 @@
 #define SHARE_GC_SHENANDOAH_SHENANDOAHVERIFIER_HPP
 
 #include "gc/shared/markBitMap.hpp"
+#include "gc/shenandoah/shenandoahRootVerifier.hpp"
 #include "memory/allocation.hpp"
 #include "oops/oopsHierarchy.hpp"
 #include "utilities/stack.hpp"
@@ -189,6 +190,7 @@
 
   // Roots should only contain to-space oops
   void verify_roots_no_forwarded();
+  void verify_roots_no_forwarded_except(ShenandoahRootVerifier::RootTypes types);
 };
 
 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHVERIFIER_HPP