/art/tools/runtime_memusage/ |
D | prune_sanitizer_output.py | 44 def clean_trace_if_valid(trace, stack_min_size, prune_exact): argument 70 trace = trace if trace[-1] == "\n" else trace + "\n" 75 "|READ", trace) 85 trace_line_matches.append((trace_line_matches[-1][0] + 1, len(trace))) 90 return trace[:trace.rindex("\n", 0, bad_match[1]) + 1] 135 trace_clean_split = [clean_trace_if_valid(trace, 138 for trace in trace_split 140 trace_clean_split = [trace for trace in trace_clean_split 141 if trace is not None]
|
D | symbol_trace_info.py | 85 str(sum([trace[1] for trace in trace_counts_list_ordered]))) 87 print(Counter([trace[1] for trace in trace_counts_list_ordered])) 89 for trace in trace_counts_list_ordered: 91 str(trace[1]) + 93 output_file.write(trace[0].strip()) 98 symbol_file_split = [trace for trace in symbol_file_split 99 if trace is not None] 103 cat_split = [trace for trace in symbol_file_split 104 if cat_name in trace] 108 noncat_split = [trace for trace in symbol_file_split [all …]
|
/art/test/2263-method-trace-jit/ |
D | Android.bp | 3 // Build rules for ART run-test `2263-method-trace-jit`. 16 name: "art-run-test-2263-method-trace-jit", 21 ":art-run-test-2263-method-trace-jit-expected-stdout", 22 ":art-run-test-2263-method-trace-jit-expected-stderr", 28 name: "art-run-test-2263-method-trace-jit-expected-stdout", 29 out: ["art-run-test-2263-method-trace-jit-expected-stdout.txt"], 30 srcs: [":art-run-test-988-method-trace-expected-stdout"], 36 name: "art-run-test-2263-method-trace-jit-expected-stderr", 37 out: ["art-run-test-2263-method-trace-jit-expected-stderr.txt"], 38 srcs: [":art-run-test-988-method-trace-expected-stderr"],
|
/art/test/991-field-trace-2/ |
D | Android.bp | 3 // Build rules for ART run-test `991-field-trace-2`. 16 name: "art-run-test-991-field-trace-2", 21 ":art-run-test-991-field-trace-2-expected-stdout", 22 ":art-run-test-991-field-trace-2-expected-stderr", 28 name: "art-run-test-991-field-trace-2-expected-stdout", 29 out: ["art-run-test-991-field-trace-2-expected-stdout.txt"], 36 name: "art-run-test-991-field-trace-2-expected-stderr", 37 out: ["art-run-test-991-field-trace-2-expected-stderr.txt"],
|
/art/test/990-field-trace/ |
D | Android.bp | 3 // Build rules for ART run-test `990-field-trace`. 16 name: "art-run-test-990-field-trace", 21 ":art-run-test-990-field-trace-expected-stdout", 22 ":art-run-test-990-field-trace-expected-stderr", 28 name: "art-run-test-990-field-trace-expected-stdout", 29 out: ["art-run-test-990-field-trace-expected-stdout.txt"], 36 name: "art-run-test-990-field-trace-expected-stderr", 37 out: ["art-run-test-990-field-trace-expected-stderr.txt"],
|
/art/test/988-method-trace/ |
D | Android.bp | 3 // Build rules for ART run-test `988-method-trace`. 16 name: "art-run-test-988-method-trace", 21 ":art-run-test-988-method-trace-expected-stdout", 22 ":art-run-test-988-method-trace-expected-stderr", 28 name: "art-run-test-988-method-trace-expected-stdout", 29 out: ["art-run-test-988-method-trace-expected-stdout.txt"], 36 name: "art-run-test-988-method-trace-expected-stderr", 37 out: ["art-run-test-988-method-trace-expected-stderr.txt"],
|
/art/test/911-get-stack-trace/ |
D | Android.bp | 3 // Build rules for ART run-test `911-get-stack-trace`. 16 name: "art-run-test-911-get-stack-trace", 21 ":art-run-test-911-get-stack-trace-expected-stdout", 22 ":art-run-test-911-get-stack-trace-expected-stderr", 28 name: "art-run-test-911-get-stack-trace-expected-stdout", 29 out: ["art-run-test-911-get-stack-trace-expected-stdout.txt"], 36 name: "art-run-test-911-get-stack-trace-expected-stderr", 37 out: ["art-run-test-911-get-stack-trace-expected-stderr.txt"],
|
/art/test/2246-trace-stream/ |
D | Android.bp | 3 // Build rules for ART run-test `2246-trace-stream`. 16 name: "art-run-test-2246-trace-stream", 21 ":art-run-test-2246-trace-stream-expected-stdout", 22 ":art-run-test-2246-trace-stream-expected-stderr", 28 name: "art-run-test-2246-trace-stream-expected-stdout", 29 out: ["art-run-test-2246-trace-stream-expected-stdout.txt"], 36 name: "art-run-test-2246-trace-stream-expected-stderr", 37 out: ["art-run-test-2246-trace-stream-expected-stderr.txt"],
|
/art/test/2246-trace-v2/ |
D | Android.bp | 3 // Build rules for ART run-test `2246-trace-v2`. 16 name: "art-run-test-2246-trace-v2", 21 ":art-run-test-2246-trace-v2-expected-stdout", 22 ":art-run-test-2246-trace-v2-expected-stderr", 28 name: "art-run-test-2246-trace-v2-expected-stdout", 29 out: ["art-run-test-2246-trace-v2-expected-stdout.txt"], 36 name: "art-run-test-2246-trace-v2-expected-stderr", 37 out: ["art-run-test-2246-trace-v2-expected-stderr.txt"],
|
/art/test/989-method-trace-throw/ |
D | Android.bp | 3 // Build rules for ART run-test `989-method-trace-throw`. 16 name: "art-run-test-989-method-trace-throw", 21 ":art-run-test-989-method-trace-throw-expected-stdout", 22 ":art-run-test-989-method-trace-throw-expected-stderr", 28 name: "art-run-test-989-method-trace-throw-expected-stdout", 29 out: ["art-run-test-989-method-trace-throw-expected-stdout.txt"], 36 name: "art-run-test-989-method-trace-throw-expected-stderr", 37 out: ["art-run-test-989-method-trace-throw-expected-stderr.txt"],
|
/art/test/1984-structural-redefine-field-trace/ |
D | Android.bp | 3 // Build rules for ART run-test `1984-structural-redefine-field-trace`. 16 name: "art-run-test-1984-structural-redefine-field-trace", 21 ":art-run-test-1984-structural-redefine-field-trace-expected-stdout", 22 ":art-run-test-1984-structural-redefine-field-trace-expected-stderr", 28 name: "art-run-test-1984-structural-redefine-field-trace-expected-stdout", 29 out: ["art-run-test-1984-structural-redefine-field-trace-expected-stdout.txt"], 36 name: "art-run-test-1984-structural-redefine-field-trace-expected-stderr", 37 out: ["art-run-test-1984-structural-redefine-field-trace-expected-stderr.txt"],
|
/art/runtime/native/ |
D | dalvik_system_VMStack.cc | 42 ResultT trace = nullptr; in GetThreadStack() local 45 trace = fn(soa.Self(), soa); in GetThreadStack() 46 return trace; in GetThreadStack() 61 trace = fn(thread, soa); in GetThreadStack() 71 return trace; in GetThreadStack() 81 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_fillStackTraceElements() local 82 if (trace == nullptr) { in VMStack_fillStackTraceElements() 86 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements() 148 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_getThreadStackTrace() local 149 if (trace == nullptr) { in VMStack_getThreadStackTrace() [all …]
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 53 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local 59 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById() 74 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById() 81 return trace; in DdmVmInternal_getStackTraceById()
|
/art/runtime/mirror/ |
D | stack_trace_element.cc | 35 ObjPtr<StackTraceElement> trace = in Alloc() local 37 if (LIKELY(trace != nullptr)) { in Alloc() 39 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 41 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 44 return trace; in Alloc()
|
/art/test/2044-get-stack-traces/src/ |
D | Main.java | 34 StackTraceElement trace[] = t.getStackTrace(); in getTrace() local 35 if (!pleaseStop && (trace.length < 1 || trace.length > 20)) { in getTrace() 40 System.out.println("Stack trace for " + t.getName() + " has size " + trace.length); in getTrace() 41 for (StackTraceElement e : trace) { in getTrace()
|
/art/test/839-clinit-throw/src/ |
D | Main.java | 43 StackTraceElement[] trace = ie.getStackTrace(); in check() local 44 assertEquals(trace.length, 1); in check() 45 checkElement(trace[0], "Main", "main", "Main.java", mainLine); in check()
|
/art/test/726-array-store/src/ |
D | Main.java | 38 StackTraceElement[] trace = ase.getStackTrace(); in check() local 39 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check() 40 checkElement(trace[1], "Main", "main", "Main.java", mainLine); in check()
|
/art/test/081-hot-exceptions/ |
D | info.txt | 1 Make a hot exception-throwing path to stress test how the trace builder handles 2 exceptions encountered during trace selection. The existence of exceptions will
|
/art/test/671-npe-field-opts/src/ |
D | Main.java | 60 StackTraceElement[] trace = npe.getStackTrace(); in check() local 61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check() 62 checkElement(trace[1], "Main", "main", "Main.java", mainLine); in check()
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | mkflame.py | 160 trace = self.definition(index) 165 if trace in self.allocation_count: 166 self.allocation_count[trace] = self.allocation_count[trace] + weight 168 self.allocation_count[trace] = weight
|
/art/runtime/jit/ |
D | jit_scoped_code_cache_write.h | 42 ScopedTrace trace("mprotect all"); in ScopedCodeCacheWrite() 53 ScopedTrace trace("mprotect code"); in ~ScopedCodeCacheWrite()
|
/art/test/044-proxy/src/ |
D | BasicTest.java | 53 Trace trace = (Trace) proxy; in main() local 54 trace.getTrace(); in main() 57 int unusedHashCode = ((Object)trace).hashCode(); in main() 58 boolean unusedEquals = ((Object)trace).equals(trace); in main() 59 String unusedString = ((Object)trace).toString(); in main()
|
/art/runtime/gc/ |
D | allocation_record.cc | 206 AllocRecordStackTrace trace; in RecordAllocation() local 213 if (trace.GetDepth() >= max_stack_depth_) { in RecordAllocation() 220 trace.AddStackElement(AllocRecordStackTraceElement(m, stack_visitor->GetDexPc())); in RecordAllocation() 258 trace.SetTid(self->GetTid()); in RecordAllocation() 261 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
|
/art/test/839-clinit-throw/ |
D | info.txt | 2 same class in the stack trace.
|
/art/test/051-thread/src/ |
D | Main.java | 182 StackTraceElement[] trace = Thread.getAllStackTraces().get(Thread.currentThread()); in testMainThreadAllStackTraces() local 183 if (trace == null) { in testMainThreadAllStackTraces() 186 List<StackTraceElement> list = Arrays.asList(trace); in testMainThreadAllStackTraces()
|