v8  6.8.275 (node 10.15.3)
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 780 of file v8-profiler.h.

Constructor & Destructor Documentation

◆ ~ObjectNameResolver()

virtual ~ObjectNameResolver ( )

Definition at line 789 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: