Lines Matching refs:old_state
189 ThreadState old_state = state_.SetParked();
191 if (old_state.IsCollectionRequested())
216 ThreadState old_state = state_.SetParked();
217 CHECK(old_state.IsRunning());
218 CHECK(old_state.IsSafepointRequested());
219 CHECK(!old_state.IsCollectionRequested());
326 ThreadState old_state = state_.SetParked();
327 CHECK(old_state.IsRunning());
328 CHECK(old_state.IsSafepointRequested());
329 CHECK_IMPLIES(old_state.IsCollectionRequested(), is_main_thread());
372 const ThreadState old_state = main_thread->state_.SetCollectionRequested();
374 if (old_state.IsRunning()) {
379 DCHECK(old_state.IsParked());