Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 42) sorted by relevance

12

/art/runtime/native/
Ddalvik_system_VMStack.cc34 jobject trace = nullptr; in GetThreadStack() local
37 trace = soa.Self()->CreateInternalStackTrace<false>(soa); in GetThreadStack()
56 trace = thread->CreateInternalStackTrace<false>(soa); in GetThreadStack()
65 return trace; in GetThreadStack()
71 jobject trace = GetThreadStack(soa, javaThread); in VMStack_fillStackTraceElements() local
72 if (trace == nullptr) { in VMStack_fillStackTraceElements()
76 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements()
134 jobject trace = GetThreadStack(soa, javaThread); in VMStack_getThreadStackTrace() local
135 if (trace == nullptr) { in VMStack_getThreadStackTrace()
138 return Thread::InternalStackTraceToStackTraceElementArray(soa, trace); in VMStack_getThreadStackTrace()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc48 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local
54 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
70 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
81 return trace; in DdmVmInternal_getStackTraceById()
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/runtime/mirror/
Dstack_trace_element.cc47 ObjPtr<StackTraceElement> trace = in Alloc() local
49 if (LIKELY(trace != nullptr)) { in Alloc()
51 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
53 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc()
56 return trace.Ptr(); in Alloc()
Dthrowable.cc82 ObjPtr<mirror::ObjectArray<Object>> const trace = stack_state->AsObjectArray<Object>(); in GetStackDepth() local
83 const int32_t array_len = trace->GetLength(); in GetStackDepth()
/art/test/
DAndroid.run-test-jvmti-java-library.mk39 911-get-stack-trace/src/art/Test911.java \
40 911-get-stack-trace/src/art/AllTraces.java \
41 911-get-stack-trace/src/art/ControlData.java \
42 911-get-stack-trace/src/art/Frames.java \
43 911-get-stack-trace/src/art/OtherThread.java \
44 911-get-stack-trace/src/art/PrintThread.java \
45 911-get-stack-trace/src/art/Recurse.java \
46 911-get-stack-trace/src/art/SameThread.java \
47 911-get-stack-trace/src/art/ThreadListTraces.java \
Drun-test135 trace="false"
360 trace="true"
453 if [ "$trace" = "true" ]; then
/art/test/081-hot-exceptions/
Dinfo.txt1 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/051-thread/src/
DMain.java182 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/runtime/gc/
Dallocation_record.cc270 AllocRecordStackTrace trace; in RecordAllocation() local
271 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace); in RecordAllocation()
308 trace.SetTid(self->GetTid()); in RecordAllocation()
311 Put(obj->Ptr(), AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
Dallocation_record.h159 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) in AllocRecord() argument
160 : byte_count_(count), klass_(klass), trace_(std::move(trace)) {} in AllocRecord()
/art/runtime/hprof/
Dhprof.cc629 const gc::AllocRecordStackTrace* trace = r->second; in LookupStackTraceSerialNumber() local
630 auto result = traces_.find(trace); in LookupStackTraceSerialNumber()
692 const gc::AllocRecordStackTrace* trace = it.first; in WriteStackTraces() local
694 size_t depth = trace->GetDepth(); in WriteStackTraces()
698 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
733 __ AddU4(trace->GetTid()); in WriteStackTraces()
736 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
853 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); in PopulateAllocationTrackingTraces() local
856 auto records_result = allocation_records_.emplace(obj, trace); in PopulateAllocationTrackingTraces()
861 auto traces_result = traces_.find(trace); in PopulateAllocationTrackingTraces()
[all …]
/art/runtime/entrypoints/quick/
Dquick_deoptimization_entrypoints.cc44 ScopedTrace trace(std::string("Deoptimization ") + GetDeoptimizationKindName(kind)); in artDeoptimizeImpl() local
/art/tools/dmtracedump/
DAndroid.bp15 // Java method trace dump tool
/art/test/122-npe/src/
DMain.java559 StackTraceElement[] trace = npe.getStackTrace(); in check() local
560 checkElement(trace[0], "Main", "methodTwo", "Main.java", firstLine); in check()
561 checkElement(trace[1], "Main", "methodOne", "Main.java", 27); in check()
562 checkElement(trace[2], "Main", "main", "Main.java", 23); in check()
/art/runtime/jit/
Djit_code_cache.cc62 ScopedTrace trace(__PRETTY_FUNCTION__); in Create() local
198 ScopedTrace trace("mprotect all"); in ScopedCodeCacheWrite() local
203 ScopedTrace trace("mprotect code"); in ~ScopedCodeCacheWrite() local
433 ScopedTrace trace(__PRETTY_FUNCTION__); in RemoveMethodsIn() local
843 ScopedTrace trace(__PRETTY_FUNCTION__); in Run() local
944 ScopedTrace trace(__FUNCTION__); in GarbageCollectCache() local
1034 ScopedTrace trace(__FUNCTION__); in RemoveUnmarkedCode() local
1055 ScopedTrace trace(__FUNCTION__); in DoCollection() local
1136 ScopedTrace trace(__FUNCTION__); in CheckLiveCompiledCodeHasProfilingInfo() local
1278 ScopedTrace trace(__FUNCTION__); in GetProfiledMethods() local
/art/test/testrunner/
Dtestrunner.py348 for test, target, run, prebuild, compiler, relocate, trace, gc, \
365 test_name += trace + '-'
375 variant_set = {target, run, prebuild, compiler, relocate, trace, gc, jni,
413 if trace == 'trace':
415 elif trace == 'stream':
/art/runtime/gc/accounting/
Dcard_table.cc61 ScopedTrace trace(__PRETTY_FUNCTION__); in Create() local
/art/test/134-nodex2oat-nofallback/
Dexpected.txt33 …va.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
64 …va.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
/art/test/044-proxy/src/
DBasicTest.java54 Trace trace = (Trace) proxy; in main() local
55 trace.getTrace(); in main()
/art/runtime/
Ddex_file.cc171 ScopedTrace trace(std::string("Open dex file from RAM ") + location); in Open() local
188 ScopedTrace trace(std::string("Open dex file from mapped-memory ") + location); in Open() local
217 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in Open() local
249 ScopedTrace trace("Open dex file " + std::string(location)); in OpenDex() local
258 ScopedTrace trace("Dex file open Zip " + std::string(location)); in OpenZip() local
277 ScopedTrace trace(std::string("Open dex file ") + std::string(location)); in OpenFile() local
338 ScopedTrace trace("Dex file open from Zip Archive " + std::string(location)); in OpenOneDexFileFromZip() local
426 ScopedTrace trace("Dex file open from Zip " + std::string(location)); in OpenAllDexFilesFromZip() local
Druntime_options.def105 …KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin")
Doat_file.cc928 ScopedTrace trace("Open elf file " + location); in OpenElfFile() local
957 ScopedTrace trace(__PRETTY_FUNCTION__); in InitializeFromElfFile() local
979 ScopedTrace trace(__PRETTY_FUNCTION__); in Load() local
999 ScopedTrace trace(__PRETTY_FUNCTION__); in ElfFileOpen() local
1063 ScopedTrace trace("Open oat file " + oat_location); in Open() local
1319 ScopedTrace trace(__PRETTY_FUNCTION__); in OpenDexFile() local
Dthread_list.cc82 ScopedTrace trace(__PRETTY_FUNCTION__); in ~ThreadList() local
622 ScopedTrace trace("Suspending mutator threads"); in SuspendAll() local
774 ScopedTrace trace("Resuming mutator threads"); in ResumeAll() local
1276 ScopedTrace trace(__PRETTY_FUNCTION__); in WaitForOtherNonDaemonThreadsToExit() local
1308 ScopedTrace trace(__PRETTY_FUNCTION__); in SuspendAllDaemonThreadsForShutdown() local
/art/runtime/gc/collector/
Dgarbage_collector.cc87 ScopedTrace trace(android::base::StringPrintf("%s %s GC", PrettyCause(gc_cause), GetName())); in Run() local

12