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

#include <read-only-spaces.h>

Collaboration diagram for v8::internal::ReadOnlyArtifacts:

Classes

struct  ExternalPointerRegistryEntry
 

Public Member Functions

 ReadOnlyArtifacts ()=default
 
 ~ReadOnlyArtifacts ()
 
void Initialize (Isolate *isolate, std::vector< ReadOnlyPageMetadata * > &&pages, const AllocationStats &stats)
 
void ReinstallReadOnlySpace (Isolate *isolate)
 
void VerifyHeapAndSpaceRelationships (Isolate *isolate)
 
std::vector< ReadOnlyPageMetadata * > & pages ()
 
const AllocationStatsaccounting_stats () const
 
SharedReadOnlySpaceshared_read_only_space ()
 
void set_read_only_heap (std::unique_ptr< ReadOnlyHeap > read_only_heap)
 
ReadOnlyHeapread_only_heap () const
 
void set_initial_next_unique_sfi_id (uint32_t id)
 
uint32_t initial_next_unique_sfi_id () const
 
void set_external_pointer_registry (std::vector< ExternalPointerRegistryEntry > &&registry)
 
const std::vector< ExternalPointerRegistryEntry > & external_pointer_registry () const
 
void InitializeChecksum (SnapshotData *read_only_snapshot_data)
 
void VerifyChecksum (SnapshotData *read_only_snapshot_data, bool read_only_heap_created)
 

Private Attributes

std::vector< ReadOnlyPageMetadata * > pages_
 
AllocationStats stats_
 
std::unique_ptr< SharedReadOnlySpaceshared_read_only_space_
 
std::unique_ptr< ReadOnlyHeapread_only_heap_
 
uint32_t initial_next_unique_sfi_id_ = 0
 
std::vector< ExternalPointerRegistryEntryexternal_pointer_registry_
 
v8::PageAllocatorpage_allocator_ = nullptr
 

Friends

class ReadOnlyHeap
 

Detailed Description

Definition at line 70 of file read-only-spaces.h.

Constructor & Destructor Documentation

◆ ReadOnlyArtifacts()

v8::internal::ReadOnlyArtifacts::ReadOnlyArtifacts ( )
default

◆ ~ReadOnlyArtifacts()

v8::internal::ReadOnlyArtifacts::~ReadOnlyArtifacts ( )

Definition at line 29 of file read-only-spaces.cc.

Here is the call graph for this function:

Member Function Documentation

◆ accounting_stats()

const AllocationStats & v8::internal::ReadOnlyArtifacts::accounting_stats ( ) const
inline

Definition at line 91 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ external_pointer_registry()

const std::vector< ExternalPointerRegistryEntry > & v8::internal::ReadOnlyArtifacts::external_pointer_registry ( ) const
inline

Definition at line 120 of file read-only-spaces.h.

◆ initial_next_unique_sfi_id()

uint32_t v8::internal::ReadOnlyArtifacts::initial_next_unique_sfi_id ( ) const
inline

Definition at line 103 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ Initialize()

void v8::internal::ReadOnlyArtifacts::Initialize ( Isolate * isolate,
std::vector< ReadOnlyPageMetadata * > && pages,
const AllocationStats & stats )

Definition at line 42 of file read-only-spaces.cc.

Here is the caller graph for this function:

◆ InitializeChecksum()

void v8::internal::ReadOnlyArtifacts::InitializeChecksum ( SnapshotData * read_only_snapshot_data)

Definition at line 69 of file read-only-spaces.cc.

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

◆ pages()

std::vector< ReadOnlyPageMetadata * > & v8::internal::ReadOnlyArtifacts::pages ( )
inline

Definition at line 89 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ read_only_heap()

ReadOnlyHeap * v8::internal::ReadOnlyArtifacts::read_only_heap ( ) const
inline

Definition at line 98 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ ReinstallReadOnlySpace()

void v8::internal::ReadOnlyArtifacts::ReinstallReadOnlySpace ( Isolate * isolate)

Definition at line 52 of file read-only-spaces.cc.

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

◆ set_external_pointer_registry()

void v8::internal::ReadOnlyArtifacts::set_external_pointer_registry ( std::vector< ExternalPointerRegistryEntry > && registry)
inline

Definition at line 115 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ set_initial_next_unique_sfi_id()

void v8::internal::ReadOnlyArtifacts::set_initial_next_unique_sfi_id ( uint32_t id)
inline

Definition at line 100 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ set_read_only_heap()

void v8::internal::ReadOnlyArtifacts::set_read_only_heap ( std::unique_ptr< ReadOnlyHeap > read_only_heap)

Definition at line 64 of file read-only-spaces.cc.

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

◆ shared_read_only_space()

SharedReadOnlySpace * v8::internal::ReadOnlyArtifacts::shared_read_only_space ( )
inline

Definition at line 93 of file read-only-spaces.h.

Here is the caller graph for this function:

◆ VerifyChecksum()

void v8::internal::ReadOnlyArtifacts::VerifyChecksum ( SnapshotData * read_only_snapshot_data,
bool read_only_heap_created )

Definition at line 76 of file read-only-spaces.cc.

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

◆ VerifyHeapAndSpaceRelationships()

void v8::internal::ReadOnlyArtifacts::VerifyHeapAndSpaceRelationships ( Isolate * isolate)

Definition at line 56 of file read-only-spaces.cc.

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

Friends And Related Symbol Documentation

◆ ReadOnlyHeap

friend class ReadOnlyHeap
friend

Definition at line 130 of file read-only-spaces.h.

Member Data Documentation

◆ external_pointer_registry_

std::vector<ExternalPointerRegistryEntry> v8::internal::ReadOnlyArtifacts::external_pointer_registry_
private

Definition at line 137 of file read-only-spaces.h.

◆ initial_next_unique_sfi_id_

uint32_t v8::internal::ReadOnlyArtifacts::initial_next_unique_sfi_id_ = 0
private

Definition at line 136 of file read-only-spaces.h.

◆ page_allocator_

v8::PageAllocator* v8::internal::ReadOnlyArtifacts::page_allocator_ = nullptr
private

Definition at line 143 of file read-only-spaces.h.

◆ pages_

std::vector<ReadOnlyPageMetadata*> v8::internal::ReadOnlyArtifacts::pages_
private

Definition at line 132 of file read-only-spaces.h.

◆ read_only_heap_

std::unique_ptr<ReadOnlyHeap> v8::internal::ReadOnlyArtifacts::read_only_heap_
private

Definition at line 135 of file read-only-spaces.h.

◆ shared_read_only_space_

std::unique_ptr<SharedReadOnlySpace> v8::internal::ReadOnlyArtifacts::shared_read_only_space_
private

Definition at line 134 of file read-only-spaces.h.

◆ stats_

AllocationStats v8::internal::ReadOnlyArtifacts::stats_
private

Definition at line 133 of file read-only-spaces.h.


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