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

Classes

struct  Event
 
struct  State
 

Public Types

enum  Action { kDone, kWait, kRun }
 
enum  EventType { kTimer, kMarkCompact, kPossibleGarbage }
 

Public Member Functions

 MemoryReducer (Heap *heap)
 
void NotifyMarkCompact (const Event &event)
 
void NotifyPossibleGarbage (const Event &event)
 
void NotifyBackgroundIdleNotification (const Event &event)
 
void ScheduleTimer (double delay_ms)
 
void TearDown ()
 
Heapheap ()
 
bool ShouldGrowHeapSlowly ()
 

Static Public Member Functions

static State Step (const State &state, const Event &event)
 

Static Public Attributes

static const int kLongDelayMs = 8000
 
static const int kShortDelayMs = 500
 
static const int kWatchdogDelayMs = 100000
 
static const int kMaxNumberOfGCs = 3
 
static const double kCommittedMemoryFactor = 1.1
 
static const size_t kCommittedMemoryDelta = 10 * MB
 

Friends

class HeapTester
 

Detailed Description

Definition at line 83 of file memory-reducer.h.


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