Home
last modified time | relevance | path

Searched refs:Barrier (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dbarrier.cc25 Barrier::Barrier(int count) in Barrier() function in art::Barrier
31 void Barrier::Pass(Thread* self) { in Pass()
36 void Barrier::Wait(Thread* self) { in Wait()
40 void Barrier::Init(Thread* self, int count) { in Init()
45 void Barrier::Increment(Thread* self, int delta) { in Increment()
61 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
82 void Barrier::SetCountLocked(Thread* self, int count) { in SetCountLocked()
89 Barrier::~Barrier() { in ~Barrier()
Dbarrier_test.cc30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2) in CheckWaitTask()
48 Barrier* const barrier_;
64 Barrier barrier(num_threads + 1); // One extra Wait() in main thread. in TEST_F()
65 Barrier timeout_barrier(0); // Only used for sleeping on timeout. in TEST_F()
89 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) in CheckPassTask()
106 Barrier* const barrier_;
115 Barrier barrier(0); in TEST_F()
Dbarrier.h36 class Barrier {
38 explicit Barrier(int count);
39 virtual ~Barrier();
Dmonitor_test.cc53 std::unique_ptr<Barrier> barrier_;
54 std::unique_ptr<Barrier> complete_barrier_;
305 test->barrier_ = std::unique_ptr<Barrier>(new Barrier(2)); in CommonWaitSetup()
306 test->complete_barrier_ = std::unique_ptr<Barrier>(new Barrier(3)); in CommonWaitSetup()
Dprofiler.h184 Barrier& GetBarrier() { in GetBarrier()
224 std::unique_ptr<Barrier> profiler_barrier_;
Dread_barrier.h49 ALWAYS_INLINE static MirrorType* Barrier(
Dthread_pool.h138 Barrier creation_barier_;
Dread_barrier-inl.h32 inline MirrorType* ReadBarrier::Barrier( in Barrier() function
Dprofiler.cc394 profiler_barrier_(new Barrier(0)) { in BackgroundMethodSamplingProfiler()
Dthread_list.cc200 Barrier barrier_;
/art/runtime/gc/collector/
Dconcurrent_copying.h183 Barrier& GetBarrier() { in GetBarrier()
241 std::unique_ptr<Barrier> gc_barrier_;
Dmark_sweep.h207 Barrier& GetBarrier() { in GetBarrier()
310 std::unique_ptr<Barrier> gc_barrier_;
Dmark_sweep.cc103 gc_barrier_(new Barrier(0)), in MarkSweep()
Dconcurrent_copying.cc40 region_space_(nullptr), gc_barrier_(new Barrier(0)), mark_queue_(2 * MB), in ConcurrentCopying()
/art/runtime/gc/
Dheap.cc1199 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure()
1213 Barrier* const barrier_;
1223 Barrier barrier(0); in TrimIndirectReferenceTables()
/art/runtime/mirror/
Dobject-inl.h784 T* result = ReadBarrier::Barrier<T, kReadBarrierOption>(this, field_offset, objref_addr); in GetFieldObject()