Home
last modified time | relevance | path

Searched refs:barrier_count (Results 1 – 7 of 7) 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/
Dconcurrent_copying.cc283 const size_t barrier_count = thread_list->RunCheckpoint(&checkpoint, &callback); in ActivateReadBarrierEntrypoints() local
286 if (barrier_count == 0) { in ActivateReadBarrierEntrypoints()
290 gc_barrier_->Increment(self, barrier_count); in ActivateReadBarrierEntrypoints()
744 size_t barrier_count = Runtime::Current()->GetThreadList()->FlipThreadRoots( in FlipThreadRoots() local
749 gc_barrier_->Increment(self, barrier_count); in FlipThreadRoots()
1019 size_t barrier_count = thread_list->RunCheckpoint(&check_point, /* callback */ nullptr); in CaptureThreadRootsForMarking() local
1022 if (barrier_count == 0) { in CaptureThreadRootsForMarking()
1028 gc_barrier_->Increment(self, barrier_count); in CaptureThreadRootsForMarking()
1709 size_t barrier_count = thread_list->RunCheckpoint(&check_point, &dmc); in IssueDisableMarkingCheckpoint() local
1712 if (barrier_count == 0) { in IssueDisableMarkingCheckpoint()
[all …]
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()
Dthread.cc1504 uint32_t barrier_count = 0; in PassActiveSuspendBarriers() local
1520 ++barrier_count; in PassActiveSuspendBarriers()
1523 CHECK_GT(barrier_count, 0U); in PassActiveSuspendBarriers()
/art/runtime/gc/
Dheap.cc1481 size_t barrier_count = Runtime::Current()->GetThreadList()->RunCheckpoint(&closure); in TrimIndirectReferenceTables() local
1482 if (barrier_count != 0) { in TrimIndirectReferenceTables()
1483 barrier.Increment(self, barrier_count); in TrimIndirectReferenceTables()