#include "src/snapshot/roots-serializer.h"
#include "src/execution/isolate.h"
#include "src/heap/heap.h"
#include "src/objects/slots.h"
namespace v8 {
namespace internal {
RootsSerializer::RootsSerializer(Isolate* isolate,
Snapshot::SerializerFlags flags,
RootIndex first_root_to_be_serialized)
: … { … }
int RootsSerializer::SerializeInObjectCache(Handle<HeapObject> heap_object) { … }
void RootsSerializer::Synchronize(VisitorSynchronization::SyncTag tag) { … }
void RootsSerializer::VisitRootPointers(Root root, const char* description,
FullObjectSlot start,
FullObjectSlot end) { … }
void RootsSerializer::CheckRehashability(Tagged<HeapObject> obj) { … }
}
}