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

Public Member Functions

 HotObjectsList (Heap *heap)
 
 ~HotObjectsList ()
 
 HotObjectsList (const HotObjectsList &)=delete
 
HotObjectsListoperator= (const HotObjectsList &)=delete
 
void Add (Tagged< HeapObject > object)
 
int Find (Tagged< HeapObject > object)
 

Static Public Attributes

static const int kNotFound = -1
 

Private Attributes

Heapheap_
 
StrongRootsEntrystrong_roots_entry_
 
Address circular_queue_ [kSize] = {kNullAddress}
 
int index_ = 0
 

Static Private Attributes

static const int kSize = kHotObjectCount
 
static const int kSizeMask = kSize - 1
 

Detailed Description

Definition at line 356 of file serializer.h.

Constructor & Destructor Documentation

◆ HotObjectsList() [1/2]

v8::internal::Serializer::HotObjectsList::HotObjectsList ( Heap * heap)
explicit

Definition at line 1436 of file serializer.cc.

◆ ~HotObjectsList()

v8::internal::Serializer::HotObjectsList::~HotObjectsList ( )

Definition at line 1441 of file serializer.cc.

◆ HotObjectsList() [2/2]

v8::internal::Serializer::HotObjectsList::HotObjectsList ( const HotObjectsList & )
delete

Member Function Documentation

◆ Add()

void v8::internal::Serializer::HotObjectsList::Add ( Tagged< HeapObject > object)
inline

Definition at line 363 of file serializer.h.

◆ Find()

int v8::internal::Serializer::HotObjectsList::Find ( Tagged< HeapObject > object)
inline

Definition at line 370 of file serializer.h.

◆ operator=()

HotObjectsList & v8::internal::Serializer::HotObjectsList::operator= ( const HotObjectsList & )
delete

Member Data Documentation

◆ circular_queue_

Address v8::internal::Serializer::HotObjectsList::circular_queue_[kSize] = {kNullAddress}
private

Definition at line 386 of file serializer.h.

◆ heap_

Heap* v8::internal::Serializer::HotObjectsList::heap_
private

Definition at line 384 of file serializer.h.

◆ index_

int v8::internal::Serializer::HotObjectsList::index_ = 0
private

Definition at line 387 of file serializer.h.

◆ kNotFound

const int v8::internal::Serializer::HotObjectsList::kNotFound = -1
static

Definition at line 368 of file serializer.h.

◆ kSize

const int v8::internal::Serializer::HotObjectsList::kSize = kHotObjectCount
staticprivate

Definition at line 381 of file serializer.h.

◆ kSizeMask

const int v8::internal::Serializer::HotObjectsList::kSizeMask = kSize - 1
staticprivate

Definition at line 382 of file serializer.h.

◆ strong_roots_entry_

StrongRootsEntry* v8::internal::Serializer::HotObjectsList::strong_roots_entry_
private

Definition at line 385 of file serializer.h.


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