V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Sweeper Class Reference

Classes

class  FilterSweepingPagesScope
 
class  IncrementalSweeperTask
 
class  IterabilityTask
 
class  PauseOrCompleteScope
 
class  SweeperTask
 

Public Types

enum  FreeListRebuildingMode { REBUILD_FREE_LIST, IGNORE_FREE_LIST }
 
enum  ClearOldToNewSlotsMode { DO_NOT_CLEAR, CLEAR_REGULAR_SLOTS, CLEAR_TYPED_SLOTS }
 
enum  AddPageMode { REGULAR, READD_TEMPORARY_REMOVED_PAGE }
 
typedef std::vector< Page * > IterabilityList
 
typedef std::deque< Page * > SweepingList
 
typedef std::vector< Page * > SweptList
 

Public Member Functions

 Sweeper (Heap *heap, MajorNonAtomicMarkingState *marking_state)
 
bool sweeping_in_progress () const
 
void AddPage (AllocationSpace space, Page *page, AddPageMode mode)
 
int ParallelSweepSpace (AllocationSpace identity, int required_freed_bytes, int max_pages=0)
 
int ParallelSweepPage (Page *page, AllocationSpace identity)
 
void ScheduleIncrementalSweepingTask ()
 
int RawSweep (Page *p, FreeListRebuildingMode free_list_mode, FreeSpaceTreatmentMode free_space_mode)
 
void StartSweeping ()
 
void StartSweeperTasks ()
 
void EnsureCompleted ()
 
bool AreSweeperTasksRunning ()
 
PageGetSweptPageSafe (PagedSpace *space)
 
void EnsurePageIsIterable (Page *page)
 
void AddPageForIterability (Page *page)
 
void StartIterabilityTasks ()
 
void EnsureIterabilityCompleted ()
 

Detailed Description

Definition at line 24 of file sweeper.h.


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