v8  4.5.103 (node 4.8.7)
V8 is Google's open source JavaScript engine
HeapProfiler::ObjectNameResolver Class Referenceabstract

#include <v8-profiler.h>

Public Member Functions

virtual const char * GetName (Local< Object > object)=0
 

Protected Member Functions

virtual ~ObjectNameResolver ()
 

Detailed Description

Callback interface for retrieving user friendly names of global objects.

Definition at line 471 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ ~ObjectNameResolver()

virtual ~ObjectNameResolver ( )
inlineprotectedvirtual

Definition at line 480 of file v8-profiler.h.

Member Function Documentation

◆ GetName()

virtual const char* GetName ( Local< Object object)
pure virtual

Returns name to be used in the heap snapshot for given node. Returned string must stay alive until snapshot collection is completed.


The documentation for this class was generated from the following file: