/dalvik/vm/compiler/ |
D | Compiler.c | 27 return gDvmJit.compilerQueueLength; in workQueueLength() 32 assert(gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex].kind in workDequeue() 35 gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex]; in workDequeue() 36 gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex++].kind = in workDequeue() 38 if (gDvmJit.compilerWorkDequeueIndex == COMPILER_WORK_QUEUE_SIZE) { in workDequeue() 39 gDvmJit.compilerWorkDequeueIndex = 0; in workDequeue() 41 gDvmJit.compilerQueueLength--; in workDequeue() 42 if (gDvmJit.compilerQueueLength == 0) { in workDequeue() 43 dvmSignalCond(&gDvmJit.compilerQueueEmpty); in workDequeue() 47 if (gDvmJit.compilerQueueLength > gDvmJit.compilerMaxQueued) in workDequeue() [all …]
|
D | Compiler.h | 54 (gDvmJit.profile ? PROT_WRITE : 0)) 61 dvmLockMutex(&gDvmJit.codeCacheProtectionLock); \ 62 mprotect((void *) (((intptr_t) (addr)) & ~gDvmJit.pageSizeMask), \ 63 (size) + (((intptr_t) (addr)) & gDvmJit.pageSizeMask), \ 70 mprotect((void *) (((intptr_t) (addr)) & ~gDvmJit.pageSizeMask), \ 71 (size) + (((intptr_t) (addr)) & gDvmJit.pageSizeMask), \ 73 dvmUnlockMutex(&gDvmJit.codeCacheProtectionLock); \ 77 (gDvmJit.includeSelectedOp != \ 78 ((gDvmJit.opList[opcode >> 3] & (1 << (opcode & 0x7))) != 0))
|
D | Utility.c | 220 gDvmJit.numCompilations, in dvmCompilerDumpStats() 221 gDvmJit.templateSize, in dvmCompilerDumpStats() 222 gDvmJit.codeCacheByteUsed - gDvmJit.templateSize); in dvmCompilerDumpStats() 225 LOGD("Compiler work queue length is %d/%d", gDvmJit.compilerQueueLength, in dvmCompilerDumpStats() 226 gDvmJit.compilerMaxQueued); in dvmCompilerDumpStats() 229 if (gDvmJit.methodStatsTable) { in dvmCompilerDumpStats() 230 dvmHashForeach(gDvmJit.methodStatsTable, dumpMethodStats, in dvmCompilerDumpStats()
|
D | Frontend.c | 281 realMethodEntry = dvmHashTableLookup(gDvmJit.methodStatsTable, hashValue, in dvmCompilerAnalyzeMethodBody() 292 dvmHashTableLookup(gDvmJit.methodStatsTable, hashValue, in dvmCompilerAnalyzeMethodBody() 389 dvmHashTableLookup(gDvmJit.methodTable, hashValue, in filterMethodByCallGraph() 396 gDvmJit.includeSelectedMethod ? "white" : "black"); in filterMethodByCallGraph() 452 cUnit.printMe = gDvmJit.printMe; in dvmCompileTrace() 455 cUnit.executionCount = gDvmJit.profile; in dvmCompileTrace() 464 if (gDvmJit.methodTable) { in dvmCompileTrace() 480 dvmHashTableLookup(gDvmJit.methodTable, hashValue, in dvmCompileTrace() 489 dvmHashTableLookup(gDvmJit.methodTable, hashValue, in dvmCompileTrace() 497 dvmHashTableLookup(gDvmJit.methodTable, hashValue, in dvmCompileTrace() [all …]
|
D | InlineTransformation.c | 117 gDvmJit.invokePolyGetterInlined++; in inlineGetter() 123 gDvmJit.invokeMonoGetterInlined++; in inlineGetter() 194 gDvmJit.invokePolySetterInlined++; in inlineSetter() 204 gDvmJit.invokeMonoSetterInlined++; in inlineSetter()
|
/dalvik/vm/interp/ |
D | Jit.c | 279 gDvmJit.selfVerificationSpin = true; in selfVerificationSpinLoop() 280 while(gDvmJit.selfVerificationSpin) sleep(10); in selfVerificationSpinLoop() 429 gDvmJit.pProfTable = NULL; in dvmJitStopTranslationRequests() 436 gDvmJit.noChainExit[from]++; in dvmBumpNoChain() 442 gDvmJit.normalExit++; in dvmBumpNormal() 448 gDvmJit.puntExit++; in dvmBumpPunt() 460 if (gDvmJit.pJitEntryTable) { in dvmJitStats() 462 i < (int) gDvmJit.jitTableSize; in dvmJitStats() 464 if (gDvmJit.pJitEntryTable[i].dPC != 0) { in dvmJitStats() 466 if (gDvmJit.pJitEntryTable[i].codeAddress == in dvmJitStats() [all …]
|
D | InterpDefs.h | 246 return gDvmJit.pProfTable != NULL in dvmJitDebuggerOrProfilerActive() 258 (gDvmJit.codeCacheFull == true) || in dvmJitHideTranslation() 259 (gDvmJit.pProfTable == NULL); in dvmJitHideTranslation() 273 (gDvmJit.compilerQueueLength >= gDvmJit.compilerHighWater); in dvmJitStayInPortableInterpreter()
|
D | Jit.h | 82 return dvmJitHashMask( p, gDvmJit.jitTableMask ); in dvmJitHash()
|
/dalvik/vm/compiler/codegen/arm/armv5te-vfp/ |
D | ArchVariant.c | 52 gDvmJit.jitTableSize = 1 << 9; // 512 in dvmCompilerArchVariantInit() 53 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; in dvmCompilerArchVariantInit() 54 gDvmJit.threshold = 200; in dvmCompilerArchVariantInit() 55 gDvmJit.codeCacheSize = 512*1024; in dvmCompilerArchVariantInit() 59 gDvmJit.blockingMode = true; in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv5te/ |
D | ArchVariant.c | 52 gDvmJit.jitTableSize = 1 << 9; // 512 in dvmCompilerArchVariantInit() 53 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; in dvmCompilerArchVariantInit() 54 gDvmJit.threshold = 200; in dvmCompilerArchVariantInit() 55 gDvmJit.codeCacheSize = 512*1024; in dvmCompilerArchVariantInit() 59 gDvmJit.blockingMode = true; in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv7-a/ |
D | ArchVariant.c | 47 gDvmJit.jitTableSize = 1 << 12; // 4096 in dvmCompilerArchVariantInit() 48 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; in dvmCompilerArchVariantInit() 49 gDvmJit.threshold = 40; in dvmCompilerArchVariantInit() 50 gDvmJit.codeCacheSize = 1024*1024; in dvmCompilerArchVariantInit() 54 gDvmJit.blockingMode = true; in dvmCompilerArchVariantInit()
|
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/ |
D | ArchVariant.c | 47 gDvmJit.jitTableSize = 1 << 12; // 4096 in dvmCompilerArchVariantInit() 48 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; in dvmCompilerArchVariantInit() 49 gDvmJit.threshold = 40; in dvmCompilerArchVariantInit() 50 gDvmJit.codeCacheSize = 1024*1024; in dvmCompilerArchVariantInit() 54 gDvmJit.blockingMode = true; in dvmCompilerArchVariantInit()
|
/dalvik/vm/native/ |
D | dalvik_system_VMRuntime.c | 192 gDvmJit.disableJit == false) { in Dalvik_dalvik_system_VMRuntime_startJitCompilation() 193 dvmLockMutex(&gDvmJit.compilerLock); in Dalvik_dalvik_system_VMRuntime_startJitCompilation() 194 gDvmJit.alreadyEnabledViaFramework = true; in Dalvik_dalvik_system_VMRuntime_startJitCompilation() 195 pthread_cond_signal(&gDvmJit.compilerQueueActivity); in Dalvik_dalvik_system_VMRuntime_startJitCompilation() 196 dvmUnlockMutex(&gDvmJit.compilerLock); in Dalvik_dalvik_system_VMRuntime_startJitCompilation() 214 gDvmJit.disableJit = true; in Dalvik_dalvik_system_VMRuntime_disableJitCompilation()
|
/dalvik/vm/compiler/codegen/arm/ |
D | Assemble.c | 892 #define UPDATE_CODE_CACHE_PATCHES() (gDvmJit.codeCachePatches++) 1142 for (i = 0; i < size - gDvmJit.signatureBreakpointSize + 1; i++) { in matchSignatureBreakpoint() 1143 if (ptr[i] == gDvmJit.signatureBreakpoint[0]) { in matchSignatureBreakpoint() 1144 for (j = 1; j < gDvmJit.signatureBreakpointSize; j++) { in matchSignatureBreakpoint() 1145 if (ptr[i+j] != gDvmJit.signatureBreakpoint[j]) { in matchSignatureBreakpoint() 1149 if (j == gDvmJit.signatureBreakpointSize) { in matchSignatureBreakpoint() 1151 i*4, gDvmJit.signatureBreakpointSize); in matchSignatureBreakpoint() 1261 gDvmJit.profile ? (chainCellOffset - 4) : chainCellOffset; in dvmCompilerAssembleLIR() 1277 if (gDvmJit.codeCacheByteUsed + cUnit->totalSize > gDvmJit.codeCacheSize) { in dvmCompilerAssembleLIR() 1278 gDvmJit.codeCacheFull = true; in dvmCompilerAssembleLIR() [all …]
|
D | CodegenFactory.c | 328 (int) gDvmJit.codeCache + templateEntryOffsets[opCode], in genDispatchToHandler() 329 (int) gDvmJit.codeCache + templateEntryOffsets[opCode]); in genDispatchToHandler() 331 (int) gDvmJit.codeCache + templateEntryOffsets[opCode], in genDispatchToHandler() 332 (int) gDvmJit.codeCache + templateEntryOffsets[opCode]); in genDispatchToHandler()
|
D | LocalOptimizations.c | 505 if (!(gDvmJit.disableOpt & (1 << kLoadStoreElimination))) { in dvmCompilerApplyLocalOptimizations() 509 if (!(gDvmJit.disableOpt & (1 << kLoadHoisting))) { in dvmCompilerApplyLocalOptimizations()
|
D | CodegenDriver.c | 228 (int) gDvmJit.codeCache + templateEntryOffsets[opCode], in selfVerificationBranchInsertPass() 229 (int) gDvmJit.codeCache + templateEntryOffsets[opCode]); in selfVerificationBranchInsertPass() 231 (int) gDvmJit.codeCache + templateEntryOffsets[opCode], in selfVerificationBranchInsertPass() 232 (int) gDvmJit.codeCache + templateEntryOffsets[opCode]); in selfVerificationBranchInsertPass() 911 gDvmJit.returnOp++; in genReturnCommon() 1081 gDvmJit.invokeNative++; in genInvokeSingletonCommon() 1086 gDvmJit.invokeMonomorphic++; in genInvokeSingletonCommon() 1210 gDvmJit.invokePolymorphic++; in genInvokeVirtualCommon() 3106 gDvmJit.invokePolymorphic++; in handleFmt35c_3rc() 4086 if (gDvmJit.disableOpt & (1 << kTrackLiveTemps)) { in dvmCompilerMIR2LIR() [all …]
|
D | RallocUtil.c | 580 if (!(gDvmJit.disableOpt & (1 << kSuppressLoads))) { in dvmCompilerResetDefLoc() 592 if (!(gDvmJit.disableOpt & (1 << kSuppressLoads))) { in dvmCompilerResetDefLocWide()
|
/dalvik/vm/mterp/ |
D | Mterp.c | 81 glue->pJitProfTable = gDvmJit.pProfTable; in dvmMterpStd() 82 glue->ppJitProfTable = &gDvmJit.pProfTable; in dvmMterpStd() 83 glue->jitThreshold = gDvmJit.threshold; in dvmMterpStd()
|
/dalvik/vm/ |
D | Init.c | 53 struct DvmJitGlobals gDvmJit; variable 590 gDvmJit.opList[startValue >> 3] |= in processXjitop() 613 gDvmJit.opList[i] = 0xff; in processXjitop() 625 gDvmJit.methodTable = dvmHashTableCreate(8, NULL); in processXjitmethod() 642 dvmHashTableLookup(gDvmJit.methodTable, hashValue, in processXjitmethod() 845 gDvmJit.runningInAndroidFramework = true; in dvmProcessOptions() 911 gDvmJit.blockingMode = true; in dvmProcessOptions() 913 gDvmJit.threshold = atoi(argv[i] + 15); in dvmProcessOptions() 915 gDvmJit.includeSelectedOp = true; in dvmProcessOptions() 917 gDvmJit.includeSelectedMethod = true; in dvmProcessOptions() [all …]
|
D | SignalCatcher.c | 231 gDvmJit.codeCacheFull = true; in handleSigUsr2()
|
D | Globals.h | 869 extern struct DvmJitGlobals gDvmJit;
|
D | Thread.c | 2665 if (gDvmJit.pJitEntryTable && retryCount > 0 && in waitForThreadSuspend() 2666 gDvmJit.hasNewChain && thread->inJitCodeCache) { in waitForThreadSuspend()
|
/dalvik/vm/mterp/armv5te/ |
D | footer.S | 475 ldr r3, [rGLUE, #offGlue_ppJitProfTable] @ r3<-&gDvmJit.pJitProfTable
|
/dalvik/vm/mterp/out/ |
D | InterpAsm-armv5te-vfp.S | 9860 ldr r3, [rGLUE, #offGlue_ppJitProfTable] @ r3<-&gDvmJit.pJitProfTable
|