#include <serializer-deserializer.h>
|
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> |
|
Definition at line 19 of file serializer-deserializer.h.
◆ FixedRawDataWithSize
Initial value:
static const int kFirstEncodableFixedRawDataSize
static const int kLastEncodableFixedRawDataSize
Definition at line 242 of file serializer-deserializer.h.
◆ FixedRepeatRootWithCount
Initial value:
static const int kLastEncodableFixedRepeatRootCount
static const int kFirstEncodableRepeatRootCount
Definition at line 253 of file serializer-deserializer.h.
◆ HotObject
◆ NewObject
◆ RootArrayConstant
◆ SpaceEncoder
Initial value:
interpreter::Bytecode bytecode
static constexpr int kNumberOfSnapshotSpaces
Definition at line 224 of file serializer-deserializer.h.
◆ Bytecode
Enumerator |
---|
kNewObject | |
kBackref | |
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 | |
kFixedRawData | |
kFixedRepeatRoot | |
kHotObject | |
Definition at line 84 of file serializer-deserializer.h.
◆ SlotType
◆ CanBeDeferred()
◆ IterateSharedHeapObjectCache()
void v8::internal::SerializerDeserializer::IterateSharedHeapObjectCache |
( |
Isolate * | isolate, |
|
|
RootVisitor * | visitor ) |
|
static |
◆ IterateStartupObjectCache()
void v8::internal::SerializerDeserializer::IterateStartupObjectCache |
( |
Isolate * | isolate, |
|
|
RootVisitor * | visitor ) |
|
static |
◆ RestoreExternalReferenceRedirector() [1/2]
void v8::internal::SerializerDeserializer::RestoreExternalReferenceRedirector |
( |
Isolate * | isolate, |
|
|
Tagged< AccessorInfo > | accessor_info ) |
|
protected |
◆ RestoreExternalReferenceRedirector() [2/2]
◆ kDoubleAlignmentSentinel
const int v8::internal::SerializerDeserializer::kDoubleAlignmentSentinel = 0 |
|
staticprotected |
◆ kEmptyBackingStoreRefSentinel
const uint32_t v8::internal::SerializerDeserializer::kEmptyBackingStoreRefSentinel = 0 |
|
staticprotected |
◆ kFirstEncodableFixedRawDataSize
const int v8::internal::SerializerDeserializer::kFirstEncodableFixedRawDataSize = 1 |
|
staticprotected |
◆ kFirstEncodableRepeatRootCount
const int v8::internal::SerializerDeserializer::kFirstEncodableRepeatRootCount = 2 |
|
staticprotected |
◆ kFirstEncodableVariableRepeatRootCount
const int v8::internal::SerializerDeserializer::kFirstEncodableVariableRepeatRootCount |
|
staticprotected |
◆ kFixedRawDataCount
const int v8::internal::SerializerDeserializer::kFixedRawDataCount = 0x20 |
|
staticprotected |
◆ kFixedRepeatRootCount
const int v8::internal::SerializerDeserializer::kFixedRepeatRootCount = 0x10 |
|
staticprotected |
◆ kHotObjectCount
const int v8::internal::SerializerDeserializer::kHotObjectCount = 8 |
|
staticprotected |
◆ kLastEncodableFixedRawDataSize
const int v8::internal::SerializerDeserializer::kLastEncodableFixedRawDataSize |
|
staticprotected |
◆ kLastEncodableFixedRepeatRootCount
const int v8::internal::SerializerDeserializer::kLastEncodableFixedRepeatRootCount |
|
staticprotected |
◆ kRootArrayConstantsCount
const int v8::internal::SerializerDeserializer::kRootArrayConstantsCount = 0x20 |
|
staticprotected |
The documentation for this class was generated from the following files: