/art/runtime/ |
D | barrier_test.cc | 30 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()
|
D | thread_list.cc | 411 Barrier* barrier = empty_checkpoint_barrier_.get(); in RunEmptyCheckpoint() local 412 barrier->Init(self, 0); in RunEmptyCheckpoint() 461 bool timed_out = barrier->Increment(self, barrier_count, kEmptyCheckpointPeriodicTimeoutMs); in RunEmptyCheckpoint() 470 ss << "Barrier count " << barrier->GetCount(self) << "\n"; in RunEmptyCheckpoint()
|
D | Android.bp | 34 "barrier.cc",
|
/art/test/033-class-init-deadlock/src/ |
D | Main.java | 28 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/658-fp-read-barrier/ |
D | info.txt | 1 Regression test for the read barrier implementation in ARM64,
|
/art/test/102-concurrent-gc/ |
D | info.txt | 2 concurrent GC should locate the "hidden" objects through a write-barrier.
|
/art/test/572-checker-array-get-regression/ |
D | info.txt | 1 Regression test for the ARM64 Baker's read barrier fast path compiler
|
/art/test/573-checker-checkcast-regression/ |
D | info.txt | 1 Regression test for the x86-64 Baker's read barrier fast path compiler
|
/art/test/952-invoke-custom/src/ |
D | TestInvokeCustomWithConcurrentThreads.java | 50 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/ |
D | JitCacheChurnTest.java | 93 private static CyclicBarrier barrier = new CyclicBarrier(CONCURRENCY); field in JitCacheChurnTest.BaseTask 96 barrier.await(); in call()
|
/art/tools/cpp-define-generator/ |
D | offsets_all.def | 43 // TODO: MIRROR_OBJECT_HEADER_SIZE (depends on #ifdef read barrier)
|
/art/runtime/arch/mips64/ |
D | quick_entrypoints_mips64.S | 1256 # Unlocked case - $t1: original lock word that's zero except for the read barrier bits. 1257 …t2, $t1, $t0 # $t2 holds thread id with count of 0 with preserved read barrier bits 1260 sync # full (LoadLoad|LoadStore) memory barrier 1263 # $t1: original lock word, $t0: thread_id with count of 0 and zero read barrier bits 1323 sync # full (LoadStore|StoreStore) memory barrier 1735 # This barrier is only necessary when the allocation also requires a class initialization check. 1738 # from publishing by the compiler which inserts its own StoreStore barrier. 2027 lwu $t1, ART_METHOD_DECLARING_CLASS_OFFSET($t1) # $t1 = declaring class (no read barrier). 2028 lwu $t1, MIRROR_CLASS_DEX_CACHE_OFFSET($t1) # $t1 = dex cache (without read barrier). 2678 sll $at, $at, 31 - LOCK_WORD_READ_BARRIER_STATE_SHIFT # Move barrier state bit [all …]
|
/art/runtime/arch/mips/ |
D | quick_entrypoints_mips.S | 1309 # Unlocked case - $t1: original lock word that's zero except for the read barrier bits. 1310 …t2, $t1, $t0 # $t2 holds thread id with count of 0 with preserved read barrier bits 1315 sync # full (LoadLoad|LoadStore) memory barrier 1317 # $t1: original lock word, $t0: thread_id with count of 0 and zero read barrier bits 1378 sync # full (LoadStore|StoreStore) memory barrier 1811 # This barrier is only necessary when the allocation also requires a class initialization check. 1814 # from publishing by the compiler which inserts its own StoreStore barrier. 2128 lw $t8, ART_METHOD_DECLARING_CLASS_OFFSET($t8) # $t8 = declaring class (no read barrier). 2129 lw $t8, MIRROR_CLASS_DEX_CACHE_OFFSET($t8) # $t8 = dex cache (without read barrier). 2873 sll $at, $at, 31 - LOCK_WORD_READ_BARRIER_STATE_SHIFT # Move barrier state bit [all …]
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 288 : barrier(0), stop_input(stop), data(data_) {} in GetAllStackTracesVectorClosure() 295 barrier.Pass(self); in Run() 319 art::Barrier barrier; member 333 closure.barrier.Increment(self, barrier_count); in RunCheckpointAndWait()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 1105 MarkCodeClosure(JitCodeCache* code_cache, Barrier* barrier) in MarkCodeClosure() argument 1106 : code_cache_(code_cache), barrier_(barrier) {} in MarkCodeClosure() 1178 Barrier barrier(0); in MarkCompiledCodeOnThreadStacks() local 1180 MarkCodeClosure closure(this, &barrier); in MarkCompiledCodeOnThreadStacks() 1186 barrier.Increment(self, threads_running_checkpoint); in MarkCompiledCodeOnThreadStacks()
|
/art/compiler/optimizing/ |
D | graph_visualizer.cc | 370 void VisitMemoryBarrier(HMemoryBarrier* barrier) OVERRIDE { in VisitMemoryBarrier() argument 371 StartAttributeStream("kind") << barrier->GetBarrierKind(); in VisitMemoryBarrier()
|
/art/runtime/gc/ |
D | heap.cc | 1290 explicit TrimIndirectReferenceTableClosure(Barrier* barrier) : barrier_(barrier) { in TrimIndirectReferenceTableClosure() argument 1310 Barrier barrier(0); in TrimIndirectReferenceTables() local 1311 TrimIndirectReferenceTableClosure closure(&barrier); in TrimIndirectReferenceTables() 1315 barrier.Increment(self, barrier_count); in TrimIndirectReferenceTables()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 711 strex r3, r2, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET] @ strex necessary for read barrier bits 747 …drex r1, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET] @ Need to use atomic instructions for read barrier
|