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

#include <ephemeron-remembered-set.h>

Collaboration diagram for v8::internal::EphemeronRememberedSet:

Public Types

using TableList
 
using IndicesSet = std::unordered_set<int>
 
using TableMap
 

Public Member Functions

void RecordEphemeronKeyWrite (Tagged< EphemeronHashTable > table, Address key_slot)
 
void RecordEphemeronKeyWrites (Tagged< EphemeronHashTable > table, IndicesSet indices)
 
TableMaptables ()
 

Static Public Attributes

static constexpr int kEphemeronTableListSegmentSize = 128
 

Private Attributes

base::Mutex insertion_mutex_
 
TableMap tables_
 

Detailed Description

Definition at line 22 of file ephemeron-remembered-set.h.

Member Typedef Documentation

◆ IndicesSet

using v8::internal::EphemeronRememberedSet::IndicesSet = std::unordered_set<int>

Definition at line 28 of file ephemeron-remembered-set.h.

◆ TableList

◆ TableMap

Initial value:
std::unordered_map<Tagged<EphemeronHashTable>, IndicesSet,
Object::Hasher>

Definition at line 29 of file ephemeron-remembered-set.h.

Member Function Documentation

◆ RecordEphemeronKeyWrite()

void v8::internal::EphemeronRememberedSet::RecordEphemeronKeyWrite ( Tagged< EphemeronHashTable > table,
Address key_slot )

Definition at line 12 of file ephemeron-remembered-set.cc.

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

◆ RecordEphemeronKeyWrites()

void v8::internal::EphemeronRememberedSet::RecordEphemeronKeyWrites ( Tagged< EphemeronHashTable > table,
IndicesSet indices )

Definition at line 22 of file ephemeron-remembered-set.cc.

Here is the caller graph for this function:

◆ tables()

TableMap * v8::internal::EphemeronRememberedSet::tables ( )
inline

Definition at line 37 of file ephemeron-remembered-set.h.

Here is the caller graph for this function:

Member Data Documentation

◆ insertion_mutex_

base::Mutex v8::internal::EphemeronRememberedSet::insertion_mutex_
private

Definition at line 40 of file ephemeron-remembered-set.h.

◆ kEphemeronTableListSegmentSize

int v8::internal::EphemeronRememberedSet::kEphemeronTableListSegmentSize = 128
staticconstexpr

Definition at line 24 of file ephemeron-remembered-set.h.

◆ tables_

TableMap v8::internal::EphemeronRememberedSet::tables_
private

Definition at line 41 of file ephemeron-remembered-set.h.


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