/art/test/004-ThreadStress/src/ |
D | Main.java | 187 private final Object lock; field in Main.TimedWait 189 public TimedWait(Object lock) { in TimedWait() argument 190 this.lock = lock; in TimedWait() 195 synchronized (lock) { in perform() 197 lock.wait(SLEEP_TIME, 0); in perform() 206 private final Object lock; field in Main.Wait 208 public Wait(Object lock) { in Wait() argument 209 this.lock = lock; in Wait() 214 synchronized (lock) { in perform() 216 lock.wait(); in perform() [all …]
|
/art/test/980-redefine-object/src-ex/ |
D | TestWatcher.java | 23 private static final ReentrantLock lock = new ReentrantLock(); field in TestWatcher 29 lock.lock(); in MonitorEnter() 35 if (!lock.isHeldByCurrentThread()) { in MonitorExit() 39 lock.unlock(); in MonitorExit()
|
/art/test/626-const-class-linking/src/ |
D | RacyMisbehavingLoader.java | 24 private Object lock = new Object(); field in RacyMisbehavingLoader 42 synchronized (lock) { in reportAfterLoading() 45 lock.notifyAll(); in reportAfterLoading() 82 synchronized (lock) { in syncWithOtherInstances() 88 lock.wait(); in syncWithOtherInstances() 94 lock.notifyAll(); in syncWithOtherInstances()
|
D | RacyLoader.java | 24 private Object lock = new Object(); field in RacyLoader 61 synchronized (lock) { in syncWithOtherInstances() 67 lock.wait(); in syncWithOtherInstances() 73 lock.notifyAll(); in syncWithOtherInstances()
|
/art/test/123-compiler-regressions-mt/src/ |
D | Main.java | 81 private Object lock = new Object(); field in B17689750TestMonitor 87 synchronized (lock) { in thread1() 92 synchronized (lock) { in thread1() 100 synchronized (lock) { in thread2() 107 synchronized (lock) { in thread2()
|
/art/test/923-monitors/src/art/ |
D | Test923.java | 52 lock(id); in simpleTests() 56 lock(id); in simpleTests() 57 lock(id); in simpleTests() 66 lock(id); in simpleTests() 72 lock(id); in simpleTests() 78 lock(id); in simpleTests() 93 lock(id); in threadTests() 118 lock(id); in threadTests() 133 lock(id); in threadTests() 215 private static void lock(long id) { in lock() method in Test923
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 34 Mutex lock("Reference queue lock"); in TEST_F() local 35 ReferenceQueue queue(&lock); in TEST_F() 68 Mutex lock("Reference queue lock"); in TEST_F() local 69 ReferenceQueue queue(&lock); in TEST_F()
|
D | reference_queue.cc | 29 ReferenceQueue::ReferenceQueue(Mutex* lock) : lock_(lock), list_(nullptr) { in ReferenceQueue() argument
|
D | reference_queue.h | 53 explicit ReferenceQueue(Mutex* lock);
|
/art/test/088-monitor-verification/ |
D | info.txt | 2 lock checks in the bytecode verifier.
|
/art/test/800-smali/smali/ |
D | b_23502994.smali | 9 # Sharpen, and try to unlock (in both branches). We should not lose the lock info when we make 35 # Sharpen, and try to unlock. We should not lose the lock info when we make the register type
|
/art/test/702-LargeBranchOffset/src/ |
D | Main.java.in | 37 DO_512_TIMES( synchronized(lock) { value++; } ) 45 Object lock = new Object(); field in Main
|
/art/test/607-daemon-stress/ |
D | info.txt | 1 Stress test for daemon threads stuck in a method that requires the thread list lock.
|
/art/runtime/base/ |
D | arena_allocator.cc | 298 MutexLock lock(Thread::Current(), lock_); in LockReclaimMemory() local 306 MutexLock lock(self, lock_); in AllocArena() local 324 MutexLock lock(Thread::Current(), lock_); in TrimMaps() local 333 MutexLock lock(Thread::Current(), lock_); in GetBytesAllocated() local 352 MutexLock lock(self, lock_); in FreeArenaChain() local
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 175 ObjPtr<mirror::Object> lock = soa.Decode<mirror::Object>(java_lock); in Thread_sleep() local 176 Monitor::Wait(Thread::Current(), lock.Ptr(), ms, ns, true, kSleeping); in Thread_sleep()
|
/art/compiler/utils/ |
D | swap_space.cc | 108 MutexLock lock(Thread::Current(), lock_); in Alloc() local 190 MutexLock lock(Thread::Current(), lock_); in Free() local
|
D | dedupe_set-inl.h | 71 MutexLock lock(self, lock_); 88 MutexLock lock(self, lock_);
|
/art/test/626-const-class-linking/ |
D | clear_dex_cache_types.cc | 41 ObjectLock<mirror::Class> lock(soa.Self(), klass); in Java_Main_nativeSkipVerification() local
|
/art/runtime/ |
D | monitor_test.cc | 385 ObjectTryLock<mirror::Object> lock(self, obj_); in Run() local 386 EXPECT_FALSE(lock.Acquired()); in Run()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2037 jobject lock) { in artQuickGenericJniEndJNIRef() argument 2039 if (lock != nullptr) { in artQuickGenericJniEndJNIRef() 2040 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self)); in artQuickGenericJniEndJNIRef() 2049 jobject lock) { in artQuickGenericJniEndJNINonRef() argument 2050 if (lock != nullptr) { in artQuickGenericJniEndJNINonRef() 2051 JniMethodEndSynchronized(cookie, lock, self); in artQuickGenericJniEndJNINonRef() 2178 jobject lock = called->IsSynchronized() ? visitor.GetFirstHandleScopeJObject() : nullptr; in artQuickGenericJniTrampoline() local 2180 artQuickGenericJniEndJNIRef(self, cookie, fast_native, nullptr, lock); in artQuickGenericJniTrampoline() 2182 artQuickGenericJniEndJNINonRef(self, cookie, fast_native, lock); in artQuickGenericJniTrampoline()
|
/art/runtime/openjdkjvm/ |
D | OpenjdkJvm.cc | 369 art::ObjPtr<art::mirror::Object> lock = soa.Decode<art::mirror::Object>(java_lock); in JVM_Sleep() local 370 art::Monitor::Wait(art::Thread::Current(), lock.Ptr(), millis, 0, true, art::kSleeping); in JVM_Sleep()
|
/art/runtime/openjdkjvmti/ |
D | ti_monitor.cc | 81 mutex_.lock(); in MonitorEnter()
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 682 X86Assembler* lock(); 701 lock()->cmpxchgl(address, reg); in LockCmpxchgl() 705 lock()->cmpxchg8b(address); in LockCmpxchg8b()
|
/art/runtime/jit/ |
D | jit_code_cache.h | 206 MutexLock lock(Thread::Current(), lock_); in GetCurrentCapacity()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 717 X86_64Assembler* lock(); 771 lock()->cmpxchgl(address, reg); in LockCmpxchgl() 775 lock()->cmpxchgq(address, reg); in LockCmpxchgq()
|