V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::EvacuateVisitorBase Class Reference
Inheritance diagram for v8::internal::EvacuateVisitorBase:
v8::internal::HeapObjectVisitor v8::internal::EvacuateNewSpaceVisitor v8::internal::EvacuateOldSpaceVisitor

Public Member Functions

void AddObserver (MigrationObserver *observer)
 
- Public Member Functions inherited from v8::internal::HeapObjectVisitor
virtual bool Visit (HeapObject *object, int size)=0
 

Protected Types

enum  MigrationMode { kFast, kObserved }
 
typedef void(* MigrateFunction) (EvacuateVisitorBase *base, HeapObject *dst, HeapObject *src, int size, AllocationSpace dest)
 

Protected Member Functions

 EvacuateVisitorBase (Heap *heap, LocalAllocator *local_allocator, RecordMigratedSlotVisitor *record_visitor)
 
bool TryEvacuateObject (AllocationSpace target_space, HeapObject *object, int size, HeapObject **target_object)
 
void ExecuteMigrationObservers (AllocationSpace dest, HeapObject *src, HeapObject *dst, int size)
 
void MigrateObject (HeapObject *dst, HeapObject *src, int size, AllocationSpace dest)
 

Static Protected Member Functions

template<MigrationMode mode>
static void RawMigrateObject (EvacuateVisitorBase *base, HeapObject *dst, HeapObject *src, int size, AllocationSpace dest)
 

Protected Attributes

Heapheap_
 
LocalAllocatorlocal_allocator_
 
RecordMigratedSlotVisitorrecord_visitor_
 
std::vector< MigrationObserver * > observers_
 
MigrateFunction migration_function_
 

Detailed Description

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


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