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

#include <feedback-vector.h>

Collaboration diagram for v8::internal::NexusConfig:

Public Types

enum  Mode { MainThread , BackgroundThread }
 

Public Member Functions

Mode mode () const
 
Isolateisolate () const
 
MaybeObjectHandle NewHandle (Tagged< MaybeObject > object) const
 
template<typename T >
Handle< TNewHandle (Tagged< T > object) const
 
bool can_write () const
 
Tagged< MaybeObjectGetFeedback (Tagged< FeedbackVector > vector, FeedbackSlot slot) const
 
void SetFeedback (Tagged< FeedbackVector > vector, FeedbackSlot slot, Tagged< MaybeObject > object, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) const
 
std::pair< Tagged< MaybeObject >, Tagged< MaybeObject > > GetFeedbackPair (Tagged< FeedbackVector > vector, FeedbackSlot slot) const
 
void SetFeedbackPair (Tagged< FeedbackVector > vector, FeedbackSlot start_slot, Tagged< MaybeObject > feedback, WriteBarrierMode mode, Tagged< MaybeObject > feedback_extra, WriteBarrierMode mode_extra) const
 

Static Public Member Functions

static NexusConfig FromMainThread (Isolate *isolate)
 
static NexusConfig FromBackgroundThread (Isolate *isolate, LocalHeap *local_heap)
 

Private Member Functions

 NexusConfig (Isolate *isolate)
 
 NexusConfig (Isolate *isolate, LocalHeap *local_heap)
 

Private Attributes

Isolate *const isolate_
 
LocalHeap *const local_heap_
 

Detailed Description

Definition at line 875 of file feedback-vector.h.

Member Enumeration Documentation

◆ Mode

Enumerator
MainThread 
BackgroundThread 

Definition at line 888 of file feedback-vector.h.

Constructor & Destructor Documentation

◆ NexusConfig() [1/2]

v8::internal::NexusConfig::NexusConfig ( Isolate * isolate)
inlineexplicitprivate

Definition at line 916 of file feedback-vector.h.

◆ NexusConfig() [2/2]

v8::internal::NexusConfig::NexusConfig ( Isolate * isolate,
LocalHeap * local_heap )
inlineprivate

Definition at line 918 of file feedback-vector.h.

Member Function Documentation

◆ can_write()

bool v8::internal::NexusConfig::can_write ( ) const
inline

Definition at line 900 of file feedback-vector.h.

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

◆ FromBackgroundThread()

static NexusConfig v8::internal::NexusConfig::FromBackgroundThread ( Isolate * isolate,
LocalHeap * local_heap )
inlinestatic

Definition at line 882 of file feedback-vector.h.

Here is the caller graph for this function:

◆ FromMainThread()

static NexusConfig v8::internal::NexusConfig::FromMainThread ( Isolate * isolate)
inlinestatic

Definition at line 877 of file feedback-vector.h.

Here is the caller graph for this function:

◆ GetFeedback()

Tagged< MaybeObject > v8::internal::NexusConfig::GetFeedback ( Tagged< FeedbackVector > vector,
FeedbackSlot slot ) const
inline

Definition at line 504 of file feedback-vector-inl.h.

◆ GetFeedbackPair()

std::pair< Tagged< MaybeObject >, Tagged< MaybeObject > > v8::internal::NexusConfig::GetFeedbackPair ( Tagged< FeedbackVector > vector,
FeedbackSlot slot ) const

Definition at line 571 of file feedback-vector.cc.

Here is the call graph for this function:

◆ isolate()

Isolate * v8::internal::NexusConfig::isolate ( ) const
inline

Definition at line 894 of file feedback-vector.h.

Here is the caller graph for this function:

◆ mode()

Mode v8::internal::NexusConfig::mode ( ) const
inline

Definition at line 890 of file feedback-vector.h.

Here is the caller graph for this function:

◆ NewHandle() [1/2]

MaybeObjectHandle v8::internal::NexusConfig::NewHandle ( Tagged< MaybeObject > object) const

Definition at line 549 of file feedback-vector.cc.

Here is the call graph for this function:

◆ NewHandle() [2/2]

template<typename T >
Handle< T > v8::internal::NexusConfig::NewHandle ( Tagged< T > object) const

Definition at line 496 of file feedback-vector-inl.h.

Here is the call graph for this function:

◆ SetFeedback()

void v8::internal::NexusConfig::SetFeedback ( Tagged< FeedbackVector > vector,
FeedbackSlot slot,
Tagged< MaybeObject > object,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER ) const
inline

Definition at line 509 of file feedback-vector-inl.h.

Here is the call graph for this function:

◆ SetFeedbackPair()

void v8::internal::NexusConfig::SetFeedbackPair ( Tagged< FeedbackVector > vector,
FeedbackSlot start_slot,
Tagged< MaybeObject > feedback,
WriteBarrierMode mode,
Tagged< MaybeObject > feedback_extra,
WriteBarrierMode mode_extra ) const

Definition at line 557 of file feedback-vector.cc.

Here is the call graph for this function:

Member Data Documentation

◆ isolate_

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

Definition at line 921 of file feedback-vector.h.

◆ local_heap_

LocalHeap* const v8::internal::NexusConfig::local_heap_
private

Definition at line 922 of file feedback-vector.h.


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