Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
heap.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <memory>
#include "v8/include/cppgc/allocation.h"
+ Include dependency graph for heap.h:

Go to the source code of this file.

Classes

struct  FXGCHeapDeleter
 

Namespaces

namespace  cppgc
 
namespace  v8
 

Macros

#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Typedefs

using FXGCScopedHeap = std::unique_ptr<cppgc::Heap, FXGCHeapDeleter>
 

Functions

void FXGC_Initialize (v8::Platform *platform, v8::Isolate *isolate)
 
void FXGC_Release ()
 
FXGCScopedHeap FXGC_CreateHeap ()
 
void FXGC_ForceGarbageCollection (cppgc::Heap *heap)
 

Macro Definition Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Value:
template <typename T> \
friend class cppgc::MakeGarbageCollectedTrait

Definition at line 32 of file heap.h.

Typedef Documentation

◆ FXGCScopedHeap

using FXGCScopedHeap = std::unique_ptr<cppgc::Heap, FXGCHeapDeleter>

Definition at line 25 of file heap.h.

Function Documentation

◆ FXGC_CreateHeap()

FXGCScopedHeap FXGC_CreateHeap ( )

Definition at line 66 of file heap.cpp.

◆ FXGC_ForceGarbageCollection()

void FXGC_ForceGarbageCollection ( cppgc::Heap * heap)

Definition at line 86 of file heap.cpp.

Referenced by FXGCHeapDeleter::operator()().

+ Here is the caller graph for this function:

◆ FXGC_Initialize()

void FXGC_Initialize ( v8::Platform * platform,
v8::Isolate * isolate )

Definition at line 51 of file heap.cpp.

Referenced by FXGCUnitTest::SetUp().

+ Here is the caller graph for this function:

◆ FXGC_Release()

void FXGC_Release ( )

Definition at line 59 of file heap.cpp.

Referenced by FXGCUnitTest::TearDown().

+ Here is the caller graph for this function: