// Copyright 2021 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_SNAPSHOT_SHARED_HEAP_SERIALIZER_H_ #define V8_SNAPSHOT_SHARED_HEAP_SERIALIZER_H_ #include "src/snapshot/roots-serializer.h" namespace v8 { namespace internal { class HeapObject; // SharedHeapSerializer serializes objects that should be in the shared heap in // the shared Isolate during startup. Currently the shared heap is only in use // behind flags (e.g. --shared-string-table). When it is not in use, its // contents are deserialized into each Isolate. class V8_EXPORT_PRIVATE SharedHeapSerializer : public RootsSerializer { … }; } // namespace internal } // namespace v8 #endif // V8_SNAPSHOT_SHARED_HEAP_SERIALIZER_H_