V8 Project
|
Public Member Functions | |
NativeGroupRetainedObjectInfo (const char *label) | |
virtual | ~NativeGroupRetainedObjectInfo () |
virtual void | Dispose () |
Called by V8 when it no longer needs an instance. More... | |
virtual bool | IsEquivalent (RetainedObjectInfo *other) |
Returns whether two instances are equivalent. More... | |
virtual intptr_t | GetHash () |
Returns hash value for the instance. More... | |
virtual const char * | GetLabel () |
Returns human-readable label. More... | |
![]() | |
virtual const char * | GetGroupLabel () |
Returns human-readable group label. More... | |
virtual intptr_t | GetElementCount () |
Returns element count in case if a global handle retains a subgraph by holding one of its nodes. More... | |
virtual intptr_t | GetSizeInBytes () |
Returns embedder's object size in bytes. More... | |
Private Attributes | |
bool | disposed_ |
intptr_t | hash_ |
const char * | label_ |
Additional Inherited Members | |
![]() | |
RetainedObjectInfo () | |
virtual | ~RetainedObjectInfo () |
Definition at line 2432 of file heap-snapshot-generator.cc.
|
inlineexplicit |
Definition at line 2434 of file heap-snapshot-generator.cc.
|
inlinevirtual |
Definition at line 2440 of file heap-snapshot-generator.cc.
|
inlinevirtual |
Called by V8 when it no longer needs an instance.
Implements v8::RetainedObjectInfo.
Definition at line 2441 of file heap-snapshot-generator.cc.
|
inlinevirtual |
Returns hash value for the instance.
Equivalent instances must have the same hash value.
Implements v8::RetainedObjectInfo.
Definition at line 2449 of file heap-snapshot-generator.cc.
References hash_.
|
inlinevirtual |
Returns human-readable label.
It must be a null-terminated UTF-8 encoded string. V8 copies its contents during a call to GetLabel.
Implements v8::RetainedObjectInfo.
Definition at line 2450 of file heap-snapshot-generator.cc.
References label_.
|
inlinevirtual |
Returns whether two instances are equivalent.
Implements v8::RetainedObjectInfo.
Definition at line 2446 of file heap-snapshot-generator.cc.
References v8::RetainedObjectInfo::GetHash(), v8::RetainedObjectInfo::GetLabel(), hash_, and label_.
|
private |
Definition at line 2453 of file heap-snapshot-generator.cc.
Referenced by Dispose().
|
private |
Definition at line 2454 of file heap-snapshot-generator.cc.
Referenced by GetHash(), and IsEquivalent().
|
private |
Definition at line 2455 of file heap-snapshot-generator.cc.
Referenced by GetLabel(), and IsEquivalent().