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

Public Member Functions

 ExternalStringTable (Heap *heap)
 
 ExternalStringTable (const ExternalStringTable &)=delete
 
ExternalStringTableoperator= (const ExternalStringTable &)=delete
 
void AddString (Tagged< String > string)
 
bool Contains (Tagged< String > string)
 
void IterateAll (RootVisitor *v)
 
void IterateYoung (RootVisitor *v)
 
void PromoteYoung ()
 
void CleanUpAll ()
 
void CleanUpYoung ()
 
void TearDown ()
 
void UpdateYoungReferences (Heap::ExternalStringTableUpdaterCallback updater_func)
 
void UpdateReferences (Heap::ExternalStringTableUpdaterCallback updater_func)
 
bool HasYoung () const
 

Private Member Functions

void Verify ()
 
void VerifyYoung ()
 

Private Attributes

Heap *const heap_
 
std::vector< TaggedBaseyoung_strings_
 
std::vector< TaggedBaseold_strings_
 
base::Mutex mutex_
 

Detailed Description

Definition at line 1661 of file heap.h.

Constructor & Destructor Documentation

◆ ExternalStringTable() [1/2]

v8::internal::Heap::ExternalStringTable::ExternalStringTable ( Heap * heap)
inlineexplicit

Definition at line 1663 of file heap.h.

◆ ExternalStringTable() [2/2]

v8::internal::Heap::ExternalStringTable::ExternalStringTable ( const ExternalStringTable & )
delete

Member Function Documentation

◆ AddString()

void v8::internal::Heap::ExternalStringTable::AddString ( Tagged< String > string)
inline

Definition at line 357 of file heap-inl.h.

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

◆ CleanUpAll()

void v8::internal::Heap::ExternalStringTable::CleanUpAll ( )

Definition at line 6709 of file heap.cc.

Here is the call graph for this function:

◆ CleanUpYoung()

void v8::internal::Heap::ExternalStringTable::CleanUpYoung ( )

Definition at line 6688 of file heap.cc.

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

◆ Contains()

bool v8::internal::Heap::ExternalStringTable::Contains ( Tagged< String > string)

Definition at line 2685 of file heap.cc.

Here is the caller graph for this function:

◆ HasYoung()

bool v8::internal::Heap::ExternalStringTable::HasYoung ( ) const
inline

Definition at line 1688 of file heap.h.

Here is the caller graph for this function:

◆ IterateAll()

void v8::internal::Heap::ExternalStringTable::IterateAll ( RootVisitor * v)

Definition at line 2853 of file heap.cc.

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

◆ IterateYoung()

void v8::internal::Heap::ExternalStringTable::IterateYoung ( RootVisitor * v)

Definition at line 2844 of file heap.cc.

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

◆ operator=()

ExternalStringTable & v8::internal::Heap::ExternalStringTable::operator= ( const ExternalStringTable & )
delete

◆ PromoteYoung()

void v8::internal::Heap::ExternalStringTable::PromoteYoung ( )

Definition at line 2837 of file heap.cc.

◆ TearDown()

void v8::internal::Heap::ExternalStringTable::TearDown ( )

Definition at line 6731 of file heap.cc.

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

◆ UpdateReferences()

void v8::internal::Heap::ExternalStringTable::UpdateReferences ( Heap::ExternalStringTableUpdaterCallback updater_func)

Definition at line 2868 of file heap.cc.

Here is the caller graph for this function:

◆ UpdateYoungReferences()

void v8::internal::Heap::ExternalStringTable::UpdateYoungReferences ( Heap::ExternalStringTableUpdaterCallback updater_func)

Definition at line 2805 of file heap.cc.

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

◆ Verify()

void v8::internal::Heap::ExternalStringTable::Verify ( )
private

Definition at line 2780 of file heap.cc.

Here is the call graph for this function:

◆ VerifyYoung()

void v8::internal::Heap::ExternalStringTable::VerifyYoung ( )
private

Definition at line 2756 of file heap.cc.

Here is the call graph for this function:

Member Data Documentation

◆ heap_

Heap* const v8::internal::Heap::ExternalStringTable::heap_
private

Definition at line 1694 of file heap.h.

◆ mutex_

base::Mutex v8::internal::Heap::ExternalStringTable::mutex_
private

Definition at line 1701 of file heap.h.

◆ old_strings_

std::vector<TaggedBase> v8::internal::Heap::ExternalStringTable::old_strings_
private

Definition at line 1699 of file heap.h.

◆ young_strings_

std::vector<TaggedBase> v8::internal::Heap::ExternalStringTable::young_strings_
private

Definition at line 1698 of file heap.h.


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