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

#include <string-forwarding-table-inl.h>

Collaboration diagram for v8::internal::StringForwardingTable::Block:

Public Member Functions

 Block (int capacity)
 
int capacity () const
 
void * operator new (size_t size, int capacity)
 
void * operator new (size_t size)=delete
 
void operator delete (void *data)
 
Recordrecord (int index)
 
const Recordrecord (int index) const
 
void UpdateAfterYoungEvacuation (PtrComprCageBase cage_base)
 
void UpdateAfterYoungEvacuation (PtrComprCageBase cage_base, int up_to_index)
 
void UpdateAfterFullEvacuation (PtrComprCageBase cage_base)
 
void UpdateAfterFullEvacuation (PtrComprCageBase cage_base, int up_to_index)
 

Static Public Member Functions

static std::unique_ptr< BlockNew (int capacity)
 

Private Attributes

const int capacity_
 
Record elements_ [1]
 

Detailed Description

Definition at line 233 of file string-forwarding-table-inl.h.

Constructor & Destructor Documentation

◆ Block()

v8::internal::StringForwardingTable::Block::Block ( int capacity)
explicit

Definition at line 19 of file string-forwarding-table.cc.

Here is the call graph for this function:

Member Function Documentation

◆ capacity()

int v8::internal::StringForwardingTable::Block::capacity ( ) const
inline

Definition at line 237 of file string-forwarding-table-inl.h.

◆ New()

std::unique_ptr< StringForwardingTable::Block > v8::internal::StringForwardingTable::Block::New ( int capacity)
static

Definition at line 57 of file string-forwarding-table.cc.

Here is the caller graph for this function:

◆ operator delete()

void v8::internal::StringForwardingTable::Block::operator delete ( void * data)

Definition at line 53 of file string-forwarding-table.cc.

Here is the call graph for this function:

◆ operator new() [1/2]

void * v8::internal::StringForwardingTable::Block::operator new ( size_t size)
delete

◆ operator new() [2/2]

void * v8::internal::StringForwardingTable::Block::operator new ( size_t size,
int capacity )

Definition at line 29 of file string-forwarding-table.cc.

Here is the call graph for this function:

◆ record() [1/2]

Record * v8::internal::StringForwardingTable::Block::record ( int index)
inline

Definition at line 242 of file string-forwarding-table-inl.h.

Here is the caller graph for this function:

◆ record() [2/2]

const Record * v8::internal::StringForwardingTable::Block::record ( int index) const
inline

Definition at line 247 of file string-forwarding-table-inl.h.

◆ UpdateAfterFullEvacuation() [1/2]

void v8::internal::StringForwardingTable::Block::UpdateAfterFullEvacuation ( PtrComprCageBase cage_base)

Definition at line 67 of file string-forwarding-table.cc.

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

◆ UpdateAfterFullEvacuation() [2/2]

void v8::internal::StringForwardingTable::Block::UpdateAfterFullEvacuation ( PtrComprCageBase cage_base,
int up_to_index )

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

Here is the call graph for this function:

◆ UpdateAfterYoungEvacuation() [1/2]

void v8::internal::StringForwardingTable::Block::UpdateAfterYoungEvacuation ( PtrComprCageBase cage_base)

Definition at line 62 of file string-forwarding-table.cc.

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

◆ UpdateAfterYoungEvacuation() [2/2]

void v8::internal::StringForwardingTable::Block::UpdateAfterYoungEvacuation ( PtrComprCageBase cage_base,
int up_to_index )

Definition at line 91 of file string-forwarding-table.cc.

Here is the call graph for this function:

Member Data Documentation

◆ capacity_

const int v8::internal::StringForwardingTable::Block::capacity_
private

Definition at line 258 of file string-forwarding-table-inl.h.

◆ elements_

Record v8::internal::StringForwardingTable::Block::elements_[1]
private

Definition at line 259 of file string-forwarding-table-inl.h.


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