|
void | CheckRehashability (Tagged< HeapObject > obj) |
|
int | SerializeInObjectCache (Handle< HeapObject > object) |
|
bool | object_cache_empty () |
|
V8_INLINE bool | IsNotMappedSymbol (Tagged< HeapObject > obj) const |
|
void | SerializeDeferredObjects () |
|
void | SerializeObject (Handle< HeapObject > o, SlotType slot_type) |
|
virtual void | SerializeObjectImpl (Handle< HeapObject > o, SlotType slot_type)=0 |
|
virtual bool | MustBeDeferred (Tagged< HeapObject > object) |
|
void | VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end) override |
|
void | SerializeRootObject (FullObjectSlot slot) |
|
void | PutRoot (RootIndex root_index) |
|
void | PutSmiRoot (FullObjectSlot slot) |
|
void | PutBackReference (Tagged< HeapObject > object, SerializerReference reference) |
|
void | PutAttachedReference (SerializerReference reference) |
|
void | PutNextChunk (SnapshotSpace space) |
|
void | PutRepeatRoot (int repeat_count, RootIndex root_index) |
|
void | PutPendingForwardReference (PendingObjectReferences &ref) |
|
void | ResolvePendingForwardReference (int obj) |
|
bool | SerializeRoot (Tagged< HeapObject > obj) |
|
bool | SerializeHotObject (Tagged< HeapObject > obj) |
|
bool | SerializeBackReference (Tagged< HeapObject > obj) |
|
bool | SerializePendingObject (Tagged< HeapObject > obj) |
|
bool | ObjectIsBytecodeHandler (Tagged< HeapObject > obj) const |
|
ExternalReferenceEncoder::Value | EncodeExternalReference (Address addr) |
|
Maybe< ExternalReferenceEncoder::Value > | TryEncodeExternalReference (Address addr) |
|
bool | SerializeReadOnlyObjectReference (Tagged< HeapObject > obj, SnapshotByteSink *sink) |
|
void | Pad (int padding_offset=0) |
|
void | InitializeCodeAddressMap () |
|
Tagged< InstructionStream > | CopyCode (Tagged< InstructionStream > istream) |
|
void | QueueDeferredObject (Tagged< HeapObject > obj) |
|
void | RegisterObjectIsPending (Tagged< HeapObject > obj) |
|
void | ResolvePendingObject (Tagged< HeapObject > obj) |
|
void | OutputStatistics (const char *name) |
|
void | CountAllocation (Tagged< Map > map, int size, SnapshotSpace space) |
|
SerializerReferenceMap * | reference_map () |
|
const RootIndexMap * | root_index_map () const |
|
bool | allow_unknown_external_references_for_testing () const |
|
bool | allow_active_isolate_for_testing () const |
|
bool | reconstruct_read_only_and_shared_object_caches_for_testing () const |
|
bool | deferred_objects_empty () |
|
bool | serializer_tracks_serialization_statistics () const |
|
void | set_serializer_tracks_serialization_statistics (bool v) |
|
void | RestoreExternalReferenceRedirector (Isolate *isolate, Tagged< AccessorInfo > accessor_info) |
|
void | RestoreExternalReferenceRedirector (Isolate *isolate, Tagged< FunctionTemplateInfo > function_template_info) |
|
|
static void | IterateStartupObjectCache (Isolate *isolate, RootVisitor *visitor) |
|
static void | IterateSharedHeapObjectCache (Isolate *isolate, RootVisitor *visitor) |
|
static const char * | RootName (Root root) |
|
using | PendingObjectReferences = std::vector<int>* |
|
enum class | SlotType { kAnySlot
, kMapSlot
} |
|
enum | Bytecode : uint8_t {
kNewObject = 0x00
, kBackref = 0x04
, kReadOnlyHeapRef
, kStartupObjectCache
,
kRootArray
, kAttachedReference
, kSharedHeapObjectCache
, kNop
,
kSynchronize
, kVariableRepeatRoot
, kOffHeapBackingStore
, kOffHeapResizableBackingStore
,
kEmbedderFieldsData
, kApiWrapperFieldsData
, kVariableRawData
, kApiReference
,
kExternalReference
, kSandboxedApiReference
, kSandboxedExternalReference
, kSandboxedRawExternalReference
,
kClearedWeakReference
, kWeakPrefix
, kRegisterPendingForwardRef
, kResolvePendingForwardRef
,
kNewContextlessMetaMap
, kNewContextfulMetaMap
, kIndirectPointerPrefix
, kInitializeSelfIndirectPointer
,
kAllocateJSDispatchEntry
, kJSDispatchEntry
, kProtectedPointerPrefix
, kRootArrayConstants = 0x40
,
kFixedRawData = 0x60
, kFixedRepeatRoot = 0x80
, kHotObject = 0x90
} |
|
template<Bytecode bytecode> |
using | SpaceEncoder |
|
using | NewObject = SpaceEncoder<kNewObject> |
|
using | FixedRawDataWithSize |
|
using | FixedRepeatRootWithCount |
|
using | RootArrayConstant |
|
using | HotObject = BytecodeValueEncoder<kHotObject, 0, kHotObjectCount - 1> |
|
static bool | CanBeDeferred (Tagged< HeapObject > o, SlotType slot_type) |
|
SnapshotByteSink | sink_ |
|
static const int | kRootArrayConstantsCount = 0x20 |
|
static const int | kFixedRawDataCount = 0x20 |
|
static const int | kFixedRepeatRootCount = 0x10 |
|
static const int | kHotObjectCount = 8 |
|
static const int | kDoubleAlignmentSentinel = 0 |
|
static const int | kFirstEncodableFixedRawDataSize = 1 |
|
static const int | kLastEncodableFixedRawDataSize |
|
static const int | kFirstEncodableRepeatRootCount = 2 |
|
static const int | kLastEncodableFixedRepeatRootCount |
|
static const int | kFirstEncodableVariableRepeatRootCount |
|
static const uint32_t | kEmptyBackingStoreRefSentinel = 0 |
|
Definition at line 23 of file roots-serializer.h.