#ifndef V8_HEAP_MARKING_STATE_H_
#define V8_HEAP_MARKING_STATE_H_
#include "src/common/globals.h"
#include "src/heap/marking.h"
#include "src/objects/heap-object.h"
namespace v8 {
namespace internal {
class MemoryChunkMetadata;
class MutablePageMetadata;
template <typename ConcreteState, AccessMode access_mode>
class MarkingStateBase { … };
class MarkingState final
: public MarkingStateBase<MarkingState, AccessMode::ATOMIC> { … };
class NonAtomicMarkingState final
: public MarkingStateBase<NonAtomicMarkingState, AccessMode::NON_ATOMIC> { … };
}
}
#endif