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

Public Member Functions

void * operator new (size_t size, int capacity)
 
void * operator new (size_t size)=delete
 
void operator delete (void *description)
 
OffHeapStringHashSettable ()
 
const OffHeapStringHashSettable () const
 
void IterateElements (RootVisitor *visitor)
 
DataPreviousData ()
 
void DropPreviousData ()
 
void Print (PtrComprCageBase cage_base) const
 
size_t GetCurrentMemoryUsage () const
 

Static Public Member Functions

static std::unique_ptr< DataNew (int capacity)
 
static std::unique_ptr< DataResize (PtrComprCageBase cage_base, std::unique_ptr< Data > data, int capacity)
 
template<typename Char >
static Address TryStringToIndexOrLookupExisting (Isolate *isolate, Tagged< String > string, Tagged< String > source, size_t start)
 

Private Member Functions

 Data (int capacity)
 

Private Attributes

std::unique_ptr< Dataprevious_data_
 
OffHeapStringHashSet table_
 

Detailed Description

Definition at line 83 of file string-table.cc.

Constructor & Destructor Documentation

◆ Data()

v8::internal::StringTable::Data::Data ( int capacity)
inlineexplicitprivate

Definition at line 114 of file string-table.cc.

Member Function Documentation

◆ DropPreviousData()

void v8::internal::StringTable::Data::DropPreviousData ( )
inline

Definition at line 108 of file string-table.cc.

◆ GetCurrentMemoryUsage()

size_t v8::internal::StringTable::Data::GetCurrentMemoryUsage ( ) const

Definition at line 131 of file string-table.cc.

Here is the call graph for this function:

◆ IterateElements()

void v8::internal::StringTable::Data::IterateElements ( RootVisitor * visitor)
inline

Definition at line 103 of file string-table.cc.

Here is the call graph for this function:

◆ New()

std::unique_ptr< StringTable::Data > v8::internal::StringTable::Data::New ( int capacity)
static

Definition at line 139 of file string-table.cc.

◆ operator delete()

void v8::internal::StringTable::Data::operator delete ( void * description)

Definition at line 127 of file string-table.cc.

◆ operator new() [1/2]

void * v8::internal::StringTable::Data::operator new ( size_t size)
delete

◆ operator new() [2/2]

void * v8::internal::StringTable::Data::operator new ( size_t size,
int capacity )

Definition at line 120 of file string-table.cc.

◆ PreviousData()

Data * v8::internal::StringTable::Data::PreviousData ( )
inline

Definition at line 107 of file string-table.cc.

◆ Print()

void v8::internal::StringTable::Data::Print ( PtrComprCageBase cage_base) const

Definition at line 151 of file string-table.cc.

◆ Resize()

std::unique_ptr< StringTable::Data > v8::internal::StringTable::Data::Resize ( PtrComprCageBase cage_base,
std::unique_ptr< Data > data,
int capacity )
static

Definition at line 143 of file string-table.cc.

Here is the caller graph for this function:

◆ table() [1/2]

OffHeapStringHashSet & v8::internal::StringTable::Data::table ( )
inline

Definition at line 93 of file string-table.cc.

Here is the caller graph for this function:

◆ table() [2/2]

const OffHeapStringHashSet & v8::internal::StringTable::Data::table ( ) const
inline

Definition at line 94 of file string-table.cc.

◆ TryStringToIndexOrLookupExisting()

template<typename Char >
Address v8::internal::StringTable::Data::TryStringToIndexOrLookupExisting ( Isolate * isolate,
Tagged< String > string,
Tagged< String > source,
size_t start )
static

Definition at line 550 of file string-table.cc.

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

Member Data Documentation

◆ previous_data_

std::unique_ptr<Data> v8::internal::StringTable::Data::previous_data_
private

Definition at line 116 of file string-table.cc.

◆ table_

OffHeapStringHashSet v8::internal::StringTable::Data::table_
private

Definition at line 117 of file string-table.cc.


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