/dalvik/vm/ |
D | Sync.cpp | 79 pthread_mutex_t lock; member 109 dvmInitMutex(&mon->lock); in dvmCreateMonitor() 153 u4 lock; in lockOwner() local 160 lock = obj->lock; in lockOwner() 161 if (LW_SHAPE(lock) == LW_SHAPE_THIN) { in lockOwner() 162 return LW_LOCK_OWNER(lock); in lockOwner() 164 owner = LW_MONITOR(lock)->owner; in lockOwner() 205 assert(LW_SHAPE(mon->obj->lock) == LW_SHAPE_FAT); in freeMonitor() 214 assert(pthread_mutex_trylock(&mon->lock) == 0); in freeMonitor() 215 assert(pthread_mutex_unlock(&mon->lock) == 0); in freeMonitor() [all …]
|
D | Atomic.cpp | 178 pthread_mutex_t* lock = SWAP_LOCK(addr); in dvmQuasiAtomicSwap64() local 180 pthread_mutex_lock(lock); in dvmQuasiAtomicSwap64() 185 pthread_mutex_unlock(lock); in dvmQuasiAtomicSwap64() 199 pthread_mutex_t* lock = SWAP_LOCK(addr); in dvmQuasiAtomicCas64() local 201 pthread_mutex_lock(lock); in dvmQuasiAtomicCas64() 209 pthread_mutex_unlock(lock); in dvmQuasiAtomicCas64() 216 pthread_mutex_t* lock = SWAP_LOCK(addr); in dvmQuasiAtomicRead64() local 218 pthread_mutex_lock(lock); in dvmQuasiAtomicRead64() 220 pthread_mutex_unlock(lock); in dvmQuasiAtomicRead64()
|
D | Hash.h | 79 pthread_mutex_t lock; member 115 dvmLockMutex(&pHashTable->lock); in dvmHashTableLock() 118 dvmUnlockMutex(&pHashTable->lock); in dvmHashTableUnlock()
|
D | LinearAlloc.cpp | 212 dvmInitMutex(&pHdr->lock); in dvmLinearAllocCreate() 287 dvmLockMutex(&pHdr->lock); in dvmLinearAlloc() 388 dvmUnlockMutex(&pHdr->lock); in dvmLinearAlloc() 455 dvmLockMutex(&pHdr->lock); in updatePages() 526 dvmUnlockMutex(&pHdr->lock); in updatePages() 600 dvmLockMutex(&pHdr->lock); in dvmLinearAllocDump() 651 dvmUnlockMutex(&pHdr->lock); in dvmLinearAllocDump() 667 dvmLockMutex(&pHdr->lock); in checkAllFree() 685 dvmUnlockMutex(&pHdr->lock); in checkAllFree()
|
D | Sync.h | 73 #define IS_LOCK_FAT(lock) (LW_SHAPE(*(lock)) == LW_SHAPE_FAT) argument
|
D | LinearAlloc.h | 35 pthread_mutex_t lock; /* controls updates to this struct */ member
|
D | Jni.cpp | 329 ScopedPthreadMutexLock lock(&gDvm.jniGlobalRefLock); in dvmDecodeIndirectRef() local 341 ScopedPthreadMutexLock lock(&gDvm.jniWeakGlobalRefLock); in dvmDecodeIndirectRef() local 473 ScopedPthreadMutexLock lock(&gDvm.jniGlobalRefLock); in addGlobalReference() local 525 ScopedPthreadMutexLock lock(&gDvm.jniWeakGlobalRefLock); in addWeakGlobalReference() local 541 ScopedPthreadMutexLock lock(&gDvm.jniWeakGlobalRefLock); in deleteWeakGlobalReference() local 560 ScopedPthreadMutexLock lock(&gDvm.jniGlobalRefLock); in deleteGlobalReference() local 588 ScopedPthreadMutexLock lock(&gDvm.jniPinRefLock); in pinPrimitiveArray() local 631 ScopedPthreadMutexLock lock(&gDvm.jniPinRefLock); in unpinPrimitiveArray() local 3302 ScopedPthreadMutexLock lock(&vm->envListLock); in dvmCreateJNIEnv() local 3333 ScopedPthreadMutexLock lock(&vm->envListLock); in dvmDestroyJNIEnv() local
|
D | Debugger.h | 103 pthread_mutex_t lock; member
|
D | Hash.cpp | 54 dvmInitMutex(&pHashTable->lock); in dvmHashTableCreate()
|
D | Debugger.cpp | 2688 dvmLockMutex(&targetThread->invokeReq.lock); in dvmDbgInvokeMethod() 2703 &targetThread->invokeReq.lock); in dvmDbgInvokeMethod() 2705 dvmUnlockMutex(&targetThread->invokeReq.lock); in dvmDbgInvokeMethod()
|
D | Thread.cpp | 920 dvmInitMutex(&thread->invokeReq.lock); in prepareThread()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | IndentingWriter.java | 92 synchronized (lock) { in write() 140 synchronized (lock) { in write() 152 synchronized (lock) { in write()
|
/dalvik/dx/src/com/android/dx/util/ |
D | IndentingWriter.java | 92 synchronized (lock) { in write() 140 synchronized (lock) { in write() 152 synchronized (lock) { in write()
|
/dalvik/tests/088-monitor-verification/ |
D | info.txt | 2 lock checks in the bytecode verifier.
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
D | Gen.cpp | 252 offsetof(Object, lock) >> 2); // Get object->lock in genMonitorEnter() 259 newLIR4(cUnit, kThumb2Strex, r2, r3, r1, offsetof(Object, lock) >> 2); in genMonitorEnter() 305 loadWordDisp(cUnit, r1, offsetof(Object, lock), r2); // Get object->lock in genMonitorExit() 316 storeWordDisp(cUnit, r1, offsetof(Object, lock), r7); in genMonitorExit()
|
/dalvik/vm/native/ |
D | dalvik_system_VMRuntime.cpp | 69 ScopedPthreadMutexLock lock(&gDvmJit.compilerLock); in Dalvik_dalvik_system_VMRuntime_startJitCompilation() local
|
/dalvik/vm/interp/ |
D | Interp.cpp | 94 pthread_mutex_t lock; member 109 dvmInitMutex(&pSet->lock); in dvmBreakpointSetAlloc() 137 if (dvmTryLockMutex(&pSet->lock) != 0) { in dvmBreakpointSetLock() 140 dvmLockMutex(&pSet->lock); in dvmBreakpointSetLock() 150 dvmUnlockMutex(&pSet->lock); in dvmBreakpointSetUnlock()
|
/dalvik/vm/alloc/ |
D | Copying.cpp | 1290 if (LW_HASH_STATE(fromObj->lock) != LW_HASH_STATE_UNHASHED) { in transportObject() 1297 if (LW_HASH_STATE(fromObj->lock) == LW_HASH_STATE_HASHED_AND_MOVED) { in transportObject() 1310 if (LW_HASH_STATE(fromObj->lock) == LW_HASH_STATE_HASHED) { in transportObject() 1316 toObj->lock |= LW_HASH_STATE_HASHED_AND_MOVED << LW_HASH_STATE_SHIFT; in transportObject() 1933 if (LW_HASH_STATE(obj->lock) == LW_HASH_STATE_HASHED_AND_MOVED) { in objectSize()
|
/dalvik/vm/mterp/common/ |
D | asm-constants.h | 205 MTERP_OFFSET(offObject_lock, Object, lock, 4)
|
/dalvik/vm/oo/ |
D | Object.h | 216 u4 lock; member
|
/dalvik/vm/jdwp/ |
D | JdwpEvent.cpp | 625 dvmDbgLockMutex(&pReq->lock); in suspendByPolicy() 627 dvmDbgUnlockMutex(&pReq->lock); in suspendByPolicy()
|