/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 …]
|
D | README | 11 names as arguments. A trace is put into a category if the category name is a 12 substring of the symbolized trace. 19 In addition, when poisoned sections of memory are accesses, their stack trace is 39 unnecessary trace information.
|
/art/test/304-method-tracing/ |
D | run | 18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
|
/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/runtime/native/ |
D | dalvik_system_VMStack.cc | 44 ResultT trace = nullptr; in GetThreadStack() local 47 trace = fn(soa.Self(), soa); in GetThreadStack() 69 trace = fn(thread, soa); in GetThreadStack() 79 return trace; in GetThreadStack() 89 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_fillStackTraceElements() local 90 if (trace == nullptr) { in VMStack_fillStackTraceElements() 94 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements() 156 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_getThreadStackTrace() local 157 if (trace == nullptr) { in VMStack_getThreadStackTrace() 160 return Thread::InternalStackTraceToStackTraceElementArray(soa, trace); in VMStack_getThreadStackTrace()
|
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 58 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local 64 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById() 82 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById() 94 return trace; in DdmVmInternal_getStackTraceById()
|
/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 | 41 ScopedTrace trace("mprotect all"); in ScopedCodeCacheWrite() 50 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 | 190 AllocRecordStackTrace trace; in RecordAllocation() local 197 if (trace.GetDepth() >= max_stack_depth_) { in RecordAllocation() 204 trace.AddStackElement(AllocRecordStackTraceElement(m, stack_visitor->GetDexPc())); in RecordAllocation() 242 trace.SetTid(self->GetTid()); in RecordAllocation() 245 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
|
/art/test/988-method-trace/ |
D | Android.bp | 3 name: "art-run-test-988-method-trace",
|
/art/test/991-field-trace-2/ |
D | Android.bp | 3 name: "art-run-test-991-field-trace-2",
|
/art/test/990-field-trace/ |
D | Android.bp | 3 name: "art-run-test-990-field-trace",
|
/art/test/989-method-trace-throw/ |
D | Android.bp | 3 name: "art-run-test-989-method-trace-throw",
|
/art/test/911-get-stack-trace/ |
D | Android.bp | 3 name: "art-run-test-911-get-stack-trace",
|
/art/test/1984-structural-redefine-field-trace/ |
D | Android.bp | 3 name: "art-run-test-1984-structural-redefine-field-trace",
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 169 ScopedTrace trace(std::string("Open dex file from RAM ") + location); in Open() local 190 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location); in Open() local 260 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenWithMagic() local 289 ScopedTrace trace("Open dex file " + std::string(location)); in OpenDex() local 299 ScopedTrace trace("Dex file open Zip " + std::string(location)); in OpenZip() local 316 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenFile() local 388 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location)); in OpenOneDexFileFromZip() local 487 ScopedTrace trace("Dex file open from Zip " + std::string(location)); in OpenAllDexFilesFromZip() local
|
/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()
|
/art/test/ |
D | run-test | 149 trace="false" 474 trace="true" 592 run_args+=(--no-app-image --jvmti-trace-stress) 594 if [ "$trace" = "true" ]; then 595 run_args+=(--runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file-size:2000000) 599 run_args+=(--runtime-option -Xmethod-trace-file:/dev/null) 601 run_args+=(--runtime-option -Xmethod-trace-stream)
|
/art/test/991-field-trace-2/src/art/ |
D | Test991.java | 197 for (FieldTracer trace : tracers) { in run() 198 System.out.println("Test is " + trace.getClass() + " & " + c.getClass()); in run() 200 TRACE = trace; in run()
|
/art/libartbase/base/ |
D | systrace.h | 98 ::art::ScopedTraceNoStart APPEND_TOKENS_AFTER_EVAL(trace, __LINE__) ; \
|