Home
last modified time | relevance | path

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

/external/v8/src/heap/
Dmemory-reducer.cc19 const int MemoryReducer::kMaxNumberOfGCs = 3; member in v8::internal::MemoryReducer
160 if (state.started_gcs >= kMaxNumberOfGCs) { in Step()
161 return State(kDone, kMaxNumberOfGCs, 0.0, state.last_gc_time_ms); in Step()
183 if (state.started_gcs < kMaxNumberOfGCs && in Step()
188 return State(kDone, kMaxNumberOfGCs, 0.0, event.time_ms); in Step()
Dmemory-reducer.h127 static const int kMaxNumberOfGCs; variable
/external/v8/test/unittests/heap/
Dmemory-reducer-unittest.cc208 state0.started_gcs = MemoryReducer::kMaxNumberOfGCs; in TEST()
213 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); in TEST()
219 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); in TEST()
225 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); in TEST()
269 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); in TEST()
272 state0.started_gcs = MemoryReducer::kMaxNumberOfGCs; in TEST()