Lines Matching refs:lock

172     : dex_lock_("ClassLinker dex lock", kDefaultMutexLevel),
869 // We are loading or creating one in the future. Time to set up the file lock.
886 // TODO: What to lock here?
943 // Definitely need to lock now.
1975 ObjectLock<mirror::Class> lock(self, h_class);
1978 lock.WaitIgnoringInterrupts();
1994 ObjectLock<mirror::Class> lock(self, h_class);
2003 lock.WaitIgnoringInterrupts();
2258 ObjectLock<mirror::Class> lock(self, klass);
2260 // An exception occured during load, set status to erroneous while holding klass' lock in case
2998 // Don't alloc while holding the lock, since allocation may need to
3065 // Must hold lock on object when initializing.
3069 ObjectLock<mirror::Class> lock(self, h_class);
3175 ObjectLock<mirror::Class> lock(self, new_class); // Must hold lock on object when initializing.
3506 ObjectLock<mirror::Class> lock(self, klass);
3544 // Acquire lock to prevent races on verifying the super class.
3545 ObjectLock<mirror::Class> lock(self, super);
3877 // Must hold lock on object when resolved.
4098 // Note: we differ from the JLS here as we don't do this under the lock, this is benign as
4112 ObjectLock<mirror::Class> lock(self, klass);
4114 // Re-check under the lock in case another thread initialized ahead of us.
4119 // Was the class already found to be erroneous? Done under the lock to match the JLS.
4160 return WaitForInitializeClass(klass, self, lock);
4196 ObjectLock<mirror::Class> lock(self, klass);
4255 ObjectLock<mirror::Class> lock(self, klass);
4283 ObjectLock<mirror::Class>& lock)
4288 lock.WaitIgnoringInterrupts();
4488 ObjectLock<mirror::Class> lock(self, new_class_h);
5361 // No thread safety analysis as will be called from STL. Checked lock held in constructor.
5912 // lock held, because it might need to resolve a field's type, which would try to take the lock.