Searched refs:kMaxNumberOfGCs (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/heap/ |
D | memory-reducer.cc | 19 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()
|
D | memory-reducer.h | 127 static const int kMaxNumberOfGCs; variable
|
/external/v8/test/unittests/heap/ |
D | memory-reducer-unittest.cc | 208 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()
|