Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Ddebug_stack.h92 : counter_(counter), ref_count_(counter->IncrementRefCount()) { in DebugStackReferenceImpl()
95 : counter_(other.counter_), ref_count_(counter_->IncrementRefCount()) { in DebugStackReferenceImpl()
98 CHECK(counter_ == other.counter_);
101 ~DebugStackReferenceImpl() { counter_->DecrementRefCount(); } in ~DebugStackReferenceImpl()
102 void CheckTop() { CHECK_EQ(counter_->GetRefCount(), ref_count_); } in CheckTop()
105 DebugStackRefCounterImpl<true>* counter_;
/art/runtime/gc/
Dtask_processor_test.cc33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask()
39 new RecursiveTask(task_processor_, counter_, max_recursion_ - 1)); in Run()
40 counter_->FetchAndAddSequentiallyConsistent(1U); in Run()
46 Atomic<size_t>* const counter_; member in art::gc::RecursiveTask
106 : HeapTask(expected_time), expected_counter_(expected_counter), counter_(counter) { in TestOrderTask()
109 ASSERT_EQ(*counter_, expected_counter_); in Run()
110 ++*counter_; in Run()
115 size_t* const counter_; member in art::gc::TestOrderTask