#ifndef V8_HEAP_MINOR_MARK_SWEEP_INL_H_
#define V8_HEAP_MINOR_MARK_SWEEP_INL_H_
#include <atomic>
#include <optional>
#include "src/base/build_config.h"
#include "src/common/globals.h"
#include "src/heap/minor-mark-sweep.h"
#include "src/heap/mutable-page-metadata.h"
#include "src/heap/remembered-set-inl.h"
#include "src/heap/young-generation-marking-visitor-inl.h"
#include "src/objects/heap-object.h"
#include "src/objects/map.h"
#include "src/objects/string.h"
#include "src/roots/static-roots.h"
namespace v8 {
namespace internal {
void YoungGenerationRootMarkingVisitor::VisitRootPointer(
Root root, const char* description, FullObjectSlot p) { … }
void YoungGenerationRootMarkingVisitor::VisitRootPointers(
Root root, const char* description, FullObjectSlot start,
FullObjectSlot end) { … }
template <typename TSlot>
void YoungGenerationRootMarkingVisitor::VisitPointersImpl(Root root,
TSlot start,
TSlot end) { … }
template <typename Visitor>
bool YoungGenerationRememberedSetsMarkingWorklist::ProcessNextItem(
Visitor* visitor, std::optional<size_t>& index) { … }
template <typename Visitor>
void YoungGenerationRememberedSetsMarkingWorklist::MarkingItem::Process(
Visitor* visitor) { … }
template <typename Visitor>
void YoungGenerationRememberedSetsMarkingWorklist::MarkingItem::
MarkUntypedPointers(Visitor* visitor) { … }
template <typename Visitor>
void YoungGenerationRememberedSetsMarkingWorklist::MarkingItem::
MarkTypedPointers(Visitor* visitor) { … }
template <typename Visitor, typename TSlot>
V8_INLINE SlotCallbackResult
YoungGenerationRememberedSetsMarkingWorklist::MarkingItem::CheckAndMarkObject(
Visitor* visitor, TSlot slot) { … }
}
}
#endif