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

Public Member Functions

bool Contains (const HeapObjectHeader *) const
 
void Insert (const HeapObjectHeader *)
 

Private Attributes

std::vector< const HeapObjectHeader * > recently_retraced_cache_
 
size_t last_used_index_ = -1
 

Static Private Attributes

static constexpr size_t kMaxCacheSize = 8
 

Detailed Description

Definition at line 399 of file marking-state.h.

Member Function Documentation

◆ Contains()

bool cppgc::internal::MutatorMarkingState::RecentlyRetracedWeakContainers::Contains ( const HeapObjectHeader * header) const
inline

Definition at line 457 of file marking-state.h.

Here is the caller graph for this function:

◆ Insert()

void cppgc::internal::MutatorMarkingState::RecentlyRetracedWeakContainers::Insert ( const HeapObjectHeader * header)
inline

Definition at line 464 of file marking-state.h.

Here is the caller graph for this function:

Member Data Documentation

◆ kMaxCacheSize

size_t cppgc::internal::MutatorMarkingState::RecentlyRetracedWeakContainers::kMaxCacheSize = 8
staticconstexprprivate

Definition at line 400 of file marking-state.h.

◆ last_used_index_

size_t cppgc::internal::MutatorMarkingState::RecentlyRetracedWeakContainers::last_used_index_ = -1
private

Definition at line 408 of file marking-state.h.

◆ recently_retraced_cache_

std::vector<const HeapObjectHeader*> cppgc::internal::MutatorMarkingState::RecentlyRetracedWeakContainers::recently_retraced_cache_
private

Definition at line 407 of file marking-state.h.


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