< prev index next >
src/share/vm/memory/strongRootsScope.hpp
Print this page
@@ -23,15 +23,23 @@
*/
#ifndef SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP
#define SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP
-#include "memory/iterator.hpp"
+#include "memory/allocation.hpp"
+
+class MarkScope : public StackObj {
+ protected:
+ bool _active;
+ public:
+ MarkScope(bool activate = true);
+ ~MarkScope();
+};
// Sets up and tears down the required state for parallel root processing.
-class StrongRootsScope : public MarkingCodeBlobClosure::MarkScope {
+class StrongRootsScope : public MarkScope {
public:
StrongRootsScope(bool activate = true);
~StrongRootsScope();
};
< prev index next >