#ifndef V8_HEAP_SCAVENGER_H_
#define V8_HEAP_SCAVENGER_H_
#include "src/base/platform/condition-variable.h"
#include "src/heap/base/worklist.h"
#include "src/heap/ephemeron-remembered-set.h"
#include "src/heap/evacuation-allocator.h"
#include "src/heap/index-generator.h"
#include "src/heap/mutable-page-metadata.h"
#include "src/heap/objects-visiting.h"
#include "src/heap/parallel-work-item.h"
#include "src/heap/pretenuring-handler.h"
#include "src/heap/slot-set.h"
namespace v8 {
namespace internal {
class RootScavengeVisitor;
class Scavenger;
class ScavengeVisitor;
enum class CopyAndForwardResult { … };
ObjectAndSize;
using SurvivingNewLargeObjectsMap =
std::unordered_map<Tagged<HeapObject>, Tagged<Map>, Object::Hasher>;
SurvivingNewLargeObjectMapEntry;
class ScavengerCollector;
class Scavenger { … };
class RootScavengeVisitor final : public RootVisitor { … };
class ScavengerCollector { … };
}
}
#endif