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

#include <serializer.h>

Collaboration diagram for v8::internal::ObjectCacheIndexMap:

Public Member Functions

 ObjectCacheIndexMap (Heap *heap)
 
 ObjectCacheIndexMap (const ObjectCacheIndexMap &)=delete
 
ObjectCacheIndexMapoperator= (const ObjectCacheIndexMap &)=delete
 
bool LookupOrInsert (Tagged< HeapObject > obj, int *index_out)
 
bool LookupOrInsert (DirectHandle< HeapObject > obj, int *index_out)
 
bool Lookup (Tagged< HeapObject > obj, int *index_out) const
 
DirectHandle< FixedArrayValues (Isolate *isolate)
 
int size () const
 

Private Attributes

IdentityMap< int, base::DefaultAllocationPolicymap_
 
int next_index_
 

Detailed Description

Definition at line 143 of file serializer.h.

Constructor & Destructor Documentation

◆ ObjectCacheIndexMap() [1/2]

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

Definition at line 145 of file serializer.h.

◆ ObjectCacheIndexMap() [2/2]

v8::internal::ObjectCacheIndexMap::ObjectCacheIndexMap ( const ObjectCacheIndexMap & )
delete

Member Function Documentation

◆ Lookup()

bool v8::internal::ObjectCacheIndexMap::Lookup ( Tagged< HeapObject > obj,
int * index_out ) const
inline

Definition at line 164 of file serializer.h.

◆ LookupOrInsert() [1/2]

bool v8::internal::ObjectCacheIndexMap::LookupOrInsert ( DirectHandle< HeapObject > obj,
int * index_out )
inline

Definition at line 160 of file serializer.h.

Here is the call graph for this function:

◆ LookupOrInsert() [2/2]

bool v8::internal::ObjectCacheIndexMap::LookupOrInsert ( Tagged< HeapObject > obj,
int * index_out )
inline

Definition at line 152 of file serializer.h.

Here is the caller graph for this function:

◆ operator=()

ObjectCacheIndexMap & v8::internal::ObjectCacheIndexMap::operator= ( const ObjectCacheIndexMap & )
delete

◆ size()

int v8::internal::ObjectCacheIndexMap::size ( ) const
inline

Definition at line 175 of file serializer.h.

Here is the caller graph for this function:

◆ Values()

DirectHandle< FixedArray > v8::internal::ObjectCacheIndexMap::Values ( Isolate * isolate)

Definition at line 1445 of file serializer.cc.

Here is the call graph for this function:

Member Data Documentation

◆ map_

IdentityMap<int, base::DefaultAllocationPolicy> v8::internal::ObjectCacheIndexMap::map_
private

Definition at line 178 of file serializer.h.

◆ next_index_

int v8::internal::ObjectCacheIndexMap::next_index_
private

Definition at line 179 of file serializer.h.


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