Home
last modified time | relevance | path

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

/art/runtime/
Dbarrier.cc28 Barrier::Barrier(int count, bool verify_count_on_shutdown) in Barrier() function in art::Barrier
35 template void Barrier::Increment<Barrier::kAllowHoldingLocks>(Thread* self, int delta);
36 template void Barrier::Increment<Barrier::kDisallowHoldingLocks>(Thread* self, int delta);
38 void Barrier::Pass(Thread* self) { in Pass()
43 void Barrier::Wait(Thread* self) { in Wait()
47 void Barrier::Init(Thread* self, int count) { in Init()
52 template <Barrier::LockHandling locks>
53 void Barrier::Increment(Thread* self, int delta) { in Increment()
73 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
94 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.h40 class Barrier {
49 explicit Barrier(int count, bool verify_count_on_shutdown = true);
50 virtual ~Barrier();
66 template <Barrier::LockHandling locks = kDisallowHoldingLocks>
Dmonitor_test.cc52 std::unique_ptr<Barrier> barrier_;
53 std::unique_ptr<Barrier> complete_barrier_;
255 test->barrier_ = std::make_unique<Barrier>(2); in CommonWaitSetup()
256 test->complete_barrier_ = std::make_unique<Barrier>(3); in CommonWaitSetup()
Dthread_list.h177 Barrier* EmptyCheckpointBarrier() { in EmptyCheckpointBarrier()
233 std::unique_ptr<Barrier> empty_checkpoint_barrier_;
Dread_barrier.h56 ALWAYS_INLINE static MirrorType* Barrier(
Dthread_pool.h199 Barrier creation_barier_;
Dread_barrier-inl.h37 inline MirrorType* ReadBarrier::Barrier( in Barrier() function
Dthread_list.cc82 empty_checkpoint_barrier_(new Barrier(0)) { in ThreadList()
249 Barrier barrier_;
413 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint()
Dcha.cc273 Barrier barrier_;
Druntime.cc2846 explicit EmptyClosure(Barrier* barrier) : barrier_(barrier) {} in NotifyStartupCompleted()
2852 Barrier* const barrier_; in NotifyStartupCompleted()
2854 Barrier barrier(0); in NotifyStartupCompleted()
Dthread.cc1624 barrier_.Increment<Barrier::kDisallowHoldingLocks>(self, 1); in Wait()
1626 barrier_.Increment<Barrier::kAllowHoldingLocks>(self, 1); in Wait()
1632 Barrier barrier_;
/art/test/004-ThreadStress/src-art/
DMain.java601 final Barrier startBarrier = new Barrier(numberOfThreads + numberOfDaemons + 1); in runTest()
794 Barrier startBarrier) { in Daemon()
837 final Barrier startBarrier;
845 private static class Barrier { class in Main
846 public Barrier(int initialCount) { in Barrier() method in Main.Barrier
/art/runtime/gc/collector/
Dmark_sweep.h224 Barrier& GetBarrier() { in GetBarrier()
345 std::unique_ptr<Barrier> gc_barrier_;
Dconcurrent_copying.h29 class Barrier; variable
145 Barrier& GetBarrier() { in GetBarrier()
325 std::unique_ptr<Barrier> gc_barrier_;
Dmark_sweep.cc101 gc_barrier_(new Barrier(0)), in MarkSweep()
Dconcurrent_copying.cc79 gc_barrier_(new Barrier(0)), in ConcurrentCopying()
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc395 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile= */ false, kReadBarrierOption>( in artReadBarrierSlow()
/art/runtime/jit/
Djit_code_cache.cc1403 MarkCodeClosure(JitCodeCache* code_cache, CodeCacheBitmap* bitmap, Barrier* barrier) in MarkCodeClosure()
1450 Barrier* const barrier_;
1493 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks()
/art/runtime/native/
Dsun_misc_Unsafe.cc79 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile= */ false, kWithReadBarrier, in Unsafe_compareAndSwapObject()
/art/runtime/mirror/
Dobject-inl.h608 T* result = ReadBarrier::Barrier<T, kIsVolatile, kReadBarrierOption>( in GetFieldObject()
Dvar_handle.cc299 ReadBarrier::Barrier<mirror::Object, kIsVolatile, kWithReadBarrier, kAlwaysUpdateField>( in ReadBarrierForVarHandleAccess()
/art/openjdkjvmti/
Dti_stack.cc341 art::Barrier barrier;
/art/runtime/gc/
Dheap.cc1438 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure()
1448 Barrier* const barrier_;
1458 Barrier barrier(0); in TrimIndirectReferenceTables()
/art/runtime/interpreter/
Dunstarted_runtime.cc1491 ReadBarrier::Barrier< in UnstartedUnsafeCompareAndSwapObject()