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

Namespaces

 api_constants
 

Data Structures

class  MakeGarbageCollectedTraitInternal
 
class  CrossThreadPersistentBase
 
class  BasicCrossThreadPersistent
 
struct  IsWeak< BasicCrossThreadPersistent< T, internal::WeakCrossThreadPersistentPolicy, LocationPolicy, CheckingPolicy > >
 
struct  IsAllocatedOnCompactableSpaceImpl
 
struct  IsAllocatedOnCompactableSpaceImpl< void >
 
struct  IsAllocatedOnCompactableSpace
 
class  GarbageCollectedBase
 
class  AtomicEntryFlag
 
struct  CagedHeapLocalData
 
struct  HasFinalizeGarbageCollectedObject
 
struct  HasFinalizeGarbageCollectedObject< T, void_t< decltype(std::declval< T >().FinalizeGarbageCollectedObject())> >
 
struct  FinalizerTraitImpl
 
struct  FinalizerTraitImpl< T, true >
 
struct  FinalizerTraitImpl< T, false >
 
struct  FinalizerTrait
 
struct  GCInfoFolding
 
struct  GCInfoTrait
 
struct  EatParams
 
struct  HeapObjectName
 
class  NameTraitBase
 
class  NameTrait
 
class  PersistentNode
 
class  PersistentRegion
 
class  PersistentRegionLock
 
class  CrossThreadPersistentRegion
 
struct  DijkstraWriteBarrierPolicy
 
struct  NoWriteBarrierPolicy
 
class  EnabledCheckingPolicy
 
class  DisabledCheckingPolicy
 
class  KeepLocationPolicy
 
class  IgnoreLocationPolicy
 
struct  StrongPersistentPolicy
 
struct  WeakPersistentPolicy
 
struct  StrongCrossThreadPersistentPolicy
 
struct  WeakCrossThreadPersistentPolicy
 
class  BasicPersistent
 
class  BasicMember
 
class  PreFinalizerRegistrationDispatcher
 
class  WriteBarrier
 
class  WriteBarrierTypeForNonCagedHeapPolicy
 
class  MemberBase
 
struct  IsWeak< internal::BasicMember< T, WeakMemberTag, WriteBarrierPolicy, CheckingPolicy > >
 
struct  BaseObjectSizeTrait
 
class  PersistentBase
 
struct  IsWeak< BasicPersistent< T, internal::WeakPersistentPolicy, LocationPolicy, CheckingPolicy > >
 
class  PrefinalizerRegistration
 
struct  SentinelPointer
 
struct  TraceTraitImpl
 
struct  TraceTraitFromInnerAddressImpl
 
struct  TraceTraitBase
 
struct  TraceTraitImpl< T, false >
 
struct  TraceTraitImpl< T, true >
 
struct  make_void
 
struct  IsWeak
 
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  HasGarbageCollectedMixinTypeMarker
 
struct  HasGarbageCollectedMixinTypeMarker< T, void_t< typename std::remove_const_t< T >::IsGarbageCollectedMixinTypeMarker > >
 
struct  HasGarbageCollectedTypeMarker
 
struct  HasGarbageCollectedTypeMarker< T, void_t< typename std::remove_const_t< T >::IsGarbageCollectedTypeMarker > >
 
struct  IsGarbageCollectedMixinType
 
struct  IsGarbageCollectedMixinType< T, false, true >
 
struct  IsGarbageCollectedType
 
struct  IsGarbageCollectedType< T, true >
 
struct  IsGarbageCollectedOrMixinType
 
struct  IsGarbageCollectedWithMixinType
 
struct  IsGarbageCollectedWithMixinType< T, true >
 
struct  IsSubclassOfBasicMemberTemplate
 
struct  IsMemberType
 
struct  IsMemberType< T, true >
 
struct  IsWeakMemberType
 
struct  IsWeakMemberType< T, true >
 
struct  IsUntracedMemberType
 
struct  IsUntracedMemberType< T, true >
 
struct  IsComplete
 

Typedefs

using FinalizationCallback = void(*)(void *)
 
using GCInfoIndex = uint16_t
 
using NameCallback = HeapObjectName(*)(const void *)
 
using DefaultMemberCheckingPolicy = DisabledCheckingPolicy
 
using DefaultPersistentCheckingPolicy = DisabledCheckingPolicy
 
using DefaultCrossThreadPersistentCheckingPolicy = DisabledCheckingPolicy
 
using DefaultLocationPolicy = IgnoreLocationPolicy
 
template<typename... Ts>
using void_t = typename make_void< Ts... >::type
 

Functions

V8_EXPORT void FreeUnreferencedObject (HeapHandle &, void *)
 
V8_EXPORT bool Resize (void *, size_t)
 
V8_EXPORT GCInfoIndex EnsureGCInfoIndex (std::atomic< GCInfoIndex > &registered_index, FinalizationCallback, TraceCallback, NameCallback, bool)
 
void V8_EXPORT DCheckImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
void V8_EXPORT FatalImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
template<WriteBarrier::Type type>
V8_INLINE WriteBarrier::Type SetAndReturnType (WriteBarrier::Params &params)
 
template<typename T1 , typename WeaknessTag1 , typename WriteBarrierPolicy1 , typename CheckingPolicy1 , typename T2 , typename WeaknessTag2 , typename WriteBarrierPolicy2 , typename CheckingPolicy2 >
bool operator== (const BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 > &member1, const 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!= (const BasicMember< T1, WeaknessTag1, WriteBarrierPolicy1, CheckingPolicy1 > &member1, const 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
 

Detailed Description

Implementation details of cppgc. Those details are considered internal and may change at any point in time without notice. Users should never rely on the contents of this namespace.

Typedef Documentation

◆ DefaultCrossThreadPersistentCheckingPolicy

◆ DefaultLocationPolicy

◆ DefaultMemberCheckingPolicy

◆ DefaultPersistentCheckingPolicy

◆ FinalizationCallback

using FinalizationCallback = void (*)(void*)

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

◆ GCInfoIndex

using GCInfoIndex = uint16_t

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

◆ NameCallback

using NameCallback = HeapObjectName (*)(const void*)

Definition at line 104 of file name-trait.h.

◆ void_t

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

Definition at line 33 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() 
)

◆ EnsureGCInfoIndex()

V8_EXPORT GCInfoIndex cppgc::internal::EnsureGCInfoIndex ( std::atomic< GCInfoIndex > &  registered_index,
FinalizationCallback  ,
TraceCallback  ,
NameCallback  ,
bool   
)

◆ FatalImpl()

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

◆ FreeUnreferencedObject()

V8_EXPORT void cppgc::internal::FreeUnreferencedObject ( HeapHandle &  ,
void *   
)

◆ operator!=() [1/4]

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

Definition at line 334 of file persistent.h.

◆ operator!=() [2/4]

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

Definition at line 241 of file member.h.

◆ operator!=() [3/4]

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

Definition at line 308 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 284 of file persistent.h.

◆ operator==() [1/4]

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

Definition at line 321 of file persistent.h.

◆ operator==() [2/4]

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

Definition at line 231 of file member.h.

◆ operator==() [3/4]

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

Definition at line 295 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 274 of file persistent.h.

◆ Resize()

V8_EXPORT bool cppgc::internal::Resize ( void *  ,
size_t   
)

Referenced by cppgc::subtle::Resize().

◆ SetAndReturnType()

Variable Documentation

◆ IsTraceableV

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

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