V8 Project
v8::internal::MarkCompactCollector::SweeperTask Class Reference
+ Inheritance diagram for v8::internal::MarkCompactCollector::SweeperTask:
+ Collaboration diagram for v8::internal::MarkCompactCollector::SweeperTask:

Public Member Functions

 SweeperTask (Heap *heap, PagedSpace *space)
 
virtual ~SweeperTask ()
 
- Public Member Functions inherited from v8::Task
virtual ~Task ()
 

Private Member Functions

virtual void Run () OVERRIDE
 
 DISALLOW_COPY_AND_ASSIGN (SweeperTask)
 

Private Attributes

Heapheap_
 
PagedSpacespace_
 

Detailed Description

Definition at line 536 of file mark-compact.cc.

Constructor & Destructor Documentation

◆ SweeperTask()

v8::internal::MarkCompactCollector::SweeperTask::SweeperTask ( Heap heap,
PagedSpace space 
)
inline

Definition at line 538 of file mark-compact.cc.

538 : heap_(heap), space_(space) {}
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 space(in MBytes)

◆ ~SweeperTask()

virtual v8::internal::MarkCompactCollector::SweeperTask::~SweeperTask ( )
inlinevirtual

Definition at line 540 of file mark-compact.cc.

540 {}

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::MarkCompactCollector::SweeperTask::DISALLOW_COPY_AND_ASSIGN ( SweeperTask  )
private

◆ Run()

virtual void v8::internal::MarkCompactCollector::SweeperTask::Run ( )
inlineprivatevirtual

Implements v8::Task.

Definition at line 544 of file mark-compact.cc.

544  {
547  }
MarkCompactCollector * mark_compact_collector()
Definition: heap.h:1197
int SweepInParallel(PagedSpace *space, int required_freed_bytes)
base::Semaphore pending_sweeper_jobs_semaphore_
Definition: mark-compact.h:706

References heap_, v8::internal::Heap::mark_compact_collector(), v8::internal::MarkCompactCollector::pending_sweeper_jobs_semaphore_, space_, and v8::internal::MarkCompactCollector::SweepInParallel().

+ Here is the call graph for this function:

Member Data Documentation

◆ heap_

Heap* v8::internal::MarkCompactCollector::SweeperTask::heap_
private

Definition at line 549 of file mark-compact.cc.

Referenced by Run().

◆ space_

PagedSpace* v8::internal::MarkCompactCollector::SweeperTask::space_
private

Definition at line 550 of file mark-compact.cc.

Referenced by Run().


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