v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
allocation.h File Reference
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <new>
#include <type_traits>
#include <utility>
#include "cppgc/custom-space.h"
#include "cppgc/internal/api-constants.h"
#include "cppgc/internal/gc-info.h"
#include "cppgc/type-traits.h"
#include "v8config.h"
Include dependency graph for allocation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MakeGarbageCollectedTraitInternal
 
struct  MakeGarbageCollectedTraitInternal::AllocationDispatcher< GCInfoType, CustomSpace, alignment >
 
struct  MakeGarbageCollectedTraitInternal::AllocationDispatcher< GCInfoType, void, api_constants::kDefaultAlignment >
 
struct  MakeGarbageCollectedTraitInternal::AllocationDispatcher< GCInfoType, void, alignment >
 
struct  MakeGarbageCollectedTraitInternal::AllocationDispatcher< GCInfoType, CustomSpace, api_constants::kDefaultAlignment >
 
class  MakeGarbageCollectedTraitBase< T >
 
struct  AdditionalBytes
 
class  MakeGarbageCollectedTrait< T >
 
struct  PostConstructionCallbackTrait< T, typename >
 

Namespaces

namespace  cppgc
 
namespace  cppgc::internal
 

Macros

#define CPPGC_DEFAULT_ALIGNED
 
#define CPPGC_DOUBLE_WORD_ALIGNED
 

Enumerations

enum class  AlignVal : size_t
 

Functions

template<typename T , typename... Args>
V8_INLINE T * MakeGarbageCollected (AllocationHandle &handle, Args &&... args)
 
template<typename T , typename... Args>
V8_INLINE T * MakeGarbageCollected (AllocationHandle &handle, AdditionalBytes additional_bytes, Args &&... args)
 

Macro Definition Documentation

◆ CPPGC_DEFAULT_ALIGNED

#define CPPGC_DEFAULT_ALIGNED

Definition at line 31 of file allocation.h.

◆ CPPGC_DOUBLE_WORD_ALIGNED

#define CPPGC_DOUBLE_WORD_ALIGNED

Definition at line 35 of file allocation.h.