Home
last modified time | relevance | path

Searched refs:barrier_count (Results 1 – 4 of 4) sorted by relevance

/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc32 static std::atomic<int> barrier_count(kThreadCount + 1); variable
35 barrier_count--; in JniThreadBarrierWait()
36 while (barrier_count.load() != 0) { in JniThreadBarrierWait()
/art/runtime/gc/collector/
Dmark_sweep.cc1190 size_t barrier_count = thread_list->RunCheckpoint(&check_point); in MarkRootsCheckpoint() local
1194 if (barrier_count == 0) { in MarkRootsCheckpoint()
1201 gc_barrier_->Increment(self, barrier_count); in MarkRootsCheckpoint()
/art/openjdkjvmti/
Dti_stack.cc368 size_t barrier_count = art::Runtime::Current()->GetThreadList()->RunCheckpoint(&closure, nullptr); in RunCheckpointAndWait() local
369 if (barrier_count == 0) { in RunCheckpointAndWait()
374 closure.barrier.Increment(self, barrier_count); in RunCheckpointAndWait()
/art/runtime/
Dthread_list.cc462 size_t barrier_count = first_iter ? count : 0; in RunEmptyCheckpoint() local
464 bool timed_out = barrier->Increment(self, barrier_count, kEmptyCheckpointPeriodicTimeoutMs); in RunEmptyCheckpoint()