V8 Project
v8::internal::AllocationInfo Class Reference

#include <spaces.h>

+ Collaboration diagram for v8::internal::AllocationInfo:

Public Member Functions

 AllocationInfo ()
 
 INLINE (void set_top(Address top))
 
 INLINE (Address top()) const
 
Addresstop_address ()
 
 INLINE (void set_limit(Address limit))
 
 INLINE (Address limit()) const
 
Addresslimit_address ()
 

Private Attributes

Address top_
 
Address limit_
 

Detailed Description

Definition at line 1255 of file spaces.h.

Constructor & Destructor Documentation

◆ AllocationInfo()

v8::internal::AllocationInfo::AllocationInfo ( )
inline

Definition at line 1257 of file spaces.h.

1257 : top_(NULL), limit_(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

Member Function Documentation

◆ INLINE() [1/4]

v8::internal::AllocationInfo::INLINE ( Address   limit()) const
inline

Definition at line 1279 of file spaces.h.

1279  {
1280  SLOW_DCHECK(limit_ == NULL ||
1281  (reinterpret_cast<intptr_t>(limit_) & HeapObjectTagMask()) ==
1282  0);
1283  return limit_;
1284  }
#define SLOW_DCHECK(condition)
Definition: checks.h:30
intptr_t HeapObjectTagMask()
Definition: checks.cc:12

References v8::internal::HeapObjectTagMask(), limit_, NULL, and SLOW_DCHECK.

+ Here is the call graph for this function:

◆ INLINE() [2/4]

v8::internal::AllocationInfo::INLINE ( Address   top()) const
inline

Definition at line 1265 of file spaces.h.

1265  {
1266  SLOW_DCHECK(top_ == NULL ||
1267  (reinterpret_cast<intptr_t>(top_) & HeapObjectTagMask()) == 0);
1268  return top_;
1269  }

References v8::internal::HeapObjectTagMask(), NULL, SLOW_DCHECK, and top_.

+ Here is the call graph for this function:

◆ INLINE() [3/4]

v8::internal::AllocationInfo::INLINE ( void   set_limitAddress limit)
inline

Definition at line 1273 of file spaces.h.

1273  {
1274  SLOW_DCHECK(limit == NULL ||
1275  (reinterpret_cast<intptr_t>(limit) & HeapObjectTagMask()) == 0);
1276  limit_ = limit;
1277  }

References v8::internal::HeapObjectTagMask(), limit_, NULL, and SLOW_DCHECK.

+ Here is the call graph for this function:

◆ INLINE() [4/4]

v8::internal::AllocationInfo::INLINE ( void   set_topAddress top)
inline

Definition at line 1259 of file spaces.h.

1259  {
1260  SLOW_DCHECK(top == NULL ||
1261  (reinterpret_cast<intptr_t>(top) & HeapObjectTagMask()) == 0);
1262  top_ = top;
1263  }

References v8::internal::HeapObjectTagMask(), NULL, SLOW_DCHECK, and top_.

+ Here is the call graph for this function:

◆ limit_address()

Address* v8::internal::AllocationInfo::limit_address ( )
inline

Definition at line 1286 of file spaces.h.

1286 { return &limit_; }

References limit_.

Referenced by v8::internal::PagedSpace::allocation_limit_address(), and v8::internal::NewSpace::allocation_limit_address().

+ Here is the caller graph for this function:

◆ top_address()

Address* v8::internal::AllocationInfo::top_address ( )
inline

Definition at line 1271 of file spaces.h.

1271 { return &top_; }

References top_.

Referenced by v8::internal::PagedSpace::allocation_top_address(), and v8::internal::NewSpace::allocation_top_address().

+ Here is the caller graph for this function:

Member Data Documentation

◆ limit_

Address v8::internal::AllocationInfo::limit_
private

Definition at line 1299 of file spaces.h.

Referenced by INLINE(), and limit_address().

◆ top_

Address v8::internal::AllocationInfo::top_
private

Definition at line 1297 of file spaces.h.

Referenced by INLINE(), and top_address().


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