Searched defs:lock (Results 1 - 4 of 4) sorted by relevance

/art/test/ThreadStress/
H A DThreadStress.java55 final Object lock = new Object();
99 threadStresses[t] = new ThreadStress(lock, t, operations);
157 synchronized (lock) {
158 lock.notifyAll();
175 private final Object lock; field in class:ThreadStress
180 private ThreadStress(Object lock, int id, Operation[] operations) { argument
181 this.lock = lock;
216 synchronized (lock) {
218 lock
[all...]
/art/runtime/native/
H A Djava_lang_Thread.cc122 // thread list lock to avoid this, as setting the thread name causes mutator to lock/unlock
154 mirror::Object* lock = soa.Decode<mirror::Object*>(java_lock); local
155 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping); local
/art/compiler/utils/x86/
H A Dassembler_x86.cc1196 X86Assembler* X86Assembler::lock() { function in class:art::x86::X86Assembler
/art/runtime/
H A Dthread.cc474 // If we're in kStarting, we won't have a thin lock id or tid yet.
1041 // Thread.join() is implemented as an Object.wait() on the Thread.lock object. Signal anyone
1043 mirror::Object* lock = local
1045 // (This conditional is only needed for tests, where Thread.lock won't have been set.)
1046 if (lock != NULL) {
1047 ObjectLock locker(self, lock);

Completed in 422 milliseconds