Searched defs:barrier (Results 1 - 5 of 5) sorted by relevance
/art/runtime/ |
H A D | barrier_test.cc | 17 #include "barrier.h" 30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2) argument 31 : barrier_(barrier), 36 LOG(INFO) << "Before barrier" << *self; 40 LOG(INFO) << "After barrier" << *self; 60 // Check that barrier wait and barrier increment work. 64 Barrier barrier(num_threads + 1); // One extra Wait() in main thread. 69 thread_pool.AddTask(self, new CheckWaitTask(&barrier, &count1, &count2)); 75 // Count 2 should still be zero since no thread should have gone past the barrier 89 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) argument [all...] |
/art/compiler/dex/quick/arm/ |
H A D | int_arm.cc | 255 OpEndIT(it); // Add a scheduling barrier to keep the IT shadow intact 261 OpEndIT(it); // Add a scheduling barrier to keep the IT shadow intact 267 OpEndIT(it); // Add a scheduling barrier to keep the IT shadow intact 278 OpEndIT(it); // Add a scheduling barrier to keep the IT shadow intact 300 OpEndIT(it); // Add a scheduling barrier to keep the IT shadow intact 1111 // Start off with using the last LIR as the barrier. If it is not enough, then we will generate one. 1112 LIR* barrier = last_lir_insn_; local 1115 // TODO: revisit Arm barrier kinds 1129 // If the same barrier already exists, don't generate another. 1130 if (barrier [all...] |
/art/compiler/dex/quick/arm64/ |
H A D | int_arm64.cc | 954 // Start off with using the last LIR as the barrier. If it is not enough, then we will generate one. 955 LIR* barrier = last_lir_insn_; local 958 // TODO: revisit Arm barrier kinds 978 // If the same barrier already exists, don't generate another. 979 if (barrier == nullptr 980 || (barrier->opcode != kA64Dmb1B || barrier->operands[0] != dmb_flavor)) { 981 barrier = NewLIR1(kA64Dmb1B, dmb_flavor); 985 // At this point we must have a memory barrier. Mark it as a scheduling barrier a [all...] |
/art/compiler/dex/quick/ |
H A D | gen_common.cc | 45 LIR* barrier = NewLIR0(kPseudoBarrier); local 47 DCHECK(!barrier->flags.use_def_invalid); 48 barrier->u.m.def_mask = &kEncodeAll; 588 // need the barrier to guard later static loads.
|
/art/runtime/gc/ |
H A D | heap.cc | 1005 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { argument 1050 Barrier barrier(0); 1051 TrimIndirectReferenceTableClosure closure(&barrier); 1054 barrier.Increment(self, barrier_count);
|
Completed in 218 milliseconds