Searched refs:kMaxNumberOfGCs (Results 1 - 3 of 3) sorted by relevance
/external/v8/src/heap/ |
H A D | memory-reducer.cc | 19 const int MemoryReducer::kMaxNumberOfGCs = 3; member in class:v8::internal::MemoryReducer 159 if (state.started_gcs >= kMaxNumberOfGCs) { 160 return State(kDone, kMaxNumberOfGCs, 0.0, state.last_gc_time_ms); 182 if (state.started_gcs < kMaxNumberOfGCs && 187 return State(kDone, kMaxNumberOfGCs, 0.0, event.time_ms);
|
H A D | memory-reducer.h | 28 // The <started_gcs> is an integer in range from 0..kMaxNumberOfGCs that stores 61 // - in the timer callback if n >= kMaxNumberOfGCs. 73 // n == kMaxNumberOfGCs. 77 // n < kMaxNumberOfGCs. 127 static const int kMaxNumberOfGCs; member in class:v8::internal::MemoryReducer
|
/external/v8/test/unittests/heap/ |
H A D | memory-reducer-unittest.cc | 207 state0.started_gcs = MemoryReducer::kMaxNumberOfGCs; 212 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); 218 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); 224 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); 268 EXPECT_EQ(MemoryReducer::kMaxNumberOfGCs, state1.started_gcs); 271 state0.started_gcs = MemoryReducer::kMaxNumberOfGCs;
|
Completed in 288 milliseconds