v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-cppgc.h>
Public Member Functions | |
virtual | ~CppHeap ()=default |
cppgc::AllocationHandle & | GetAllocationHandle () |
cppgc::HeapHandle & | GetHeapHandle () |
void | Terminate () |
cppgc::HeapStatistics | CollectStatistics (cppgc::HeapStatistics::DetailLevel detail_level) |
Static Public Member Functions | |
static std::unique_ptr< CppHeap > | Create (v8::Platform *platform, const CppHeapCreateParams ¶ms) |
Friends | |
class | internal::CppHeap |
A heap for allocating managed C++ objects.
Definition at line 85 of file v8-cppgc.h.
|
virtualdefault |
cppgc::HeapStatistics CollectStatistics | ( | cppgc::HeapStatistics::DetailLevel | detail_level | ) |
detail_level | specifies whether should return detailed statistics or only brief summary statistics. |
|
static |
cppgc::AllocationHandle& GetAllocationHandle | ( | ) |
MakeGarbageCollected()
. cppgc::HeapHandle& GetHeapHandle | ( | ) |
CppHeap
is alive. void Terminate | ( | ) |
Terminate clears all roots and performs multiple garbage collections to reclaim potentially newly created objects in destructors.
After this call, object allocation is prohibited.
|
friend |
Definition at line 124 of file v8-cppgc.h.