< prev index next >
src/share/vm/memory/strongRootsScope.hpp
Print this page
*** 23,37 ****
*/
#ifndef SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP
#define SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP
! #include "memory/iterator.hpp"
// Sets up and tears down the required state for parallel root processing.
! class StrongRootsScope : public MarkingCodeBlobClosure::MarkScope {
public:
StrongRootsScope(bool activate = true);
~StrongRootsScope();
};
--- 23,45 ----
*/
#ifndef SHARE_VM_MEMORY_STRONGROOTSSCOPE_HPP
#define SHARE_VM_MEMORY_STRONGROOTSSCOPE_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 MarkScope {
public:
StrongRootsScope(bool activate = true);
~StrongRootsScope();
};
< prev index next >