Lines Matching refs:MemoryReducer
16 const int MemoryReducer::kLongDelayMs = 8000;
17 const int MemoryReducer::kShortDelayMs = 500;
18 const int MemoryReducer::kWatchdogDelayMs = 100000;
19 const int MemoryReducer::kMaxNumberOfGCs = 3;
20 const double MemoryReducer::kCommittedMemoryFactor = 1.1;
21 const size_t MemoryReducer::kCommittedMemoryDelta = 10 * MB;
23 MemoryReducer::TimerTask::TimerTask(MemoryReducer* memory_reducer) in TimerTask()
28 void MemoryReducer::TimerTask::RunInternal() { in RunInternal()
57 void MemoryReducer::NotifyTimer(const Event& event) { in NotifyTimer()
96 void MemoryReducer::NotifyMarkCompact(const Event& event) { in NotifyMarkCompact()
113 void MemoryReducer::NotifyPossibleGarbage(const Event& event) { in NotifyPossibleGarbage()
124 bool MemoryReducer::WatchdogGC(const State& state, const Event& event) { in WatchdogGC()
131 MemoryReducer::State MemoryReducer::Step(const State& state, in Step()
203 void MemoryReducer::ScheduleTimer(double time_ms, double delay_ms) { in ScheduleTimer()
208 auto timer_task = new MemoryReducer::TimerTask(this); in ScheduleTimer()
213 void MemoryReducer::TearDown() { state_ = State(kDone, 0, 0, 0.0, 0); } in TearDown()