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

#include <weak-code-registry.h>

Collaboration diagram for v8::internal::WeakCodeRegistry:

Classes

struct  Listener
 

Public Member Functions

 WeakCodeRegistry (Isolate *isolate)
 
 ~WeakCodeRegistry ()
 
void Track (CodeEntry *entry, DirectHandle< AbstractCode > code)
 
void Sweep (Listener *listener)
 
void Clear ()
 

Private Attributes

Isolate *const isolate_
 
std::vector< CodeEntry * > entries_
 

Detailed Description

Definition at line 17 of file weak-code-registry.h.

Constructor & Destructor Documentation

◆ WeakCodeRegistry()

v8::internal::WeakCodeRegistry::WeakCodeRegistry ( Isolate * isolate)
inlineexplicit

Definition at line 23 of file weak-code-registry.h.

◆ ~WeakCodeRegistry()

v8::internal::WeakCodeRegistry::~WeakCodeRegistry ( )
inline

Definition at line 24 of file weak-code-registry.h.

Member Function Documentation

◆ Clear()

void v8::internal::WeakCodeRegistry::Clear ( )

Definition at line 56 of file weak-code-registry.cc.

Here is the caller graph for this function:

◆ Sweep()

void v8::internal::WeakCodeRegistry::Sweep ( WeakCodeRegistry::Listener * listener)

Definition at line 40 of file weak-code-registry.cc.

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

◆ Track()

void v8::internal::WeakCodeRegistry::Track ( CodeEntry * entry,
DirectHandle< AbstractCode > code )

Definition at line 26 of file weak-code-registry.cc.

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

Member Data Documentation

◆ entries_

std::vector<CodeEntry*> v8::internal::WeakCodeRegistry::entries_
private

Definition at line 41 of file weak-code-registry.h.

◆ isolate_

Isolate* const v8::internal::WeakCodeRegistry::isolate_
private

Definition at line 37 of file weak-code-registry.h.


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