v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
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 1010 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: