V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Evacuator Class Referenceabstract
Inheritance diagram for v8::internal::Evacuator:
v8::internal::Malloced v8::internal::FullEvacuator

Public Types

enum  EvacuationMode { kObjectsNewToOld, kPageNewToOld, kObjectsOldToOld, kPageNewToNew }
 

Public Member Functions

 Evacuator (Heap *heap, RecordMigratedSlotVisitor *record_visitor)
 
void EvacuatePage (MemoryChunk *chunk)
 
void AddObserver (MigrationObserver *observer)
 
void Finalize ()
 
virtual GCTracer::BackgroundScope::ScopeId GetBackgroundTracingScope ()=0
 
- Public Member Functions inherited from v8::internal::Malloced
void * operator new (size_t size)
 
void operator delete (void *p)
 

Static Public Member Functions

static EvacuationMode ComputeEvacuationMode (MemoryChunk *chunk)
 
static intptr_t NewSpacePageEvacuationThreshold ()
 
- Static Public Member Functions inherited from v8::internal::Malloced
static void * New (size_t size)
 
static void Delete (void *p)
 

Protected Member Functions

virtual void RawEvacuatePage (MemoryChunk *chunk, intptr_t *saved_live_bytes)=0
 
Heapheap ()
 
void ReportCompactionProgress (double duration, intptr_t bytes_compacted)
 

Protected Attributes

Heapheap_
 
LocalAllocator local_allocator_
 
Heap::PretenuringFeedbackMap local_pretenuring_feedback_
 
EvacuateNewSpaceVisitor new_space_visitor_
 
EvacuateNewSpacePageVisitor< PageEvacuationMode::NEW_TO_NEW > new_to_new_page_visitor_
 
EvacuateNewSpacePageVisitor< PageEvacuationMode::NEW_TO_OLD > new_to_old_page_visitor_
 
EvacuateOldSpaceVisitor old_space_visitor_
 
double duration_
 
intptr_t bytes_compacted_
 

Static Protected Attributes

static const int kInitialLocalPretenuringFeedbackCapacity = 256
 

Detailed Description

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


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