/art/runtime/ |
D | barrier.cc | 28 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 …]
|
D | barrier_test.cc | 30 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()
|
D | barrier.h | 40 class Barrier { 49 explicit Barrier(int count, bool verify_count_on_shutdown = true); 50 virtual ~Barrier(); 66 template <Barrier::LockHandling locks = kDisallowHoldingLocks>
|
D | monitor_test.cc | 52 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()
|
D | thread_list.h | 176 Barrier* EmptyCheckpointBarrier() { in EmptyCheckpointBarrier() 236 std::unique_ptr<Barrier> empty_checkpoint_barrier_;
|
D | read_barrier.h | 56 ALWAYS_INLINE static MirrorType* Barrier(
|
D | thread_pool.h | 199 Barrier creation_barier_;
|
D | read_barrier-inl.h | 37 inline MirrorType* ReadBarrier::Barrier( in Barrier() function
|
D | thread_list.cc | 81 empty_checkpoint_barrier_(new Barrier(0)) { in ThreadList() 247 Barrier barrier_; 414 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint()
|
D | cha.cc | 273 Barrier barrier_;
|
D | debugger.cc | 345 Barrier finish_barrier(0); in DdmSetThreadNotification()
|
D | thread.cc | 1638 barrier_.Increment<Barrier::kDisallowHoldingLocks>(self, 1); in Wait() 1640 barrier_.Increment<Barrier::kAllowHoldingLocks>(self, 1); in Wait() 1646 Barrier barrier_;
|
D | class_linker.cc | 288 void AddBarrier(Barrier* barrier) { in AddBarrier() 292 std::forward_list<Barrier*> GetAndClearBarriers() { in GetAndClearBarriers() 293 std::forward_list<Barrier*> result; in GetAndClearBarriers() 348 std::forward_list<Barrier*> barriers_; 355 std::optional<Barrier> maybe_barrier; // Avoid constructing the Barrier for `wait == false`. in MakeInitializedClassesVisiblyInitialized() 369 Barrier* barrier = std::addressof(*maybe_barrier); in MakeInitializedClassesVisiblyInitialized() 389 for (Barrier* barrier : callback->GetAndClearBarriers()) { in VisiblyInitializedCallbackDone()
|
/art/test/004-ThreadStress/src-art/ |
D | Main.java | 601 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/ |
D | mark_sweep.h | 224 Barrier& GetBarrier() { in GetBarrier() 345 std::unique_ptr<Barrier> gc_barrier_;
|
D | concurrent_copying.h | 31 class Barrier; variable 147 Barrier& GetBarrier() { in GetBarrier() 334 std::unique_ptr<Barrier> gc_barrier_;
|
D | mark_sweep.cc | 101 gc_barrier_(new Barrier(0)), in MarkSweep()
|
/art/openjdkjvmti/ |
D | alloc_manager.cc | 200 art::Barrier barrier(0); in PauseAllocations()
|
D | ti_redefine.cc | 2304 release_barrier_.Increment</*locks=*/art::Barrier::kAllowHoldingLocks>(self_, count); in Release() 2363 art::Barrier barrier_; 2365 art::Barrier release_barrier_;
|
D | ti_stack.cc | 358 art::Barrier barrier;
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 395 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile= */ false, kReadBarrierOption>( in artReadBarrierSlow()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 997 MarkCodeClosure(JitCodeCache* code_cache, CodeCacheBitmap* bitmap, Barrier* barrier) in MarkCodeClosure() 1043 Barrier* const barrier_; 1052 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks()
|
/art/runtime/native/ |
D | sun_misc_Unsafe.cc | 79 ReadBarrier::Barrier<mirror::Object, /* kIsVolatile= */ false, kWithReadBarrier, in Unsafe_compareAndSwapObject()
|
/art/runtime/mirror/ |
D | object-inl.h | 608 T* result = ReadBarrier::Barrier<T, kIsVolatile, kReadBarrierOption>( in GetFieldObject()
|
/art/runtime/gc/ |
D | heap.cc | 1450 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure() 1460 Barrier* const barrier_; 1470 Barrier barrier(0); in TrimIndirectReferenceTables()
|