v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::MakeGarbageCollectedTraitInternal Class Reference

#include <allocation.h>

Inheritance diagram for cppgc::internal::MakeGarbageCollectedTraitInternal:
Collaboration diagram for cppgc::internal::MakeGarbageCollectedTraitInternal:

Classes

struct  AllocationDispatcher
 
struct  AllocationDispatcher< GCInfoType, CustomSpace, api_constants::kDefaultAlignment >
 
struct  AllocationDispatcher< GCInfoType, void, alignment >
 
struct  AllocationDispatcher< GCInfoType, void, api_constants::kDefaultAlignment >
 

Static Protected Member Functions

static void MarkObjectAsFullyConstructed (const void *payload)
 

Static Private Member Functions

static V8_EXPORT void *CPPGC_DEFAULT_ALIGNED Allocate (cppgc::AllocationHandle &, size_t, GCInfoIndex)
 
static V8_EXPORT void *CPPGC_DOUBLE_WORD_ALIGNED Allocate (cppgc::AllocationHandle &, size_t, AlignVal, GCInfoIndex)
 
static V8_EXPORT void *CPPGC_DEFAULT_ALIGNED Allocate (cppgc::AllocationHandle &, size_t, GCInfoIndex, CustomSpaceIndex)
 
static V8_EXPORT void *CPPGC_DOUBLE_WORD_ALIGNED Allocate (cppgc::AllocationHandle &, size_t, AlignVal, GCInfoIndex, CustomSpaceIndex)
 

Friends

class HeapObjectHeader
 

Detailed Description

Definition at line 49 of file allocation.h.

Member Function Documentation

◆ Allocate() [1/4]

CPPGC_FORCE_ALWAYS_INLINE void * cppgc::internal::MakeGarbageCollectedTraitInternal::Allocate ( cppgc::AllocationHandle & handle,
size_t size,
AlignVal alignment,
GCInfoIndex index )
staticprivate

Definition at line 44 of file allocation.cc.

◆ Allocate() [2/4]

CPPGC_FORCE_ALWAYS_INLINE void * cppgc::internal::MakeGarbageCollectedTraitInternal::Allocate ( cppgc::AllocationHandle & handle,
size_t size,
AlignVal alignment,
GCInfoIndex index,
CustomSpaceIndex space_index )
staticprivate

Definition at line 64 of file allocation.cc.

◆ Allocate() [3/4]

CPPGC_FORCE_ALWAYS_INLINE void * cppgc::internal::MakeGarbageCollectedTraitInternal::Allocate ( cppgc::AllocationHandle & handle,
size_t size,
GCInfoIndex index )
staticprivate

Definition at line 36 of file allocation.cc.

Here is the caller graph for this function:

◆ Allocate() [4/4]

CPPGC_FORCE_ALWAYS_INLINE void * cppgc::internal::MakeGarbageCollectedTraitInternal::Allocate ( cppgc::AllocationHandle & handle,
size_t size,
GCInfoIndex index,
CustomSpaceIndex space_index )
staticprivate

Definition at line 54 of file allocation.cc.

◆ MarkObjectAsFullyConstructed()

static void cppgc::internal::MakeGarbageCollectedTraitInternal::MarkObjectAsFullyConstructed ( const void * payload)
inlinestaticprotected

Definition at line 51 of file allocation.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ HeapObjectHeader

friend class HeapObjectHeader
friend

Definition at line 133 of file allocation.h.


The documentation for this class was generated from the following files: