/art/test/123-compiler-regressions-mt/src/ |
H A D | Main.java | 81 private Object lock = new Object(); field in class:B17689750TestMonitor 87 synchronized (lock) { 92 synchronized (lock) { 100 synchronized (lock) { 107 synchronized (lock) {
|
/art/runtime/gc/ |
H A D | reference_queue.cc | 29 ReferenceQueue::ReferenceQueue(Mutex* lock) : lock_(lock), list_(nullptr) { argument
|
/art/runtime/native/ |
H A D | java_lang_Thread.cc | 141 // thread list lock to avoid this, as setting the thread name causes mutator to lock/unlock 145 // Take suspend thread lock to avoid races with threads trying to suspend this one. 175 mirror::Object* lock = soa.Decode<mirror::Object*>(java_lock); local 176 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping); local
|
/art/test/004-ThreadStress/src/ |
H A D | Main.java | 185 private final Object lock; field in class:Main.TimedWait 187 public TimedWait(Object lock) { argument 188 this.lock = lock; 193 synchronized (lock) { 195 lock.wait(SLEEP_TIME, 0); 204 private final Object lock; field in class:Main.Wait 206 public Wait(Object lock) { argument 207 this.lock = lock; 223 private final Object lock; field in class:Main.SyncAndWork 225 SyncAndWork(Object lock) argument 241 createDefaultFrequencyMap(Object lock) argument 256 createLockFrequencyMap(Object lock) argument 270 updateFrequencyMap(Map<Operation, Double> in, Object lock, String arg) argument 401 runTest(final int numberOfThreads, final int numberOfDaemons, final int operationsPerThread, final Object lock, Map<Operation, Double> frequencyMap) argument 537 private final Object lock; field in class:Main 542 Main(Object lock, int id, Operation[] operations) argument 573 Daemon(Object lock, int id, Operation[] operations) argument [all...] |
/art/runtime/arch/ |
H A D | stub_test.cc | 598 LockWord lock = obj->GetLockWord(false); local 599 LockWord::LockState old_state = lock.GetState(); 607 EXPECT_EQ(lock_after.ThinLockCount(), 0U); // Thin lock starts count at zero 612 // Check we're at lock count i 620 // Force a fat lock by running identity hashcode to fill up lock word. 655 // NO_THREAD_SAFETY_ANALYSIS as we do not want to grab exclusive mutator lock for MonitorInfo. 668 static constexpr size_t kNumberOfLocks = 10; // Number of objects = lock 672 LockWord lock = obj->GetLockWord(false); variable 673 LockWord::LockState old_state = lock [all...] |
/art/runtime/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 369 art::mirror::Object* lock = soa.Decode<art::mirror::Object*>(java_lock); local 370 art::Monitor::Wait(art::Thread::Current(), lock, millis, 0, true, art::kSleeping); local 418 // thread list lock to avoid this, as setting the thread name causes mutator to lock/unlock 422 // Take suspend thread lock to avoid races with threads trying to suspend this one.
|
/art/runtime/ |
H A D | profiler.cc | 92 // of which caller, the mutator lock must be held. 136 // Grab the mutator lock (shared access). 258 ScopedObjectAccess soa(self); // Acquire the mutator lock. 285 LOG(ERROR) << "Failed to lock profile file " << full_name; 395 wait_lock_("Profile wait lock"), 406 // We require mutator lock since some statistics will be updated here. 473 ProfileSampleResults::ProfileSampleResults(Mutex& lock) argument 474 : lock_(lock),
|
H A D | thread.cc | 944 // If we're in kStarting, we won't have a thin lock id or tid yet. 1053 // Grab the suspend_count lock and copy the current set of 1055 // function requires the lock so we prevent a race between setting 1065 // will first test the kActiveSuspendBarrier flag without lock. Here 1067 // suspend_count lock. 1120 // Grab the suspend_count lock and copy the current set of 1122 // function will also grab this lock so we prevent a race between setting 1133 // Outside the lock, run all the checkpoint functions that 1426 // Getting the identity hashcode here would result in lock inflation and suspension of the 1701 // Release locally held global references which releasing may require the mutator lock 1731 mirror::Object* lock = local [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 1915 uint64_t artQuickGenericJniEndJNIRef(Thread* self, uint32_t cookie, jobject l, jobject lock) { argument 1916 if (lock != nullptr) { 1917 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self)); 1923 void artQuickGenericJniEndJNINonRef(Thread* self, uint32_t cookie, jobject lock) { argument 1924 if (lock != nullptr) { 1925 JniMethodEndSynchronized(cookie, lock, self); 1995 jobject lock = called->IsSynchronized() ? visitor.GetFirstHandleScopeJObject() : nullptr; local 1997 artQuickGenericJniEndJNIRef(self, cookie, nullptr, lock); 1999 artQuickGenericJniEndJNINonRef(self, cookie, lock); 2023 // We're here just back from a native call. We don't have the shared mutator lock a [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 1700 X86Assembler* X86Assembler::lock() { function in class:art::x86::X86Assembler
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.cc | 2121 X86_64Assembler* X86_64Assembler::lock() { function in class:art::x86_64::X86_64Assembler
|