Searched refs:last_gc_time_ms (Results 1 – 3 of 3) sorted by relevance
/external/v8/test/unittests/heap/ |
D | memory-reducer-unittest.cc | 109 EXPECT_EQ(2, state1.last_gc_time_ms); in TEST() 115 EXPECT_EQ(2, state1.last_gc_time_ms); in TEST() 121 EXPECT_EQ(state0.last_gc_time_ms, state1.last_gc_time_ms); in TEST() 155 EXPECT_EQ(2000, state1.last_gc_time_ms); in TEST() 161 EXPECT_EQ(2000, state1.last_gc_time_ms); in TEST() 163 state0.last_gc_time_ms = 0; in TEST() 171 EXPECT_EQ(state0.last_gc_time_ms, state1.last_gc_time_ms); in TEST() 173 state0.last_gc_time_ms = 1; in TEST() 178 EXPECT_EQ(state0.last_gc_time_ms, state1.last_gc_time_ms); in TEST() 199 EXPECT_EQ(state0.last_gc_time_ms, state1.last_gc_time_ms); in TEST() [all …]
|
/external/v8/src/heap/ |
D | memory-reducer.h | 88 double last_gc_time_ms) in State() 92 last_gc_time_ms(last_gc_time_ms) {} in State() 96 double last_gc_time_ms; member
|
D | memory-reducer.cc | 134 return state.last_gc_time_ms != 0 && in WatchdogGC() 135 event.time_ms > state.last_gc_time_ms + kWatchdogDelayMs; in WatchdogGC() 143 return State(kDone, 0, 0, state.last_gc_time_ms); in Step() 153 event.type == kMarkCompact ? event.time_ms : state.last_gc_time_ms); in Step() 161 return State(kDone, kMaxNumberOfGCs, 0.0, state.last_gc_time_ms); in Step() 167 state.last_gc_time_ms); in Step() 173 state.last_gc_time_ms); in Step()
|