/dalvik/vm/compiler/ |
Compiler.cpp | 34 return gDvmJit.compilerQueueLength; 39 assert(gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex].kind 42 gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex]; 43 gDvmJit.compilerWorkQueue[gDvmJit.compilerWorkDequeueIndex++].kind = 45 if (gDvmJit.compilerWorkDequeueIndex == COMPILER_WORK_QUEUE_SIZE) { 46 gDvmJit.compilerWorkDequeueIndex = 0; 48 gDvmJit.compilerQueueLength-- [all...] |
Compiler.h | 54 dvmLockMutex(&gDvmJit.codeCacheProtectionLock); \ 55 mprotect((void *) (((intptr_t) (addr)) & ~gDvmJit.pageSizeMask), \ 56 (size) + (((intptr_t) (addr)) & gDvmJit.pageSizeMask), \ 63 mprotect((void *) (((intptr_t) (addr)) & ~gDvmJit.pageSizeMask), \ 64 (size) + (((intptr_t) (addr)) & gDvmJit.pageSizeMask), \ 66 dvmUnlockMutex(&gDvmJit.codeCacheProtectionLock); \ 70 (gDvmJit.includeSelectedOp != \ 71 ((gDvmJit.opList[opcode >> 3] & (1 << (opcode & 0x7))) != 0))
|
Utility.cpp | 244 gDvmJit.numCompilations, 245 gDvmJit.templateSize, 246 gDvmJit.codeCacheByteUsed - gDvmJit.templateSize); 249 ALOGD("Compiler work queue length is %d/%d", gDvmJit.compilerQueueLength, 250 gDvmJit.compilerMaxQueued); 253 if (gDvmJit.methodStatsTable) { 254 dvmHashForeach(gDvmJit.methodStatsTable, dumpMethodStats,
|
InlineTransformation.cpp | 124 gDvmJit.invokePolyGetterInlined++; 130 gDvmJit.invokeMonoGetterInlined++; 208 gDvmJit.invokePolySetterInlined++; 218 gDvmJit.invokeMonoSetterInlined++; 325 if (gDvmJit.methodTraceSupport) 360 !(gDvmJit.disableOpt & (1 << kMethodJit)) && 405 !(gDvmJit.disableOpt & (1 << kMethodJit)) &&
|
Frontend.cpp | 287 dvmHashTableLookup(gDvmJit.methodStatsTable, 299 dvmHashTableLookup(gDvmJit.methodStatsTable, hashValue, 396 dvmHashTableLookup(gDvmJit.methodTable, hashValue, 403 gDvmJit.includeSelectedMethod ? "white" : "black"); [all...] |
/dalvik/vm/compiler/codegen/arm/armv5te/ |
ArchVariant.cpp | 53 gDvmJit.jitTableSize = 1 << 9; // 512 54 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 55 if (gDvmJit.threshold == 0) { 56 gDvmJit.threshold = 200; 58 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 59 gDvmJit.codeCacheSize = 512 * 1024; 60 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 64 assert(gDvmJit.codeCacheSize <= 2 * 1024 * 1024); 68 gDvmJit.blockingMode = true [all...] |
/dalvik/vm/compiler/codegen/arm/armv5te-vfp/ |
ArchVariant.cpp | 53 gDvmJit.jitTableSize = 1 << 9; // 512 54 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 55 if (gDvmJit.threshold == 0) { 56 gDvmJit.threshold = 200; 58 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 59 gDvmJit.codeCacheSize = 512 * 1024; 60 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 64 assert(gDvmJit.codeCacheSize <= 2 * 1024 * 1024); 68 gDvmJit.blockingMode = true [all...] |
/dalvik/vm/compiler/codegen/arm/armv7-a/ |
ArchVariant.cpp | 48 gDvmJit.jitTableSize = 1 << 12; // 4096 49 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 50 if (gDvmJit.threshold == 0) { 51 gDvmJit.threshold = 40; 53 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 54 gDvmJit.codeCacheSize = 1500 * 1024; 55 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 59 assert(gDvmJit.codeCacheSize <= 2 * 1024 * 1024); 63 gDvmJit.blockingMode = true [all...] |
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/ |
ArchVariant.cpp | 48 gDvmJit.jitTableSize = 1 << 12; // 4096 49 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 50 if (gDvmJit.threshold == 0) { 51 gDvmJit.threshold = 40; 53 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 54 gDvmJit.codeCacheSize = 1500 * 1024; 55 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 59 assert(gDvmJit.codeCacheSize <= 2 * 1024 * 1024); 63 gDvmJit.blockingMode = true [all...] |
MethodCodegenDriver.cpp | 114 if (backwardBranch && gDvmJit.genSuspendPoll) { 275 if (gDvmJit.disableOpt & (1 << kTrackLiveTemps)) { 279 if (gDvmJit.disableOpt & (1 << kSuppressLoads)) {
|
/dalvik/vm/compiler/codegen/mips/mips/ |
ArchVariant.cpp | 53 gDvmJit.jitTableSize = 1 << 9; // 512 54 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 55 if (gDvmJit.threshold == 0) { 56 gDvmJit.threshold = 200; 58 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 59 gDvmJit.codeCacheSize = 512 * 1024; 60 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 66 gDvmJit.blockingMode = true; 88 gDvmJit.disableOpt |= (1 << kMethodJit) [all...] |
/dalvik/vm/interp/ |
Jit.cpp | 248 gDvmJit.selfVerificationSpin = true; 249 while(gDvmJit.selfVerificationSpin) sleep(10); 444 gDvmJit.pProfTable = NULL; 452 gDvmJit.noChainExit[from]++; 458 gDvmJit.normalExit++; 464 gDvmJit.puntExit++; 476 if (gDvmJit.pJitEntryTable) { 478 i < (int) gDvmJit.jitTableSize; 480 if (gDvmJit.pJitEntryTable[i].dPC != 0) { 482 if (gDvmJit.pJitEntryTable[i].codeAddress = [all...] |
InterpDefs.h | 92 return (gDvmJit.pProfTable != NULL) || dvmDebuggerOrProfilerActive(); 102 (gDvmJit.codeCacheFull == true) || 103 (gDvmJit.pProfTable == NULL);
|
Jit.h | 95 return dvmJitHashMask( p, gDvmJit.jitTableMask );
|
/dalvik/vm/compiler/codegen/x86/ |
CodegenInterface.cpp | 58 #define UPDATE_CODE_CACHE_PATCHES() (gDvmJit.codeCachePatches++) 65 gDvmJit.jitTableSize = 1 << 12; 66 gDvmJit.jitTableMask = gDvmJit.jitTableSize - 1; 67 if (gDvmJit.threshold == 0) { 68 gDvmJit.threshold = 255; 70 if (gDvmJit.codeCacheSize == DEFAULT_CODE_CACHE_SIZE) { 71 gDvmJit.codeCacheSize = 512 * 1024; 72 } else if ((gDvmJit.codeCacheSize == 0) && (gDvm.executionMode == kExecutionModeJit)) { 75 gDvmJit.optLevel = kJitOptLevelO1 [all...] |
/dalvik/vm/compiler/codegen/mips/ |
Assemble.cpp | 403 #define UPDATE_CODE_CACHE_PATCHES() (gDvmJit.codeCachePatches++) 716 for (i = 0; i < size - gDvmJit.signatureBreakpointSize + 1; i++) { 717 if (ptr[i] == gDvmJit.signatureBreakpoint[0]) [all...] |
LocalOptimizations.cpp | 459 if (!(gDvmJit.disableOpt & (1 << kLoadStoreElimination))) { 463 if (!(gDvmJit.disableOpt & (1 << kLoadHoisting))) {
|
/dalvik/vm/compiler/codegen/arm/ |
ArchFactory.cpp | 118 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 119 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]); 121 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 122 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]);
|
Assemble.cpp | [all...] |
LocalOptimizations.cpp | 459 if (!(gDvmJit.disableOpt & (1 << kLoadStoreElimination))) { 463 if (!(gDvmJit.disableOpt & (1 << kLoadHoisting))) {
|
/dalvik/vm/ |
Init.cpp | 66 struct DvmJitGlobals gDvmJit; 590 gDvmJit.opList[startValue >> 3] |= 1 << (startValue & 0x7); 612 gDvmJit.opList[i] = 0xff; 620 gDvmJit.num_entries_pcTable = 0; 633 gDvmJit.pcTable[idx++] = atoi(tmp); 645 gDvmJit.num_entries_pcTable = idx; 653 if (isMethod && gDvmJit.methodTable == NULL) { 654 gDvmJit.methodTable = dvmHashTableCreate(8, NULL); 656 if (!isMethod && gDvmJit.classTable == NULL) { 657 gDvmJit.classTable = dvmHashTableCreate(8, NULL) [all...] |
SignalCatcher.cpp | 235 gDvmJit.receivedSIGUSR2 ^= true; 239 gDvmJit.codeCacheFull = true;
|
/dalvik/vm/compiler/codegen/arm/Thumb/ |
Gen.cpp | 59 if ((gDvmJit.profileMode == kTraceProfilingContinuous) || 60 (gDvmJit.profileMode == kTraceProfilingDisabled)) { 72 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 73 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]); 75 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 76 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]);
|
/dalvik/vm/native/ |
dalvik_system_VMRuntime.cpp | 72 if (gDvm.executionMode == kExecutionModeJit && gDvmJit.disableJit == false) { 73 ScopedPthreadMutexLock lock(&gDvmJit.compilerLock); 74 gDvmJit.alreadyEnabledViaFramework = true; 75 pthread_cond_signal(&gDvmJit.compilerQueueActivity); 93 gDvmJit.disableJit = true;
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
Gen.cpp | 56 if ((gDvmJit.profileMode == kTraceProfilingContinuous) || 57 (gDvmJit.profileMode == kTraceProfilingDisabled)) { 67 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 68 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]); 70 (int) gDvmJit.codeCache + templateEntryOffsets[opcode], 71 (int) gDvmJit.codeCache + templateEntryOffsets[opcode]);
|