v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 255 | skipping to change at line 255 | |||
*/ | */ | |||
Handle<String> GetName() const; | Handle<String> GetName() const; | |||
/** | /** | |||
* Returns node id. For the same heap object, the id remains the same | * Returns node id. For the same heap object, the id remains the same | |||
* across all snapshots. | * across all snapshots. | |||
*/ | */ | |||
SnapshotObjectId GetId() const; | SnapshotObjectId GetId() const; | |||
/** Returns node's own size, in bytes. */ | /** Returns node's own size, in bytes. */ | |||
int GetSelfSize() const; | V8_DEPRECATED("Use GetShallowSize instead", | |||
int GetSelfSize() const); | ||||
/** Returns node's own size, in bytes. */ | ||||
size_t GetShallowSize() const; | ||||
/** Returns child nodes count of the node. */ | /** Returns child nodes count of the node. */ | |||
int GetChildrenCount() const; | int GetChildrenCount() const; | |||
/** Retrieves a child by index. */ | /** Retrieves a child by index. */ | |||
const HeapGraphEdge* GetChild(int index) const; | const HeapGraphEdge* GetChild(int index) const; | |||
}; | }; | |||
/** | /** | |||
* HeapSnapshots record the state of the JS heap at some moment. | * HeapSnapshots record the state of the JS heap at some moment. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 5296 | skipping to change at line 5296 | |||
static const int kStringEncodingMask = 0x4; | static const int kStringEncodingMask = 0x4; | |||
static const int kExternalTwoByteRepresentationTag = 0x02; | static const int kExternalTwoByteRepresentationTag = 0x02; | |||
static const int kExternalAsciiRepresentationTag = 0x06; | static const int kExternalAsciiRepresentationTag = 0x06; | |||
static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | |||
static const int kIsolateRootsOffset = 5 * kApiPointerSize; | static const int kIsolateRootsOffset = 5 * kApiPointerSize; | |||
static const int kUndefinedValueRootIndex = 5; | static const int kUndefinedValueRootIndex = 5; | |||
static const int kNullValueRootIndex = 7; | static const int kNullValueRootIndex = 7; | |||
static const int kTrueValueRootIndex = 8; | static const int kTrueValueRootIndex = 8; | |||
static const int kFalseValueRootIndex = 9; | static const int kFalseValueRootIndex = 9; | |||
static const int kEmptyStringRootIndex = 148; | static const int kEmptyStringRootIndex = 141; | |||
static const int kNodeClassIdOffset = 1 * kApiPointerSize; | static const int kNodeClassIdOffset = 1 * kApiPointerSize; | |||
static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | |||
static const int kNodeStateMask = 0xf; | static const int kNodeStateMask = 0xf; | |||
static const int kNodeStateIsWeakValue = 2; | static const int kNodeStateIsWeakValue = 2; | |||
static const int kNodeStateIsPendingValue = 3; | static const int kNodeStateIsPendingValue = 3; | |||
static const int kNodeStateIsNearDeathValue = 4; | static const int kNodeStateIsNearDeathValue = 4; | |||
static const int kNodeIsIndependentShift = 4; | static const int kNodeIsIndependentShift = 4; | |||
static const int kNodeIsPartiallyDependentShift = 5; | static const int kNodeIsPartiallyDependentShift = 5; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||