v8  8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
cppgc::internal Namespace Reference

Namespaces

 api_constants
 

Data Structures

class  MakeGarbageCollectedTraitInternal
 
class  GarbageCollectedBase
 
struct  HasFinalizeGarbageCollectedObject
 
struct  HasFinalizeGarbageCollectedObject< T, void_t< decltype(std::declval< T >().FinalizeGarbageCollectedObject())> >
 
struct  FinalizerTraitImpl
 
struct  FinalizerTraitImpl< T, true >
 
struct  FinalizerTraitImpl< T, false >
 
struct  FinalizerTrait
 
class  RegisteredGCInfoIndex
 
struct  GCInfoTrait
 
struct  EatParams
 
class  PersistentNode
 
class  PersistentRegion
 
struct  DijkstraWriteBarrierPolicy
 
struct  NoWriteBarrierPolicy
 
class  EnabledCheckingPolicy
 
class  DisabledCheckingPolicy
 
class  KeepLocationPolicy
 
class  IgnoreLocationPolicy
 
struct  StrongPersistentPolicy
 
struct  WeakPersistentPolicy
 
class  BasicPersistent
 
class  BasicMember
 
struct  SentinelPointer
 
class  PreFinalizerRegistrationDispatcher
 
class  __thisIsHereToForceASemicolonAfterThisMacro
 
struct  IsWeak< internal::BasicMember< T, WeakMemberTag, WriteBarrierPolicy, CheckingPolicy > >
 
struct  IsWeak< BasicPersistent< T, internal::WeakPersistentPolicy, LocationPolicy, CheckingPolicy > >
 
class  PrefinalizerRegistration
 
struct  TraceTraitImpl
 
struct  TraceTraitImpl< T, false >
 
struct  TraceTraitImpl< T, true >
 
struct  make_void
 
struct  IsWeak
 
struct  IsSubclassOfTemplate
 
struct  IsTraceMethodConst
 
struct  IsTraceMethodConst< T, void_t< decltype(std::declval< const T >().Trace(std::declval< Visitor * >()))> >
 
struct  IsTraceable
 
struct  IsTraceable< T, void_t< decltype(std::declval< T >().Trace(std::declval< Visitor * >()))> >
 
struct  IsGarbageCollectedMixinType
 
struct  IsGarbageCollectedMixinType< T, void_t< typename std::remove_const_t< T >::IsGarbageCollectedMixinTypeMarker > >
 
struct  IsGarbageCollectedType
 
struct  IsGarbageCollectedType< T, void_t< typename std::remove_const_t< T >::IsGarbageCollectedTypeMarker > >
 

Typedefs

using FinalizationCallback = void(*)(void *)
 
using GCInfoIndex = uint16_t
 
using DefaultCheckingPolicy = DisabledCheckingPolicy
 
using DefaultLocationPolicy = IgnoreLocationPolicy
 
template<typename... Ts>
using void_t = typename make_void< Ts... >::type
 

Functions

cppgc::HeapGetHeapFromPayload (const void *payload)
 
void V8_EXPORT DCheckImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
void V8_EXPORT FatalImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
template<typename T1 , typename WeaknessTag1 , typename WriteBarrierPolicy1 , typename CheckingPolicy1 , typename T2 , typename WeaknessTag2 , typename WriteBarrierPolicy2 , typename CheckingPolicy2 >
bool operator== (BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 > member1, BasicMember< T2, WeaknessTag2, WriteBarrierPolicy2, CheckingPolicy2 > member2)
 
template<typename T1 , typename WeaknessTag1 , typename WriteBarrierPolicy1 , typename CheckingPolicy1 , typename T2 , typename WeaknessTag2 , typename WriteBarrierPolicy2 , typename CheckingPolicy2 >
bool operator!= (BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 > member1, BasicMember< T2, WeaknessTag2, WriteBarrierPolicy2, CheckingPolicy2 > member2)
 
template<typename T1 , typename WeaknessPolicy1 , typename LocationPolicy1 , typename CheckingPolicy1 , typename T2 , typename WeaknessPolicy2 , typename LocationPolicy2 , typename CheckingPolicy2 >
bool operator== (const BasicPersistent< T1, WeaknessPolicy1, LocationPolicy1, CheckingPolicy1 > &p1, const BasicPersistent< T2, WeaknessPolicy2, LocationPolicy2, CheckingPolicy2 > &p2)
 
template<typename T1 , typename WeaknessPolicy1 , typename LocationPolicy1 , typename CheckingPolicy1 , typename T2 , typename WeaknessPolicy2 , typename LocationPolicy2 , typename CheckingPolicy2 >
bool operator!= (const BasicPersistent< T1, WeaknessPolicy1, LocationPolicy1, CheckingPolicy1 > &p1, const BasicPersistent< T2, WeaknessPolicy2, LocationPolicy2, CheckingPolicy2 > &p2)
 
template<typename T1 , typename PersistentWeaknessPolicy , typename PersistentLocationPolicy , typename PersistentCheckingPolicy , typename T2 , typename MemberWriteBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy >
bool operator== (const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &p, BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy > m)
 
