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

/dalvik/vm/
H A DLinearAlloc.h35 pthread_mutex_t lock; /* controls updates to this struct */ member in struct:LinearAllocHdr
H A DAtomic.cpp202 pthread_mutex_t* lock = GetSwapLock(addr); local
204 pthread_mutex_lock(lock);
209 pthread_mutex_unlock(lock);
223 pthread_mutex_t* lock = GetSwapLock(addr); local
225 pthread_mutex_lock(lock);
233 pthread_mutex_unlock(lock);
240 pthread_mutex_t* lock = GetSwapLock(addr); local
242 pthread_mutex_lock(lock);
244 pthread_mutex_unlock(lock);
H A DDebugger.h103 pthread_mutex_t lock; member in struct:DebugInvokeReq
H A DHash.h79 pthread_mutex_t lock; member in struct:HashTable
115 dvmLockMutex(&pHashTable->lock);
118 dvmUnlockMutex(&pHashTable->lock);
143 * forget to lock the table before calling this.
215 * The caller should lock the table beforehand.
H A DSync.cpp37 * The two states of an Object's lock are referred to as "thin" and
38 * "fat". A lock may transition from the "thin" state to the "fat"
39 * state and this transition is referred to as inflation. Once a lock
42 * The lock value itself is stored in Object.lock. The LSB of the
43 * lock encodes its state. When cleared, the lock is in the "thin"
47 * lock count thread id hash state 0
49 * When set, the lock is in the "fat" state and its bits are formatted
73 Thread* owner; /* which thread currently owns the lock
79 pthread_mutex_t lock; member in struct:Monitor
153 u4 lock; local
1236 u4 lock, owner, hashState; local
[all...]
/dalvik/vm/interp/
H A DInterp.cpp93 /* grab lock before reading or writing anything else in here */
94 pthread_mutex_t lock; member in struct:BreakpointSet
109 dvmInitMutex(&pSet->lock);
137 if (dvmTryLockMutex(&pSet->lock) != 0) {
140 dvmLockMutex(&pSet->lock);
150 dvmUnlockMutex(&pSet->lock);
164 * The BreakpointSet's lock must be acquired before calling here.
184 * The BreakpointSet's lock must be acquired before calling here.
229 * The BreakpointSet's lock must be acquired before calling here.
309 * The BreakpointSet's lock mus
[all...]
/dalvik/vm/oo/
H A DObject.h213 * A word containing either a "thin" lock or a "fat" monitor. See
216 u4 lock; member in struct:Object

Completed in 332 milliseconds