V8 Project
v8::internal::LAllocatorPhase Class Reference

#include <lithium-allocator.h>

+ Inheritance diagram for v8::internal::LAllocatorPhase:
+ Collaboration diagram for v8::internal::LAllocatorPhase:

Public Member Functions

 LAllocatorPhase (const char *name, LAllocator *allocator)
 
 ~LAllocatorPhase ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (LAllocatorPhase)
 

Private Attributes

LAllocator * allocator_
 
unsigned allocator_zone_start_allocation_size_
 

Detailed Description

Definition at line 560 of file lithium-allocator.h.

Constructor & Destructor Documentation

◆ LAllocatorPhase()

v8::internal::LAllocatorPhase::LAllocatorPhase ( const char *  name,
LAllocator *  allocator 
)

Definition at line 2166 of file lithium-allocator.cc.

2167  : CompilationPhase(name, allocator->graph()->info()),
2168  allocator_(allocator) {
2169  if (FLAG_hydrogen_stats) {
2171  allocator->zone()->allocation_size();
2172  }
2173 }
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 expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name

References allocator_zone_start_allocation_size_.

◆ ~LAllocatorPhase()

v8::internal::LAllocatorPhase::~LAllocatorPhase ( )

Definition at line 2176 of file lithium-allocator.cc.

2176  {
2177  if (FLAG_hydrogen_stats) {
2178  unsigned size = allocator_->zone()->allocation_size() -
2180  isolate()->GetHStatistics()->SaveTiming(name(), base::TimeDelta(), size);
2181  }
2182 
2183  if (ShouldProduceTraceOutput()) {
2184  isolate()->GetHTracer()->TraceLithium(name(), allocator_->chunk());
2185  isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_);
2186  }
2187 
2188 #ifdef DEBUG
2189  if (allocator_ != NULL) allocator_->Verify();
2190 #endif
2191 }
enable harmony numeric enable harmony object literal extensions Optimize object size
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

References allocator_, allocator_zone_start_allocation_size_, name, NULL, and size.

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::LAllocatorPhase::DISALLOW_COPY_AND_ASSIGN ( LAllocatorPhase  )
private

Member Data Documentation

◆ allocator_

LAllocator* v8::internal::LAllocatorPhase::allocator_
private

Definition at line 566 of file lithium-allocator.h.

Referenced by ~LAllocatorPhase().

◆ allocator_zone_start_allocation_size_

unsigned v8::internal::LAllocatorPhase::allocator_zone_start_allocation_size_
private

Definition at line 567 of file lithium-allocator.h.

Referenced by LAllocatorPhase(), and ~LAllocatorPhase().


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