|
static void | IterateStartupObjectCache (Isolate *isolate, RootVisitor *visitor) |
|
static void | IterateSharedHeapObjectCache (Isolate *isolate, RootVisitor *visitor) |
|
static const char * | RootName (Root root) |
|
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> |
|
| Deserializer (Isolate *isolate, base::Vector< const uint8_t > payload, uint32_t magic_number, bool deserializing_user_code, bool can_rehash) |
|
void | DeserializeDeferredObjects () |
|
void | LogNewObjectEvents () |
|
void | LogScriptEvents (Tagged< Script > script) |
|
void | LogNewMapEvents () |
|
void | WeakenDescriptorArrays () |
|
Handle< HeapObject > | GetBackReferencedObject () |
|
Handle< HeapObject > | GetBackReferencedObject (uint32_t index) |
|
void | AddAttachedObject (DirectHandle< HeapObject > attached_object) |
|
Isolate * | isolate () const |
|
Isolate * | main_thread_isolate () const |
|
SnapshotByteSource * | source () |
|
base::Vector< const DirectHandle< AllocationSite > > | new_allocation_sites () const |
|
base::Vector< const DirectHandle< InstructionStream > > | new_code_objects () const |
|
base::Vector< const DirectHandle< Map > > | new_maps () const |
|
base::Vector< const DirectHandle< AccessorInfo > > | accessor_infos () const |
|
base::Vector< const DirectHandle< FunctionTemplateInfo > > | function_template_infos () const |
|
base::Vector< const DirectHandle< Script > > | new_scripts () const |
|
std::shared_ptr< BackingStore > | backing_store (size_t i) |
|
bool | deserializing_user_code () const |
|
bool | should_rehash () const |
|
void | PushObjectToRehash (DirectHandle< HeapObject > object) |
|
void | Rehash () |
|
DirectHandle< HeapObject > | ReadObject () |
|
void | RestoreExternalReferenceRedirector (Isolate *isolate, Tagged< AccessorInfo > accessor_info) |
|
void | RestoreExternalReferenceRedirector (Isolate *isolate, Tagged< FunctionTemplateInfo > function_template_info) |
|
static bool | CanBeDeferred (Tagged< HeapObject > o, SlotType slot_type) |
|
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 16 of file read-only-deserializer.h.