v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 278 | skipping to change at line 278 | |||
/** | /** | |||
* 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; | int GetSelfSize() const; | |||
/** | ||||
* Returns node's retained size, in bytes. That is, self + sizes of | ||||
* the objects that are reachable only from this object. In other | ||||
* words, the size of memory that will be reclaimed having this node | ||||
* collected. | ||||
*/ | ||||
int GetRetainedSize() 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; | |||
/** Returns retainer nodes count of the node. */ | ||||
int GetRetainersCount() const; | ||||
/** Returns a retainer by index. */ | ||||
const HeapGraphEdge* GetRetainer(int index) const; | ||||
/** | ||||
* Returns a dominator node. This is the node that participates in every | ||||
* path from the snapshot root to the current node. | ||||
*/ | ||||
const HeapGraphNode* GetDominatorNode() const; | ||||
/** | /** | |||
* Finds and returns a value from the heap corresponding to this node, | * Finds and returns a value from the heap corresponding to this node, | |||
* if the value is still reachable. | * if the value is still reachable. | |||
*/ | */ | |||
Handle<Value> GetHeapValue() const; | Handle<Value> GetHeapValue() 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. 2 change blocks. | ||||
20 lines changed or deleted | 0 lines changed or added | |||
v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 3957 | skipping to change at line 3957 | |||
static const int kFullStringRepresentationMask = 0x07; | static const int kFullStringRepresentationMask = 0x07; | |||
static const int kExternalTwoByteRepresentationTag = 0x02; | static const int kExternalTwoByteRepresentationTag = 0x02; | |||
static const int kIsolateStateOffset = 0; | static const int kIsolateStateOffset = 0; | |||
static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | |||
static const int kIsolateRootsOffset = 3 * kApiPointerSize; | static const int kIsolateRootsOffset = 3 * 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 kEmptySymbolRootIndex = 114; | static const int kEmptySymbolRootIndex = 115; | |||
static const int kJSObjectType = 0xaa; | static const int kJSObjectType = 0xaa; | |||
static const int kFirstNonstringType = 0x80; | static const int kFirstNonstringType = 0x80; | |||
static const int kOddballType = 0x82; | static const int kOddballType = 0x82; | |||
static const int kForeignType = 0x85; | static const int kForeignType = 0x85; | |||
static const int kUndefinedOddballKind = 5; | static const int kUndefinedOddballKind = 5; | |||
static const int kNullOddballKind = 3; | static const int kNullOddballKind = 3; | |||
static inline bool HasHeapObjectTag(internal::Object* value) { | static inline bool HasHeapObjectTag(internal::Object* value) { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||