#include "src/snapshot/shared-heap-serializer.h"
#include "src/heap/read-only-heap.h"
#include "src/objects/objects-inl.h"
#include "src/snapshot/read-only-serializer.h"
namespace v8 {
namespace internal {
bool SharedHeapSerializer::CanBeInSharedOldSpace(Tagged<HeapObject> obj) { … }
bool SharedHeapSerializer::ShouldBeInSharedHeapObjectCache(
Tagged<HeapObject> obj) { … }
SharedHeapSerializer::SharedHeapSerializer(Isolate* isolate,
Snapshot::SerializerFlags flags)
: … { … }
SharedHeapSerializer::~SharedHeapSerializer() { … }
void SharedHeapSerializer::FinalizeSerialization() { … }
bool SharedHeapSerializer::SerializeUsingSharedHeapObjectCache(
SnapshotByteSink* sink, Handle<HeapObject> obj) { … }
void SharedHeapSerializer::SerializeStringTable(StringTable* string_table) { … }
void SharedHeapSerializer::SerializeObjectImpl(Handle<HeapObject> obj,
SlotType slot_type) { … }
bool SharedHeapSerializer::ShouldReconstructSharedHeapObjectCacheForTesting()
const { … }
void SharedHeapSerializer::ReconstructSharedHeapObjectCacheForTesting() { … }
}
}