template<typename T1 , typename PersistentWeaknessPolicy , typename PersistentLocationPolicy , typename PersistentCheckingPolicy , typename T2 , typename MemberWriteBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy >
bool operator!= (const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &p, BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy > m)
 
template<typename T1 , typename MemberWriteBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy , typename T2 , typename PersistentWeaknessPolicy , typename PersistentLocationPolicy , typename PersistentCheckingPolicy >
bool operator== (BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy > m, const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &p)
 
template<typename T1 , typename MemberWriteBarrierPolicy , typename MemberWeaknessTag , typename MemberCheckingPolicy , typename T2 , typename PersistentWeaknessPolicy , typename PersistentLocationPolicy , typename PersistentCheckingPolicy >
bool operator!= (BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy > m, const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &p)
 
V8_EXPORT void Abort ()
 

Variables

template<typename T >
constexpr bool IsTraceableV = IsTraceable<T>::value
 
template<typename T >
constexpr bool IsGarbageCollectedTypeV
 
template<typename T >
constexpr bool IsGarbageCollectedMixinTypeV
 

Typedef Documentation

◆ DefaultCheckingPolicy

◆ DefaultLocationPolicy

Definition at line 90 of file pointer-policies.h.

◆ FinalizationCallback

using FinalizationCallback = void (*)(void*)

Definition at line 15 of file finalizer-trait.h.

◆ GCInfoIndex

using GCInfoIndex = uint16_t

Definition at line 16 of file gc-info.h.

◆ void_t

using void_t = typename make_void<Ts...>::type

Definition at line 22 of file type-traits.h.

Function Documentation

◆ Abort()

V8_EXPORT void cppgc::internal::Abort ( )

◆ DCheckImpl()

void V8_EXPORT cppgc::internal::DCheckImpl ( const char *  ,
const SourceLocation = SourceLocation::Current() 
)

◆ FatalImpl()

void V8_EXPORT cppgc::internal::FatalImpl ( const char *  ,
const SourceLocation = SourceLocation::Current() 
)

◆ GetHeapFromPayload()

cppgc::Heap* cppgc::internal::GetHeapFromPayload ( const void *  payload)
inline

Definition at line 16 of file accessors.h.

Referenced by PrefinalizerRegistration< T >::PrefinalizerRegistration().

◆ operator!=() [1/4]

bool cppgc::internal::operator!= ( BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 >  member1,
BasicMember< T2, WeaknessTag2, WriteBarrierPolicy2, CheckingPolicy2 >  member2 
)

Definition at line 159 of file member.h.

◆ operator!=() [2/4]

bool cppgc::internal::operator!= ( BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy >  m,
const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &  p 
)

Definition at line 267 of file persistent.h.

◆ operator!=() [3/4]

bool cppgc::internal::operator!= ( const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &  p,
BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy >  m 
)

Definition at line 241 of file persistent.h.

◆ operator!=() [4/4]

bool cppgc::internal::operator!= ( const BasicPersistent< T1, WeaknessPolicy1, LocationPolicy1, CheckingPolicy1 > &  p1,
const BasicPersistent< T2, WeaknessPolicy2, LocationPolicy2, CheckingPolicy2 > &  p2 
)

Definition at line 217 of file persistent.h.

◆ operator==() [1/4]

bool cppgc::internal::operator== ( BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 >  member1,
BasicMember< T2, WeaknessTag2, WriteBarrierPolicy2, CheckingPolicy2 >  member2 
)

Definition at line 149 of file member.h.

◆ operator==() [2/4]

bool cppgc::internal::operator== ( BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy >  m,
const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &  p 
)

Definition at line 254 of file persistent.h.

◆ operator==() [3/4]

bool cppgc::internal::operator== ( const BasicPersistent< T1, PersistentWeaknessPolicy, PersistentLocationPolicy, PersistentCheckingPolicy > &  p,
BasicMember< T2, MemberWeaknessTag, MemberWriteBarrierPolicy, MemberCheckingPolicy >  m 
)

Definition at line 228 of file persistent.h.

◆ operator==() [4/4]

bool cppgc::internal::operator== ( const BasicPersistent< T1, WeaknessPolicy1, LocationPolicy1, CheckingPolicy1 > &  p1,
const BasicPersistent< T2, WeaknessPolicy2, LocationPolicy2, CheckingPolicy2 > &  p2 
)

Definition at line 207 of file persistent.h.

Variable Documentation

◆ IsGarbageCollectedMixinTypeV

constexpr bool IsGarbageCollectedMixinTypeV
constexpr
Initial value:
=
internal::IsGarbageCollectedMixinType<T>::value

Definition at line 99 of file type-traits.h.

◆ IsGarbageCollectedTypeV

constexpr bool IsGarbageCollectedTypeV
constexpr
Initial value:
=
internal::IsGarbageCollectedType<T>::value

Definition at line 95 of file type-traits.h.

◆ IsTraceableV

constexpr bool IsTraceableV = IsTraceable<T>::value
constexpr

Definition at line 67 of file type-traits.h.