src/hotspot/share/memory/universe.hpp
changeset 54781 f3f07c76d3d1
parent 54780 f8d182aedc92
child 58015 dd84de796f2c
--- a/src/hotspot/share/memory/universe.hpp	Thu May 09 14:26:03 2019 +0200
+++ b/src/hotspot/share/memory/universe.hpp	Thu May 09 14:26:03 2019 +0200
@@ -25,6 +25,7 @@
 #ifndef SHARE_MEMORY_UNIVERSE_HPP
 #define SHARE_MEMORY_UNIVERSE_HPP
 
+#include "gc/shared/verifyOption.hpp"
 #include "oops/array.hpp"
 #include "runtime/handles.hpp"
 #include "utilities/growableArray.hpp"
@@ -70,16 +71,6 @@
   void metaspace_pointers_do(MetaspaceClosure* it);
 };
 
-
-enum VerifyOption {
-      VerifyOption_Default = 0,
-
-      // G1
-      VerifyOption_G1UsePrevMarking = VerifyOption_Default,
-      VerifyOption_G1UseNextMarking = VerifyOption_G1UsePrevMarking + 1,
-      VerifyOption_G1UseFullMarking = VerifyOption_G1UseNextMarking + 1
-};
-
 class Universe: AllStatic {
   // Ugh.  Universe is much too friendly.
   friend class MarkSweep;