V8 Project
v8::internal::Isolate::PerIsolateThreadData Class Reference

#include <isolate.h>

+ Collaboration diagram for v8::internal::Isolate::PerIsolateThreadData:

Public Member Functions

 PerIsolateThreadData (Isolate *isolate, ThreadId thread_id)
 
 ~PerIsolateThreadData ()
 
Isolateisolate () const
 
ThreadId thread_id () const
 
bool Matches (Isolate *isolate, ThreadId thread_id) const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (PerIsolateThreadData)
 

Private Attributes

Isolateisolate_
 
ThreadId thread_id_
 
uintptr_t stack_limit_
 
ThreadStatethread_state_
 
PerIsolateThreadDatanext_
 
PerIsolateThreadDataprev_
 

Friends

class Isolate
 
class ThreadDataTable
 
class EntryStackItem
 

Detailed Description

Definition at line 406 of file isolate.h.

Constructor & Destructor Documentation

◆ PerIsolateThreadData()

v8::internal::Isolate::PerIsolateThreadData::PerIsolateThreadData ( Isolate isolate,
ThreadId  thread_id 
)
inline

Definition at line 408 of file isolate.h.

409  : isolate_(isolate),
411  stack_limit_(0),
413 #if !defined(__arm__) && V8_TARGET_ARCH_ARM || \
414  !defined(__aarch64__) && V8_TARGET_ARCH_ARM64 || \
415  !defined(__mips__) && V8_TARGET_ARCH_MIPS || \
416  !defined(__mips__) && V8_TARGET_ARCH_MIPS64
417  simulator_(NULL),
418 #endif
419  next_(NULL),
420  prev_(NULL) { }
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

◆ ~PerIsolateThreadData()

v8::internal::Isolate::PerIsolateThreadData::~PerIsolateThreadData ( )

Definition at line 1406 of file isolate.cc.

1406  {
1407 #if defined(USE_SIMULATOR)
1408  delete simulator_;
1409 #endif
1410 }

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::Isolate::PerIsolateThreadData::DISALLOW_COPY_AND_ASSIGN ( PerIsolateThreadData  )
private

◆ isolate()

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

Definition at line 422 of file isolate.h.

422 { return isolate_; }

References isolate_.

Referenced by Matches(), and v8::internal::Isolate::ThreadDataTable::RemoveAllThreads().

+ Here is the caller graph for this function:

◆ Matches()

bool v8::internal::Isolate::PerIsolateThreadData::Matches ( Isolate isolate,
ThreadId  thread_id 
) const
inline

Definition at line 435 of file isolate.h.

435  {
436  return isolate_ == isolate && thread_id_.Equals(thread_id);
437  }

References isolate(), isolate_, thread_id(), and thread_id_.

+ Here is the call graph for this function:

◆ thread_id()

ThreadId v8::internal::Isolate::PerIsolateThreadData::thread_id ( ) const
inline

Definition at line 423 of file isolate.h.

423 { return thread_id_; }

References thread_id_.

Referenced by v8::internal::Isolate::Enter(), v8::internal::Isolate::Exit(), and Matches().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ EntryStackItem

friend class EntryStackItem
friend

Definition at line 457 of file isolate.h.

◆ Isolate

friend class Isolate
friend

Definition at line 455 of file isolate.h.

◆ ThreadDataTable

friend class ThreadDataTable
friend

Definition at line 456 of file isolate.h.

Member Data Documentation

◆ isolate_

Isolate* v8::internal::Isolate::PerIsolateThreadData::isolate_
private

Definition at line 440 of file isolate.h.

Referenced by v8::internal::Isolate::Enter(), isolate(), and Matches().

◆ next_

◆ prev_

PerIsolateThreadData* v8::internal::Isolate::PerIsolateThreadData::prev_
private

Definition at line 453 of file isolate.h.

Referenced by v8::internal::Isolate::ThreadDataTable::Remove().

◆ stack_limit_

uintptr_t v8::internal::Isolate::PerIsolateThreadData::stack_limit_
private

Definition at line 442 of file isolate.h.

◆ thread_id_

ThreadId v8::internal::Isolate::PerIsolateThreadData::thread_id_
private

Definition at line 441 of file isolate.h.

Referenced by Matches(), and thread_id().

◆ thread_state_

ThreadState* v8::internal::Isolate::PerIsolateThreadData::thread_state_
private

Definition at line 443 of file isolate.h.


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