Home
last modified time | relevance | path

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

12

/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::IncrementNoWait(Thread* self) { in IncrementNoWait()
48 void Barrier::Wait(Thread* self) { in Wait()
52 void Barrier::Init(Thread* self, int count) { in Init()
57 template <Barrier::LockHandling locks>
58 void Barrier::Increment(Thread* self, int delta) { in Increment()
78 bool Barrier::Increment(Thread* self, int delta, uint32_t timeout_ms) { in Increment()
[all …]
Dbarrier_test.cc30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2) in CheckWaitTask()
48 Barrier* const barrier_;
68 Barrier barrier(num_threads + 1); // One extra Wait() in main thread. in TEST_F()
69 Barrier timeout_barrier(0); // Only used for sleeping on timeout. in TEST_F()
93 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) in CheckPassTask()
110 Barrier* const barrier_;
119 Barrier barrier(0); in TEST_F()
Dbarrier.h40 class Barrier {
49 explicit Barrier(int count, bool verify_count_on_shutdown = true);
50 virtual ~Barrier();
69 template <Barrier::LockHandling locks = kDisallowHoldingLocks>
Dmonitor_test.cc57 std::unique_ptr<Barrier> barrier_;
58 std::unique_ptr<Barrier> complete_barrier_;
267 test->barrier_ = std::make_unique<Barrier>(2); in CommonWaitSetup()
268 test->complete_barrier_ = std::make_unique<Barrier>(3); in CommonWaitSetup()
Dthread_list.h181 Barrier* EmptyCheckpointBarrier() { in EmptyCheckpointBarrier()
236 std::unique_ptr<Barrier> empty_checkpoint_barrier_;
Dread_barrier.h56 ALWAYS_INLINE static MirrorType* Barrier(
Dthread_pool.h209 Barrier creation_barier_;
Dread_barrier-inl.h35 inline MirrorType* ReadBarrier::Barrier( in Barrier() function
Dthread_list.cc86 empty_checkpoint_barrier_(new Barrier(0)) { in ThreadList()
252 Barrier barrier_;
420 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint()
Dcha.cc258 Barrier barrier_;
Ddebugger.cc336 Barrier finish_barrier(0); in DdmSetThreadNotification()
Dthread.cc1714 barrier_.Increment<Barrier::kDisallowHoldingLocks>(self, 1); in Wait()
1716 barrier_.Increment<Barrier::kAllowHoldingLocks>(self, 1); in Wait()
1722 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.h31 class Barrier; variable
147 Barrier& GetBarrier() { in GetBarrier()
342 std::unique_ptr<Barrier> gc_barrier_;
Dmark_compact.h98 Barrier& GetBarrier() { in GetBarrier()
531 Barrier gc_barrier_;
Dmark_sweep.cc101 gc_barrier_(new Barrier(0)), in MarkSweep()
/art/openjdkjvmti/
Dalloc_manager.cc200 art::Barrier barrier(0); in PauseAllocations()
Dti_redefine.cc2330 release_barrier_.Increment</*locks=*/art::Barrier::kAllowHoldingLocks>(self_, count); in Release()
2389 art::Barrier barrier_;
2391 art::Barrier release_barrier_;
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc432 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile= */ false, kWithReadBarrier>( in artReadBarrierSlow()
/art/runtime/jit/
Djit_code_cache.cc1046 MarkCodeClosure(JitCodeCache* code_cache, CodeCacheBitmap* bitmap, Barrier* barrier) in MarkCodeClosure()
1076 Barrier* const barrier_;
1085 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks()
/art/runtime/native/
Djdk_internal_misc_Unsafe.cc113 ReadBarrier::Barrier<mirror::Object, /*kIsVolatile=*/ false, kWithReadBarrier, in Unsafe_compareAndSetReference()
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()
/art/runtime/gc/
Dheap.cc1601 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure()
1611 Barrier* const barrier_;
1622 Barrier barrier(0); in TrimIndirectReferenceTables()

12