#include "src/sandbox/external-pointer-table.h"
#include "src/execution/isolate.h"
#include "src/heap/read-only-spaces.h"
#include "src/logging/counters.h"
#include "src/sandbox/external-pointer-table-inl.h"
#ifdef V8_COMPRESS_POINTERS
namespace v8 {
namespace internal {
void ExternalPointerTable::SetUpFromReadOnlyArtifacts(
Space* read_only_space, const ReadOnlyArtifacts* artifacts) { … }
template <typename Segment, typename Data>
class SegmentsIterator { … };
uint32_t ExternalPointerTable::EvacuateAndSweepAndCompact(Space* space,
Space* from_space,
Counters* counters) { … }
uint32_t ExternalPointerTable::SweepAndCompact(Space* space,
Counters* counters) { … }
uint32_t ExternalPointerTable::Sweep(Space* space, Counters* counters) { … }
void ExternalPointerTable::ResolveEvacuationEntryDuringSweeping(
uint32_t new_index, ExternalPointerHandle* handle_location,
uint32_t start_of_evacuation_area) { … }
void ExternalPointerTable::UpdateAllEvacuationEntries(
Space* space, std::function<Address(Address)> function) { … }
}
}
#endif