V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Public Member Functions | |
RootsSerializer (Isolate *isolate, RootIndex first_root_to_be_serialized) | |
bool | can_be_rehashed () const |
bool | root_has_been_serialized (RootIndex root_index) const |
bool | IsRootAndHasBeenSerialized (HeapObject *obj) const |
Public Member Functions inherited from v8::internal::Serializer | |
Serializer (Isolate *isolate) | |
std::vector< SerializedData::Reservation > | EncodeReservations () const |
const std::vector< byte > * | Payload () const |
bool | ReferenceMapContains (HeapObject *o) |
Isolate * | isolate () const |
Public Member Functions inherited from v8::internal::SerializerDeserializer | |
STATIC_ASSERT (MAP_SPACE==CODE_SPACE+1) | |
STATIC_ASSERT (LAST_SPACE==NEW_LO_SPACE) | |
STATIC_ASSERT (LAST_SPACE - 2==LO_SPACE) | |
Public Member Functions inherited from v8::internal::RootVisitor | |
virtual void | VisitRootPointer (Root root, const char *description, ObjectSlot p) |
Protected Member Functions | |
void | CheckRehashability (HeapObject *obj) |
int | SerializeInObjectCache (HeapObject *object) |
Protected Member Functions inherited from v8::internal::Serializer | |
void | SerializeDeferredObjects () |
virtual void | SerializeObject (HeapObject *o, HowToCode how_to_code, WhereToPoint where_to_point, int skip)=0 |
virtual bool | MustBeDeferred (HeapObject *object) |
void | VisitRootPointers (Root root, const char *description, ObjectSlot start, ObjectSlot end) override |
void | SerializeRootObject (Object *object) |
void | PutRoot (RootIndex root_index, HeapObject *object, HowToCode how, WhereToPoint where, int skip) |
void | PutSmi (Smi smi) |
void | PutBackReference (HeapObject *object, SerializerReference reference) |
void | PutAttachedReference (SerializerReference reference, HowToCode how_to_code, WhereToPoint where_to_point) |
int | PutAlignmentPrefix (HeapObject *object) |
void | PutNextChunk (int space) |
bool | SerializeRoot (HeapObject *obj, HowToCode how_to_code, WhereToPoint where_to_point, int skip) |
bool | SerializeHotObject (HeapObject *obj, HowToCode how_to_code, WhereToPoint where_to_point, int skip) |
bool | SerializeBackReference (HeapObject *obj, HowToCode how_to_code, WhereToPoint where_to_point, int skip) |
bool | ObjectIsBytecodeHandler (HeapObject *obj) const |
void | FlushSkip (int skip) |
ExternalReferenceEncoder::Value | EncodeExternalReference (Address addr) |
void | Pad (int padding_offset=0) |
void | InitializeCodeAddressMap () |
Code | CopyCode (Code code) |
void | QueueDeferredObject (HeapObject *obj) |
void | OutputStatistics (const char *name) |
SerializerReferenceMap * | reference_map () |
const RootIndexMap * | root_index_map () const |
SerializerAllocator * | allocator () |
Protected Member Functions inherited from v8::internal::SerializerDeserializer | |
void | RestoreExternalReferenceRedirectors (const std::vector< AccessorInfo *> &accessor_infos) |
void | RestoreExternalReferenceRedirectors (const std::vector< CallHandlerInfo *> &call_handler_infos) |
STATIC_ASSERT (6==kNumberOfSpaces) | |
STATIC_ASSERT (kNumberOfSpaces<=kSpaceMask+1) | |
STATIC_ASSERT (kNumberOfHotObjects==HotObjectsList::kSize) | |
Additional Inherited Members | |
Static Public Member Functions inherited from v8::internal::SerializerDeserializer | |
static void | Iterate (Isolate *isolate, RootVisitor *visitor) |
Static Public Member Functions inherited from v8::internal::RootVisitor | |
static const char * | RootName (Root root) |
Static Public Attributes inherited from v8::internal::SerializerDeserializer | |
static const int | kNumberOfPreallocatedSpaces = CODE_SPACE + 1 |
static const int | kNumberOfSpaces = LO_SPACE + 1 |
Protected Types inherited from v8::internal::SerializerDeserializer | |
enum | Where { kNewObject = 0x00, kBackref = 0x08, kBackrefWithSkip = 0x10, kPartialSnapshotCache = 0x06, kExternalReference = 0x07, kRootArray = 0x16, kAttachedReference = 0x17, kReadOnlyObjectCache = 0x18 } |
enum | HowToCode { kPlain = 0, kFromCode = 0x20 } |
enum | WhereToPoint { kStartOfObject = 0, kInnerPointer = 0x40 } |
Static Protected Member Functions inherited from v8::internal::Serializer | |
static void | FlushSkip (SnapshotByteSink *sink, int skip) |
Static Protected Member Functions inherited from v8::internal::SerializerDeserializer | |
static bool | CanBeDeferred (HeapObject *o) |
Protected Attributes inherited from v8::internal::Serializer | |
SnapshotByteSink | sink_ |
Protected Attributes inherited from v8::internal::SerializerDeserializer | |
HotObjectsList | hot_objects_ |
Static Protected Attributes inherited from v8::internal::SerializerDeserializer | |
static const int | kWhereMask = 0x1f |
static const int | kSpaceMask = 7 |
static const int | kHowToCodeMask = 0x20 |
static const int | kWhereToPointMask = 0x40 |
static const int | kSkip = 0x0f |
static const int | kNop = 0x2f |
static const int | kNextChunk = 0x4f |
static const int | kDeferred = 0x6f |
static const int | kAlignmentPrefix = 0x19 |
static const int | kSynchronize = 0x1c |
static const int | kVariableRepeat = 0x1d |
static const int | kOffHeapBackingStore = 0x1e |
static const int | kEmbedderFieldsData = 0x1f |
static const int | kVariableRawCode = 0x39 |
static const int | kVariableRawData = 0x3a |
static const int | kInternalReference = 0x3b |
static const int | kInternalReferenceEncoded = 0x3c |
static const int | kApiReference = 0x3d |
static const int | kClearedWeakReference = 0x7d |
static const int | kWeakPrefix = 0x7e |
static const int | kOffHeapTarget = 0x7f |
static const int | kNumberOfRootArrayConstants = 0x20 |
static const int | kRootArrayConstants = 0x80 |
static const int | kRootArrayConstantsWithSkip = 0xa0 |
static const int | kRootArrayConstantsMask = 0x1f |
static const int | kNumberOfFixedRawData = 0x20 |
static const int | kFixedRawData = 0xc0 |
static const int | kOnePointerRawData = kFixedRawData |
static const int | kFixedRawDataStart = kFixedRawData - 1 |
static const int | kNumberOfFixedRepeat = 0x10 |
static const int | kFixedRepeat = 0xe0 |
static const int | kFixedRepeatStart = kFixedRepeat - 1 |
static const int | kNumberOfHotObjects = 8 |
static const int | kHotObject = 0xf0 |
static const int | kHotObjectWithSkip = 0xf8 |
static const int | kHotObjectMask = 0x07 |
static const int | kAnyOldSpace = -1 |
static const int | kDoubleAlignmentSentinel = 0 |
Definition at line 23 of file roots-serializer.h.