Home
last modified time | relevance | path

Searched refs:started_gcs (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/unittests/heap/
Dmemory-reducer-unittest.cc19 MemoryReducer::State WaitState(int started_gcs, double next_gc_start_ms) { in WaitState() argument
20 return MemoryReducer::State(MemoryReducer::kWait, started_gcs, in WaitState()
25 MemoryReducer::State RunState(int started_gcs, double next_gc_start_ms) { in RunState() argument
26 return MemoryReducer::State(MemoryReducer::kRun, started_gcs, in RunState()
108 EXPECT_EQ(0, state1.started_gcs); in TEST()
114 EXPECT_EQ(0, state1.started_gcs); in TEST()
120 EXPECT_EQ(0, state1.started_gcs); in TEST()
133 EXPECT_EQ(state0.started_gcs, state1.started_gcs); in TEST()
139 EXPECT_EQ(state0.started_gcs, state1.started_gcs); in TEST()
144 EXPECT_EQ(state0.started_gcs, state1.started_gcs); in TEST()
[all …]
/external/v8/src/heap/
Dmemory-reducer.cc74 state_.started_gcs); in NotifyTimer()
115 state_.started_gcs, in NotifyMarkCompact()
160 if (state.started_gcs >= kMaxNumberOfGCs) { in Step()
166 return State(kRun, state.started_gcs + 1, 0.0, in Step()
172 return State(kWait, state.started_gcs, event.time_ms + kLongDelayMs, in Step()
176 return State(kWait, state.started_gcs, event.time_ms + kLongDelayMs, in Step()
183 if (state.started_gcs < kMaxNumberOfGCs && in Step()
184 (event.next_gc_likely_to_collect_more || state.started_gcs == 1)) { in Step()
185 return State(kWait, state.started_gcs, event.time_ms + kShortDelayMs, in Step()
Dmemory-reducer.h87 State(Action action, int started_gcs, double next_gc_start_ms, in State()
90 started_gcs(started_gcs), in State()
94 int started_gcs; member
132 return state_.action == kDone && state_.started_gcs > 0; in ShouldGrowHeapSlowly()