V8 Project
v8::internal::DeoptimizerData Class Reference

#include <deoptimizer.h>

+ Collaboration diagram for v8::internal::DeoptimizerData:

Public Member Functions

 DeoptimizerData (MemoryAllocator *allocator)
 
 ~DeoptimizerData ()
 
void Iterate (ObjectVisitor *v)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (DeoptimizerData)
 

Private Attributes

MemoryAllocatorallocator_
 
int deopt_entry_code_entries_ [Deoptimizer::kBailoutTypesWithCodeEntry]
 
MemoryChunkdeopt_entry_code_ [Deoptimizer::kBailoutTypesWithCodeEntry]
 
DeoptimizedFrameInfodeoptimized_frame_info_
 
Deoptimizercurrent_
 

Friends

class Deoptimizer
 

Detailed Description

Definition at line 634 of file deoptimizer.h.

Constructor & Destructor Documentation

◆ DeoptimizerData()

v8::internal::DeoptimizerData::DeoptimizerData ( MemoryAllocator allocator)
explicit

Definition at line 34 of file deoptimizer.cc.

35  : allocator_(allocator),
37  current_(NULL) {
38  for (int i = 0; i < Deoptimizer::kBailoutTypesWithCodeEntry; ++i) {
41  }
42 }
MemoryChunk * deopt_entry_code_[Deoptimizer::kBailoutTypesWithCodeEntry]
Definition: deoptimizer.h:644
int deopt_entry_code_entries_[Deoptimizer::kBailoutTypesWithCodeEntry]
Definition: deoptimizer.h:643
DeoptimizedFrameInfo * deoptimized_frame_info_
Definition: deoptimizer.h:646
MemoryAllocator * allocator_
Definition: deoptimizer.h:642
static const int kBailoutTypesWithCodeEntry
Definition: deoptimizer.h:102
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
static MemoryChunk * AllocateCodeChunk(MemoryAllocator *allocator)
Definition: deoptimizer.cc:20

References v8::internal::AllocateCodeChunk(), deopt_entry_code_, deopt_entry_code_entries_, and v8::internal::Deoptimizer::kBailoutTypesWithCodeEntry.

+ Here is the call graph for this function:

◆ ~DeoptimizerData()

v8::internal::DeoptimizerData::~DeoptimizerData ( )

Definition at line 45 of file deoptimizer.cc.

45  {
46  for (int i = 0; i < Deoptimizer::kBailoutTypesWithCodeEntry; ++i) {
49  }
50 }
void Free(MemoryChunk *chunk)
Definition: spaces.cc:700

References allocator_, deopt_entry_code_, v8::internal::MemoryAllocator::Free(), v8::internal::Deoptimizer::kBailoutTypesWithCodeEntry, and NULL.

+ Here is the call graph for this function:

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::DeoptimizerData::DISALLOW_COPY_AND_ASSIGN ( DeoptimizerData  )
private

◆ Iterate()

void v8::internal::DeoptimizerData::Iterate ( ObjectVisitor v)

Definition at line 53 of file deoptimizer.cc.

53  {
56  }
57 }
void Iterate(ObjectVisitor *v)

References deoptimized_frame_info_, v8::internal::DeoptimizedFrameInfo::Iterate(), and NULL.

Referenced by v8::internal::Heap::IterateStrongRoots().

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

Friends And Related Function Documentation

◆ Deoptimizer

friend class Deoptimizer
friend

Definition at line 650 of file deoptimizer.h.

Member Data Documentation

◆ allocator_

MemoryAllocator* v8::internal::DeoptimizerData::allocator_
private

Definition at line 642 of file deoptimizer.h.

Referenced by ~DeoptimizerData().

◆ current_

Deoptimizer* v8::internal::DeoptimizerData::current_
private

◆ deopt_entry_code_

◆ deopt_entry_code_entries_

int v8::internal::DeoptimizerData::deopt_entry_code_entries_[Deoptimizer::kBailoutTypesWithCodeEntry]
private

◆ deoptimized_frame_info_

DeoptimizedFrameInfo* v8::internal::DeoptimizerData::deoptimized_frame_info_
private

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