Home
last modified time | relevance | path

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

/art/runtime/
Dbarrier_test.cc30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2) in CheckWaitTask() argument
31 : barrier_(barrier), in CheckWaitTask()
64 Barrier barrier(num_threads + 1); // One extra Wait() in main thread. in TEST_F() local
69 thread_pool.AddTask(self, new CheckWaitTask(&barrier, &count1, &count2)); in TEST_F()
78 barrier.Wait(self); in TEST_F()
89 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) in CheckPassTask() argument
90 : barrier_(barrier), in CheckPassTask()
115 Barrier barrier(0); in TEST_F() local
120 thread_pool.AddTask(self, new CheckPassTask(&barrier, &count, num_sub_tasks)); in TEST_F()
125 barrier.Increment(self, expected_total_tasks); in TEST_F()
Dthread_list.cc405 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint() local
406 barrier->Init(self, 0); in RunEmptyCheckpoint()
455 bool timed_out = barrier->Increment(self, barrier_count, kEmptyCheckpointPeriodicTimeoutMs); in RunEmptyCheckpoint()
464 ss << "Barrier count " << barrier->GetCount(self) << "\n"; in RunEmptyCheckpoint()
Dmutator_gc_coord.md128 example, a read-barrier started before a `RunEmptyCheckpoint()` call will have
DAndroid.bp80 "barrier.cc",
Dclass_linker.cc300 void AddBarrier(Barrier* barrier) { in AddBarrier() argument
301 barriers_.push_front(barrier); in AddBarrier()
381 Barrier* barrier = std::addressof(*maybe_barrier); in MakeInitializedClassesVisiblyInitialized() local
383 cb.AddBarrier(barrier); in MakeInitializedClassesVisiblyInitialized()
401 for (Barrier* barrier : callback->GetAndClearBarriers()) { in VisiblyInitializedCallbackDone()
402 barrier->Pass(self); in VisiblyInitializedCallbackDone()
/art/test/658-fp-read-barrier/
DAndroid.bp3 // Build rules for ART run-test `658-fp-read-barrier`.
16 name: "art-run-test-658-fp-read-barrier",
21 ":art-run-test-658-fp-read-barrier-expected-stdout",
22 ":art-run-test-658-fp-read-barrier-expected-stderr",
28 name: "art-run-test-658-fp-read-barrier-expected-stdout",
29 out: ["art-run-test-658-fp-read-barrier-expected-stdout.txt"],
36 name: "art-run-test-658-fp-read-barrier-expected-stderr",
37 out: ["art-run-test-658-fp-read-barrier-expected-stderr.txt"],
Dinfo.txt1 Regression test for the read barrier implementation in ARM64,
/art/test/476-checker-ctor-memory-barrier/
DAndroid.bp3 // Build rules for ART run-test `476-checker-ctor-memory-barrier`.
16 name: "art-run-test-476-checker-ctor-memory-barrier",
21 ":art-run-test-476-checker-ctor-memory-barrier-expected-stdout",
22 ":art-run-test-476-checker-ctor-memory-barrier-expected-stderr",
31 name: "art-run-test-476-checker-ctor-memory-barrier-expected-stdout",
32 out: ["art-run-test-476-checker-ctor-memory-barrier-expected-stdout.txt"],
39 name: "art-run-test-476-checker-ctor-memory-barrier-expected-stderr",
40 out: ["art-run-test-476-checker-ctor-memory-barrier-expected-stderr.txt"],
/art/test/033-class-init-deadlock/src/
DMain.java28 public static CyclicBarrier barrier = new CyclicBarrier(3); field in Main
40 try { barrier.await(); } catch (Exception e) { System.out.println(e); } in main()
56 try { Main.barrier.await(); } catch (Exception e) { System.out.println(e); } in Main.barrier.await()
66 try { Main.barrier.await(); } catch (Exception e) { System.out.println(e); } in Main.barrier.await()
/art/test/102-concurrent-gc/
Dinfo.txt2 concurrent GC should locate the "hidden" objects through a write-barrier.
/art/openjdkjvmti/
Dalloc_manager.cc200 art::Barrier barrier(0); in PauseAllocations() local
202 barrier.Pass(art::Thread::Current()); in PauseAllocations()
205 barrier.Increment(self, requested); in PauseAllocations()
Dti_stack.cc327 : barrier(0), stop_input(stop), data(data_) {} in GetAllStackTracesVectorClosure()
334 barrier.Pass(self); in Run()
358 art::Barrier barrier; member
374 closure.barrier.Increment(self, barrier_count); in RunCheckpointAndWait()
/art/test/572-checker-array-get-regression/
Dinfo.txt1 Regression test for the ARM64 Baker's read barrier fast path compiler
/art/test/573-checker-checkcast-regression/
Dinfo.txt1 Regression test for the x86-64 Baker's read barrier fast path compiler
/art/test/1004-checker-volatile-ref-load/
Dinfo.txt3 Baker read barrier thunk, so that a null holder object is properly
/art/test/952-invoke-custom/src/
DTestInvokeCustomWithConcurrentThreads.java50 private static final CyclicBarrier barrier = new CyclicBarrier(NUMBER_OF_THREADS); field in TestInvokeCustomWithConcurrentThreads
99 barrier.await(); in linkerMethod()
/art/test/708-jit-cache-churn/src/
DJitCacheChurnTest.java93 private static CyclicBarrier barrier = new CyclicBarrier(CONCURRENCY); field in JitCacheChurnTest.BaseTask
96 barrier.await(); in call()
/art/runtime/jit/
Djit_code_cache.cc1013 MarkCodeClosure(JitCodeCache* code_cache, CodeCacheBitmap* bitmap, Barrier* barrier) in MarkCodeClosure() argument
1014 : code_cache_(code_cache), bitmap_(bitmap), barrier_(barrier) {} in MarkCodeClosure()
1068 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks() local
1070 MarkCodeClosure closure(this, GetLiveBitmap(), &barrier); in MarkCompiledCodeOnThreadStacks()
1076 barrier.Increment(self, threads_running_checkpoint); in MarkCompiledCodeOnThreadStacks()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S507 @ (thread id, count of 0 and preserved read barrier bits),
512 @ unlocked case - store r3: original lock word plus thread id, preserved read barrier bits.
515 dmb ish @ Full (LoadLoad|LoadStore) memory barrier.
593 strex r2, r3, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET] @ strex necessary for read barrier bits.
/art/compiler/optimizing/
Dgraph_visualizer.cc402 void VisitMemoryBarrier(HMemoryBarrier* barrier) override { in VisitMemoryBarrier() argument
403 StartAttributeStream("kind") << barrier->GetBarrierKind(); in VisitMemoryBarrier()
/art/runtime/gc/
Dheap.cc1514 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure() argument
1534 Barrier barrier(0); in TrimIndirectReferenceTables() local
1535 TrimIndirectReferenceTableClosure closure(&barrier); in TrimIndirectReferenceTables()
1539 barrier.Increment(self, barrier_count); in TrimIndirectReferenceTables()
/art/
DTEST_MAPPING581 "name": "art-run-test-476-checker-ctor-memory-barrier[com.google.android.art.apex]"
1007 "name": "art-run-test-658-fp-read-barrier[com.google.android.art.apex]"
1768 "name": "art-run-test-476-checker-ctor-memory-barrier"
2194 "name": "art-run-test-658-fp-read-barrier"
/art/test/dexdump/
Dinvoke-custom.txt3228 name : 'barrier'
3280 … |0022: sput-object v1, LTestInvokeCustomWithConcurrentThreads;.barrier:Ljava/util/concur…
3397 … |0046: sget-object v1, LTestInvokeCustomWithConcurrentThreads;.barrier:Ljava/util/concur…
Dall-dex-files.txt12052 name : 'barrier'
12104 … |0022: sput-object v1, LTestInvokeCustomWithConcurrentThreads;.barrier:Ljava/util/concur…
12221 … |0046: sget-object v1, LTestInvokeCustomWithConcurrentThreads;.barrier:Ljava/util/concur…