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

Classes

struct  Entry
 

Public Member Functions

 MemoryChunkLiveBytesMap ()=default
 
 MemoryChunkLiveBytesMap (const MemoryChunkLiveBytesMap &)=delete
 
MemoryChunkLiveBytesMapoperator= (const MemoryChunkLiveBytesMap &)=delete
 
void Increment (MutablePageMetadata *page, intptr_t live)
 
void FlushAndClear ()
 
void Erase (MutablePageMetadata *page)
 

Private Member Functions

Entrylookup_entry (MutablePageMetadata *page)
 

Private Attributes

std::array< Entry, kTableSizemap_ = {}
 

Static Private Attributes

static constexpr size_t kTableSize = 32
 

Detailed Description

Definition at line 65 of file concurrent-marking.cc.

Constructor & Destructor Documentation

◆ MemoryChunkLiveBytesMap() [1/2]

v8::internal::MemoryChunkLiveBytesMap::MemoryChunkLiveBytesMap ( )
default

◆ MemoryChunkLiveBytesMap() [2/2]

v8::internal::MemoryChunkLiveBytesMap::MemoryChunkLiveBytesMap ( const MemoryChunkLiveBytesMap & )
delete

Member Function Documentation

◆ Erase()

void v8::internal::MemoryChunkLiveBytesMap::Erase ( MutablePageMetadata * page)

Definition at line 114 of file concurrent-marking.cc.

Here is the call graph for this function:

◆ FlushAndClear()

void v8::internal::MemoryChunkLiveBytesMap::FlushAndClear ( )

Definition at line 122 of file concurrent-marking.cc.

◆ Increment()

void v8::internal::MemoryChunkLiveBytesMap::Increment ( MutablePageMetadata * page,
intptr_t live )

Definition at line 97 of file concurrent-marking.cc.

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

◆ lookup_entry()

Entry & v8::internal::MemoryChunkLiveBytesMap::lookup_entry ( MutablePageMetadata * page)
inlineprivate

Definition at line 88 of file concurrent-marking.cc.

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

◆ operator=()

MemoryChunkLiveBytesMap & v8::internal::MemoryChunkLiveBytesMap::operator= ( const MemoryChunkLiveBytesMap & )
delete

Member Data Documentation

◆ kTableSize

size_t v8::internal::MemoryChunkLiveBytesMap::kTableSize = 32
staticconstexprprivate

Definition at line 86 of file concurrent-marking.cc.

◆ map_

std::array<Entry, kTableSize> v8::internal::MemoryChunkLiveBytesMap::map_ = {}
private

Definition at line 94 of file concurrent-marking.cc.


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