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

Public Member Functions

EntryNext () const
 
void SetNext (Entry *next)
 
void Link (Entry **previous_next)
 
void Unlink (Entry **previous_next)
 
- Public Member Functions inherited from cppgc::internal::HeapObjectHeader
 HeapObjectHeader (size_t size, GCInfoIndex gc_info_index)
 
Address ObjectStart () const
 
template<AccessMode mode = AccessMode::kNonAtomic>
Address ObjectEnd () const
 
template<AccessMode mode = AccessMode::kNonAtomic>
GCInfoIndex GetGCInfoIndex () const
 
template<AccessMode mode = AccessMode::kNonAtomic>
size_t AllocatedSize () const
 
void SetAllocatedSize (size_t size)
 
template<AccessMode mode = AccessMode::kNonAtomic>
size_t ObjectSize () const
 
template<AccessMode mode = AccessMode::kNonAtomic>
bool IsLargeObject () const
 
template<AccessMode = AccessMode::kNonAtomic>
bool IsInConstruction () const
 
V8_EXPORT_PRIVATE void MarkAsFullyConstructed ()
 
template<AccessMode = AccessMode::kNonAtomic>
bool IsMarked () const
 
template<AccessMode = AccessMode::kNonAtomic>
void Unmark ()
 
bool TryMarkAtomic ()
 
void MarkNonAtomic ()
 
template<AccessMode = AccessMode::kNonAtomic>
bool IsYoung () const
 
template<AccessMode = AccessMode::kNonAtomic>
bool IsFree () const
 
bool IsFinalizable () const
 
void Finalize ()
 
V8_EXPORT_PRIVATE HeapObjectName GetName () const
 
V8_EXPORT_PRIVATE HeapObjectName GetName (HeapObjectNameForUnnamedObject) const
 
template<AccessMode = AccessMode::kNonAtomic>
void TraceImpl (Visitor *) const
 

Static Public Member Functions

static EntryCreateAt (void *memory, size_t size)
 
- Static Public Member Functions inherited from cppgc::internal::HeapObjectHeader
static HeapObjectHeaderFromObject (void *address)
 
static const HeapObjectHeaderFromObject (const void *address)
 

Private Member Functions

 Entry (size_t size)
 

Private Attributes

Entrynext_ = nullptr
 

Additional Inherited Members

- Static Public Attributes inherited from cppgc::internal::HeapObjectHeader
static constexpr size_t kSizeLog2 = 17
 
static constexpr size_t kMaxSize = (size_t{1} << kSizeLog2) - 1
 
static constexpr uint16_t kLargeObjectSizeInHeader = 0
 

Detailed Description

Definition at line 25 of file free-list.cc.

Constructor & Destructor Documentation

◆ Entry()

cppgc::internal::FreeList::Entry::Entry ( size_t size)
inlineexplicitprivate

Definition at line 47 of file free-list.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ CreateAt()

static Entry & cppgc::internal::FreeList::Entry::CreateAt ( void * memory,
size_t size )
inlinestatic

Definition at line 27 of file free-list.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Link()

void cppgc::internal::FreeList::Entry::Link ( Entry ** previous_next)
inline

Definition at line 37 of file free-list.cc.

Here is the caller graph for this function:

◆ Next()

Entry * cppgc::internal::FreeList::Entry::Next ( ) const
inline

Definition at line 34 of file free-list.cc.

Here is the caller graph for this function:

◆ SetNext()

void cppgc::internal::FreeList::Entry::SetNext ( Entry * next)
inline

Definition at line 35 of file free-list.cc.

Here is the caller graph for this function:

◆ Unlink()

void cppgc::internal::FreeList::Entry::Unlink ( Entry ** previous_next)
inline

Definition at line 41 of file free-list.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ next_

Entry* cppgc::internal::FreeList::Entry::next_ = nullptr
private

Definition at line 51 of file free-list.cc.


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