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

#include <startup-serializer.h>

Inheritance diagram for v8::internal::SerializedHandleChecker:
Collaboration diagram for v8::internal::SerializedHandleChecker:

Public Member Functions

 SerializedHandleChecker (Isolate *isolate, std::vector< Tagged< Context > > *contexts)
 
void VisitRootPointers (Root root, const char *description, FullObjectSlot start, FullObjectSlot end) override
 
bool CheckGlobalAndEternalHandles ()
 
- Public Member Functions inherited from v8::internal::RootVisitor
virtual ~RootVisitor ()=default
 
virtual void VisitRootPointer (Root root, const char *description, FullObjectSlot p)
 
virtual void VisitRootPointers (Root root, const char *description, OffHeapObjectSlot start, OffHeapObjectSlot end)
 
virtual void VisitRunningCode (FullObjectSlot code_slot, FullObjectSlot istream_or_smi_zero_slot)
 
virtual void Synchronize (VisitorSynchronization::SyncTag tag)
 
virtual GarbageCollector collector () const
 

Private Member Functions

void AddToSet (Tagged< FixedArray > serialized)
 

Private Attributes

Isolateisolate_
 
std::unordered_set< Tagged< Object >, Object::Hasherserialized_
 
bool ok_ = true
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::RootVisitor
static const char * RootName (Root root)
 

Detailed Description

Definition at line 60 of file startup-serializer.h.

Constructor & Destructor Documentation

◆ SerializedHandleChecker()

v8::internal::SerializedHandleChecker::SerializedHandleChecker ( Isolate * isolate,
std::vector< Tagged< Context > > * contexts )

Definition at line 186 of file startup-serializer.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddToSet()

void v8::internal::SerializedHandleChecker::AddToSet ( Tagged< FixedArray > serialized)
private

Definition at line 216 of file startup-serializer.cc.

Here is the caller graph for this function:

◆ CheckGlobalAndEternalHandles()

bool v8::internal::SerializedHandleChecker::CheckGlobalAndEternalHandles ( )

Definition at line 235 of file startup-serializer.cc.

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

◆ VisitRootPointers()

void v8::internal::SerializedHandleChecker::VisitRootPointers ( Root root,
const char * description,
FullObjectSlot start,
FullObjectSlot end )
overridevirtual

Implements v8::internal::RootVisitor.

Definition at line 221 of file startup-serializer.cc.

Here is the call graph for this function:

Member Data Documentation

◆ isolate_

Isolate* v8::internal::SerializedHandleChecker::isolate_
private

Definition at line 71 of file startup-serializer.h.

◆ ok_

bool v8::internal::SerializedHandleChecker::ok_ = true
private

Definition at line 73 of file startup-serializer.h.

◆ serialized_

std::unordered_set<Tagged<Object>, Object::Hasher> v8::internal::SerializedHandleChecker::serialized_
private

Definition at line 72 of file startup-serializer.h.


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