Home
last modified time | relevance | path

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

/art/runtime/
Dbarrier.cc28 Barrier::Barrier(int count) in Barrier() function in art::Barrier
34 template void Barrier::Increment<Barrier::kAllowHoldingLocks>(Thread* self, int delta);
35 template void Barrier::Increment<Barrier::kDisallowHoldingLocks>(Thread* self, int delta);
37 void Barrier::Pass(Thread* self) { in Pass()
42 void Barrier::Wait(Thread* self) { in Wait()
46 void Barrier::Init(Thread* self, int count) { in Init()
51 template <Barrier::LockHandling locks>
52 void Barrier::Increment(Thread* self, int delta) { in Increment()
72 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
93 int Barrier::GetCount(Thread* self) { in GetCount()
[all …]
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 {
43 explicit Barrier(int count);
44 virtual ~Barrier();
60 template <Barrier::LockHandling locks = kDisallowHoldingLocks>
Dmonitor_test.cc51 std::unique_ptr<Barrier> barrier_;
52 std::unique_ptr<Barrier> complete_barrier_;
254 test->barrier_ = std::unique_ptr<Barrier>(new Barrier(2)); in CommonWaitSetup()
255 test->complete_barrier_ = std::unique_ptr<Barrier>(new Barrier(3)); in CommonWaitSetup()
Dthread_list.h180 Barrier* EmptyCheckpointBarrier() { in EmptyCheckpointBarrier()
236 std::unique_ptr<Barrier> empty_checkpoint_barrier_;
Dread_barrier.h56 ALWAYS_INLINE static MirrorType* Barrier(
Dthread_pool.h166 Barrier creation_barier_;
Dread_barrier-inl.h38 inline MirrorType* ReadBarrier::Barrier( in Barrier() function
Dthread_list.cc82 empty_checkpoint_barrier_(new Barrier(0)) { in ThreadList()
247 Barrier barrier_;
411 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint()
Dcha.cc273 Barrier barrier_;
Dthread.cc1443 barrier_.Increment<Barrier::kDisallowHoldingLocks>(self, 1); in Wait()
1445 barrier_.Increment<Barrier::kAllowHoldingLocks>(self, 1); in Wait()
1451 Barrier barrier_;
/art/test/004-ThreadStress/src-art/
DMain.java583 final Barrier startBarrier = new Barrier(numberOfThreads + numberOfDaemons + 1); in runTest()
771 Barrier startBarrier) { in Daemon()
814 final Barrier startBarrier;
822 private static class Barrier { class in Main
823 public Barrier(int initialCount) { in Barrier() method in Main.Barrier
/art/runtime/gc/collector/
Dmark_sweep.h224 Barrier& GetBarrier() { in GetBarrier()
346 std::unique_ptr<Barrier> gc_barrier_;
Dconcurrent_copying.h134 Barrier& GetBarrier() { in GetBarrier()
282 std::unique_ptr<Barrier> gc_barrier_;
Dmark_sweep.cc101 gc_barrier_(new Barrier(0)), in MarkSweep()
Dconcurrent_copying.cc71 region_space_(nullptr), gc_barrier_(new Barrier(0)), in ConcurrentCopying()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc402 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile */ false, kReadBarrierOption>( in artReadBarrierSlow()
/art/runtime/jit/
Djit_code_cache.cc1105 MarkCodeClosure(JitCodeCache* code_cache, Barrier* barrier) in MarkCodeClosure()
1135 Barrier* const barrier_;
1178 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks()
/art/runtime/native/
Dsun_misc_Unsafe.cc75 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile */ false, kWithReadBarrier, in Unsafe_compareAndSwapObject()
/art/openjdkjvmti/
Dti_stack.cc319 art::Barrier barrier;
/art/runtime/gc/
Dheap.cc1290 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure()
1300 Barrier* const barrier_;
1310 Barrier barrier(0); in TrimIndirectReferenceTables()
/art/runtime/mirror/
Dobject-inl.h721 T* result = ReadBarrier::Barrier<T, kIsVolatile, kReadBarrierOption>( in GetFieldObject()
Dvar_handle.cc305 ReadBarrier::Barrier<mirror::Object, kIsVolatile, kWithReadBarrier, kAlwaysUpdateField>( in ReadBarrierForVarHandleAccess()
/art/runtime/interpreter/
Dunstarted_runtime.cc1477 ReadBarrier::Barrier< in UnstartedUnsafeCompareAndSwapObject()