v8  10.1.124 (node 18.2.0)
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 ()=default
 

Detailed Description

Callback interface for retrieving user friendly names of global objects.

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

Constructor & Destructor Documentation

◆ ~ObjectNameResolver()

virtual ~ObjectNameResolver ( )
protectedvirtualdefault

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: