v8-profiler.h | v8-profiler.h | |||
---|---|---|---|---|
skipping to change at line 424 | skipping to change at line 424 | |||
static void DefineWrapperClass( | static void DefineWrapperClass( | |||
uint16_t class_id, | uint16_t class_id, | |||
WrapperInfoCallback callback); | WrapperInfoCallback callback); | |||
/** | /** | |||
* Default value of persistent handle class ID. Must not be used to | * Default value of persistent handle class ID. Must not be used to | |||
* define a class. Can be used to reset a class of a persistent | * define a class. Can be used to reset a class of a persistent | |||
* handle. | * handle. | |||
*/ | */ | |||
static const uint16_t kPersistentHandleNoClassId = 0; | static const uint16_t kPersistentHandleNoClassId = 0; | |||
/** Returns the number of currently existing persistent handles. */ | ||||
static int GetPersistentHandleCount(); | ||||
}; | }; | |||
/** | /** | |||
* Interface for providing information about embedder's objects | * Interface for providing information about embedder's objects | |||
* held by global handles. This information is reported in two ways: | * held by global handles. This information is reported in two ways: | |||
* | * | |||
* 1. When calling AddObjectGroup, an embedder may pass | * 1. When calling AddObjectGroup, an embedder may pass | |||
* RetainedObjectInfo instance describing the group. To collect | * RetainedObjectInfo instance describing the group. To collect | |||
* this information while taking a heap snapshot, V8 calls GC | * this information while taking a heap snapshot, V8 calls GC | |||
* prologue and epilogue callbacks. | * prologue and epilogue callbacks. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||