Home
last modified time | relevance | path

Searched refs:barrier (Results 1 – 10 of 10) 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()
DAndroid.mk23 barrier.cc \
/art/test/102-concurrent-gc/
Dinfo.txt2 concurrent GC should locate the "hidden" objects through a write-barrier.
/art/test/114-ParallelGC/src/
DMain.java47 CyclicBarrier barrier = new CyclicBarrier(threads.length); in main() local
56 barrier)); in main()
/art/compiler/dex/quick/arm/
Dint_arm.cc1112 LIR* barrier = last_lir_insn_; in GenMemBarrier() local
1130 if (barrier == nullptr in GenMemBarrier()
1131 …|| (barrier != nullptr && (barrier->opcode != kThumb2Dmb || barrier->operands[0] != dmb_flavor))) { in GenMemBarrier()
1132 barrier = NewLIR1(kThumb2Dmb, dmb_flavor); in GenMemBarrier()
1137 DCHECK(!barrier->flags.use_def_invalid); in GenMemBarrier()
1138 barrier->u.m.def_mask = &kEncodeAll; in GenMemBarrier()
/art/compiler/dex/quick/arm64/
Dint_arm64.cc955 LIR* barrier = last_lir_insn_; in GenMemBarrier() local
979 if (barrier == nullptr in GenMemBarrier()
980 || (barrier->opcode != kA64Dmb1B || barrier->operands[0] != dmb_flavor)) { in GenMemBarrier()
981 barrier = NewLIR1(kA64Dmb1B, dmb_flavor); in GenMemBarrier()
986 DCHECK(!barrier->flags.use_def_invalid); in GenMemBarrier()
987 barrier->u.m.def_mask = &kEncodeAll; in GenMemBarrier()
/art/runtime/gc/
Dheap.cc1005 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure() argument
1050 Barrier barrier(0); in Trim() local
1051 TrimIndirectReferenceTableClosure closure(&barrier); in Trim()
1054 barrier.Increment(self, barrier_count); in Trim()
/art/compiler/dex/quick/
Dgen_common.cc45 LIR* barrier = NewLIR0(kPseudoBarrier); in GenBarrier() local
47 DCHECK(!barrier->flags.use_def_invalid); in GenBarrier()
48 barrier->u.m.def_mask = &kEncodeAll; in GenBarrier()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S383 dmb ish @ full (LoadLoad|LoadStore) memory barrier
426 dmb ish @ full (LoadStore|StoreStore) memory barrier
/art/compiler/llvm/
Dintrinsic_func_list.def1765 // Memory barrier