/dalvik/vm/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp | 90 * Get a stack trace as an array of StackTraceElement objects. Returns 98 ArrayObject* trace; local 100 trace = dvmDdmGetStackTraceById(threadId); 101 RETURN_PTR(trace);
|
H A D | dalvik_system_VMStack.cpp | 74 * Get an array with the stack trace in it. 130 * Return a trace buffer for the specified thread or NULL if the 132 * non-NULL trace buffer. Caller is responsible for freeing the trace 160 * Suspend the thread, pull out the stack trace, then resume the thread 162 * our own stack trace, skip the suspend/resume. 177 * Retrieve the stack trace of the specified thread and return it as an 193 ArrayObject* trace = dvmGetStackTraceRaw(traceBuf, stackDepth); local 195 RETURN_PTR(trace); 201 * Retrieve a partial stack trace o [all...] |
/dalvik/vm/interp/ |
H A D | Jit.cpp | 103 * Store the original method here in case the trace ends with a 122 // Reset trace length 217 /* Print decoded instructions in the current trace */ 227 addr = shadowSpace->trace[i].addr; 229 decInsn = &(shadowSpace->trace[i].decInsn); 254 * in a trace that was just executed. This routine is called for 255 * each instruction in the original trace, and compares state 260 * count with each trace exit, we could just single-step the right 293 * trace length when backward branches are involved. 389 * Success. If this shadowed trace include 659 dvmJitDumpTraceDesc(JitTraceDescription *trace) argument [all...] |
H A D | Jit.h | 58 InstructionTrace trace[JIT_MAX_TRACE_LEN]; /* opcode trace for debugging */ member in struct:ShadowSpace 59 int traceLength; /* counter for current trace length */ 79 * Offsets for metadata in the trace run array from the trace that ends with 108 * The trace profiling counters are allocated in blocks and individual 109 * counters must not move so long as any referencing trace exists. 174 void dvmJitDumpTraceDesc(JitTraceDescription *trace);
|
/dalvik/vm/mterp/armv5te/ |
H A D | entry.S | 67 /* Entry is always a possible trace start */ 79 cmp r3, #kSVSTraceSelect @ hot trace following? 80 moveq r2,#kJitTSelectRequestHot @ ask for trace selection 81 beq common_selectTrace @ go build the trace
|
H A D | OP_GOTO_16.S | 16 bmi common_testUpdateProfile @ (r0) hot trace head?
|
H A D | OP_GOTO.S | 19 bmi common_testUpdateProfile @ (r0) check for trace hotness
|
H A D | OP_GOTO_32.S | 23 ble common_testUpdateProfile @ (r0) hot trace head?
|
H A D | OP_INVOKE_STATIC.S | 34 * Check to see if we're actively building a trace. If so, 40 ands r2, #kSubModeJitTraceBuild @ trace under construction?
|
H A D | footer.S | 115 * to be compiled happens to be at a trace start. 209 movne r2,#kJitTSelectRequestHot @ ask for trace selection 226 * trace start). 316 * Common code to update potential trace start counter, and initiate 317 * a trace-build if appropriate. 345 mov r2,#kJitTSelectRequest @ ask for trace selection 348 moveq r2,#kJitTSelectRequest @ ask for trace selection 378 * Call out to validate trace-building request. If successful, 379 * rIBASE will be swapped to to send us into single-stepping trace 957 * If the JIT is actively building a trace w [all...] |
/dalvik/hit/src/com/android/hit/ |
H A D | Heap.java | 69 StackTrace trace = mTraces.get(traceSerialNumber); 71 if (trace != null) { 72 trace = trace.fromDepth(depth); 75 return trace;
|
H A D | HprofParser.java | 231 StackTrace trace = new StackTrace(serialNumber, threadSerialNumber, 234 mState.addStackTrace(trace); 357 StackTrace trace = mState.getStackTraceAtDepth(thread.mStackTrace, 360 threadSerialNumber, trace); 373 StackTrace trace = mState.getStackTraceAtDepth(thread.mStackTrace, 376 trace); 388 StackTrace trace = mState.getStackTrace(thread.mStackTrace); 390 threadSerialNumber, trace); 578 StackTrace trace = mState.getStackTraceAtDepth(thread.mStackTrace, 581 threadSerialNumber, trace); [all...] |
/dalvik/vm/compiler/ |
H A D | Compiler.h | 80 /* Description of a compiled trace. */ 88 int cacheVersion; // Used to identify stale trace requests 132 JitTraceRun trace[0]; // Variable-length trace descriptors member in struct:__anon44 136 kIsCallee = 0, /* Code is part of a callee (invoked by a hot trace) */ 137 kIsHot, /* Code is part of a hot trace */ 199 bool dvmCompileTrace(JitTraceDescription *trace, int numMaxInsts,
|
H A D | Frontend.cpp | 415 * current trace, we need to make sure that all the associated information 1161 * TODO: implementation will be revisited when the trace builder can provide 1347 * Clear the codeAddress for the enclosing trace to reuse the info 1356 /* Extending the trace by crawling the code from curBlock */ 1398 /* Stop extending the trace after seeing these instructions */ 1550 ALOGD("Loop trace @ offset %04x aborted due to unresolved code info", 1571 ALOGD("Loop trace @ offset %04x", cUnit->entryBlock->startOffset); 1576 * If this trace uses class objects as constants, 1601 /* Retry the original trace with JIT_OPT_NO_LOOP disabled */ 1608 * Main entry point to start trace compilatio [all...] |
/dalvik/vm/ |
H A D | Ddm.cpp | 423 * Find the specified thread and return its stack trace as an array of 445 * Suspend the thread, pull out the stack trace, then resume the thread 447 * our own stack trace, skip the suspend/resume. 460 ArrayObject* trace = dvmGetStackTraceRaw(traceBuf, stackDepth); local 462 return trace;
|
H A D | Thread.h | 214 int totalTraceLen; // Number of Dalvik insts in trace 215 const u2* currTraceHead; // Start of the trace we're building 219 const Method* traceMethod; // Starting method of current trace 221 JitTraceRun trace[MAX_JIT_RUN_LEN]; member in struct:Thread 597 * Debug: kill a thread to get a debuggerd stack trace. Leaves the VM
|
/dalvik/vm/compiler/codegen/arm/ |
H A D | Assemble.cpp | 930 * sequence or request that the trace be shortened and retried. 1193 * chain cell offset codeAddress - 2, and the address of the trace profile 1239 * Utility functions to navigate various parts in a trace. If we change the 1302 /* Get the starting pointer of the trace description section */ 1309 /* Get the size of a trace description */ 1315 if (desc->trace[runCount].isCode && 1316 desc->trace[runCount].info.frag.runEnd) 1402 /* Add space for chain cell counts & trace description */ 1411 * space occupied by the pointer to the trace profiling counter. 1446 * Attempt to assemble the trace 1888 unchainSingle(JitEntry *trace) argument [all...] |
/dalvik/vm/mterp/out/ |
H A D | InterpAsm-armv5te-vfp.S | 291 /* Entry is always a possible trace start */ 303 cmp r3, #kSVSTraceSelect @ hot trace following? 304 moveq r2,#kJitTSelectRequestHot @ ask for trace selection 305 beq common_selectTrace @ go build the trace 1088 bmi common_testUpdateProfile @ (r0) check for trace hotness 1110 bmi common_testUpdateProfile @ (r0) hot trace head? 1139 ble common_testUpdateProfile @ (r0) hot trace head? 1159 * a potential trace heads regardless of branch direction. 1198 * a potential trace heads regardless of branch direction. 7887 * include this instruction in a trace [all...] |
H A D | InterpAsm-armv7-a-neon.S | 305 /* Entry is always a possible trace start */ 317 cmp r3, #kSVSTraceSelect @ hot trace following? 318 moveq r2,#kJitTSelectRequestHot @ ask for trace selection 319 beq common_selectTrace @ go build the trace 1098 bmi common_testUpdateProfile @ (r0) check for trace hotness 1120 bmi common_testUpdateProfile @ (r0) hot trace head? 1149 ble common_testUpdateProfile @ (r0) hot trace head? 1169 * a potential trace heads regardless of branch direction. 1208 * a potential trace heads regardless of branch direction. 7841 * include this instruction in a trace [all...] |
H A D | InterpAsm-armv7-a.S | 305 /* Entry is always a possible trace start */ 317 cmp r3, #kSVSTraceSelect @ hot trace following? 318 moveq r2,#kJitTSelectRequestHot @ ask for trace selection 319 beq common_selectTrace @ go build the trace 1098 bmi common_testUpdateProfile @ (r0) check for trace hotness 1120 bmi common_testUpdateProfile @ (r0) hot trace head? 1149 ble common_testUpdateProfile @ (r0) hot trace head? 1169 * a potential trace heads regardless of branch direction. 1208 * a potential trace heads regardless of branch direction. 7841 * include this instruction in a trace [all...] |
H A D | InterpAsm-armv5te.S | 291 /* Entry is always a possible trace start */ 303 cmp r3, #kSVSTraceSelect @ hot trace following? 304 moveq r2,#kJitTSelectRequestHot @ ask for trace selection 305 beq common_selectTrace @ go build the trace 1088 bmi common_testUpdateProfile @ (r0) check for trace hotness 1110 bmi common_testUpdateProfile @ (r0) hot trace head? 1139 ble common_testUpdateProfile @ (r0) hot trace head? 1159 * a potential trace heads regardless of branch direction. 1198 * a potential trace heads regardless of branch direction. 8209 * include this instruction in a trace [all...] |