Home
last modified time | relevance | path

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

12

/art/runtime/native/
Ddalvik_system_VMStack.cc33 jobject trace = nullptr; in GetThreadStack() local
35 trace = soa.Self()->CreateInternalStackTrace<false>(soa); in GetThreadStack()
46 trace = thread->CreateInternalStackTrace<false>(soa); in GetThreadStack()
55 return trace; in GetThreadStack()
61 jobject trace = GetThreadStack(soa, javaThread); in VMStack_fillStackTraceElements() local
62 if (trace == nullptr) { in VMStack_fillStackTraceElements()
66 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); in VMStack_fillStackTraceElements()
124 jobject trace = GetThreadStack(soa, javaThread); in VMStack_getThreadStackTrace() local
125 if (trace == nullptr) { in VMStack_getThreadStackTrace()
128 return Thread::InternalStackTraceToStackTraceElementArray(soa, trace); in VMStack_getThreadStackTrace()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc49 jobjectArray trace = nullptr; in DdmVmInternal_getStackTraceById() local
55 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
71 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace); in DdmVmInternal_getStackTraceById()
82 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.cc45 StackTraceElement* trace = in Alloc() local
47 if (LIKELY(trace != nullptr)) { in Alloc()
49 trace->Init<true>(declaring_class, method_name, file_name, line_number); in Alloc()
51 trace->Init<false>(declaring_class, method_name, file_name, line_number); in Alloc()
54 return trace; in Alloc()
Dthrowable.cc77 mirror::ObjectArray<mirror::Object>* const trace = stack_state->AsObjectArray<mirror::Object>(); in GetStackDepth() local
78 const int32_t array_len = trace->GetLength(); in GetStackDepth()
/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/runtime/gc/
Dallocation_record.cc269 AllocRecordStackTrace trace; in RecordAllocation() local
270 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace); in RecordAllocation()
304 trace.SetTid(self->GetTid()); in RecordAllocation()
307 Put(*obj, AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace))); in RecordAllocation()
Dallocation_record.h158 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) in AllocRecord() argument
159 : byte_count_(count), klass_(klass), trace_(std::move(trace)) {} in AllocRecord()
/art/test/
DAndroid.run-test.mk126 TRACE_TYPES += trace
185 $(foreach trace, $(6), \
193 …-art-$(target)-run-test-$(run-type)-$(prebuild)-$(compiler)-$(relocate)-$(trace)-$(gc)-$(jni)-$(im…
436 ifneq (,$(filter trace stream,$(TRACE_TYPES)))
438 $(COMPILER_TYPES),$(RELOCATE_TYPES),trace stream,$(GC_TYPES),$(JNI_TYPES),$(IMAGE_TYPES), \
595 $(foreach trace, $(TRACE_TYPES), \
596 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(trace))_RULES :=)))
755 ifeq ($(6),trace)
757 run_test_options += --trace
765 run_test_options += --trace --stream
[all …]
Drun-test114 trace="false"
324 trace="true"
394 if [ "$trace" = "true" ]; then
/art/test/439-npe/src/
DMain.java216 StackTraceElement[] trace = npe.getStackTrace(); in check() local
217 checkElement(trace[0], "Main", methodName, "Main.java", medthodLine); in check()
218 checkElement(trace[1], "Main", "main", "Main.java", mainLine); in check()
/art/runtime/jit/
Djit_code_cache.cc59 ScopedTrace trace(__PRETTY_FUNCTION__); in Create() local
183 ScopedTrace trace("mprotect all"); in ScopedCodeCacheWrite() local
187 ScopedTrace trace("mprotect code"); in ~ScopedCodeCacheWrite() local
262 ScopedTrace trace(__PRETTY_FUNCTION__); in RemoveMethodsIn() local
471 ScopedTrace trace(__PRETTY_FUNCTION__); in Run() local
572 ScopedTrace trace(__FUNCTION__); in GarbageCollectCache() local
659 ScopedTrace trace(__FUNCTION__); in RemoveUnmarkedCode() local
677 ScopedTrace trace(__FUNCTION__); in DoCollection() local
760 ScopedTrace trace(__FUNCTION__); in CheckLiveCompiledCodeHasProfilingInfo() local
892 ScopedTrace trace(__FUNCTION__); in GetProfiledMethods() local
Doffline_profiling_info.cc79 ScopedTrace trace(__PRETTY_FUNCTION__); in MergeAndSave() local
180 ScopedTrace trace(__PRETTY_FUNCTION__); in Save() local
473 ScopedTrace trace(__PRETTY_FUNCTION__); in LoadInternal() local
Dprofile_saver.cc224 ScopedTrace trace(__PRETTY_FUNCTION__); in FetchAndCacheResolvedClassesAndMethods() local
271 ScopedTrace trace(__PRETTY_FUNCTION__); in ProcessProfilingInfo() local
/art/runtime/hprof/
Dhprof.cc609 const gc::AllocRecordStackTrace* trace = r->second; in LookupStackTraceSerialNumber() local
610 auto result = traces_.find(trace); in LookupStackTraceSerialNumber()
672 const gc::AllocRecordStackTrace* trace = it.first; in WriteStackTraces() local
674 size_t depth = trace->GetDepth(); in WriteStackTraces()
678 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
713 __ AddU4(trace->GetTid()); in WriteStackTraces()
716 const gc::AllocRecordStackTraceElement* frame = &trace->GetStackElement(i); in WriteStackTraces()
832 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); in PopulateAllocationTrackingTraces() local
835 auto records_result = allocation_records_.emplace(obj, trace); in PopulateAllocationTrackingTraces()
840 auto traces_result = traces_.find(trace); in PopulateAllocationTrackingTraces()
[all …]
/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/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/gc/accounting/
Dcard_table.cc61 ScopedTrace trace(__PRETTY_FUNCTION__); in Create() local
/art/runtime/
Druntime_options.def104 …KEY (std::string, MethodTraceFile, "/data/misc/trace/method-trace-file.bin")
Doat_file.cc820 ScopedTrace trace("Open elf file " + location); in OpenElfFile() local
848 ScopedTrace trace(__PRETTY_FUNCTION__); in InitializeFromElfFile() local
869 ScopedTrace trace(__PRETTY_FUNCTION__); in Load() local
889 ScopedTrace trace(__PRETTY_FUNCTION__); in ElfFileOpen() local
952 ScopedTrace trace("Open oat file " + location); in Open() local
1169 ScopedTrace trace(__PRETTY_FUNCTION__); in OpenDexFile() local
Dthread_list.cc75 ScopedTrace trace(__PRETTY_FUNCTION__); in ~ThreadList() local
473 ScopedTrace trace("Suspending mutator threads"); in SuspendAll() local
638 ScopedTrace trace("Resuming mutator threads"); in ResumeAll() local
1111 ScopedTrace trace(__PRETTY_FUNCTION__); in WaitForOtherNonDaemonThreadsToExit() local
1143 ScopedTrace trace(__PRETTY_FUNCTION__); in SuspendAllDaemonThreadsForShutdown() local
Dthread.cc1138 ScopedTrace trace("Run checkpoint function"); in RunCheckpointFunction() local
1205 ScopedTrace trace(__FUNCTION__); in FullSuspendCheck() local
2034 Handle<mirror::ObjectArray<mirror::Object>> trace( in Init() local
2037 if (trace.Get() == nullptr) { in Init()
2050 trace->Set(0, methods_and_pcs); in Init()
2051 trace_ = trace.Get(); in Init()
2127 mirror::ObjectArray<mirror::Object>* trace = build_trace_visitor.GetInternalStackTrace(); in CreateInternalStackTrace() local
2137 return soa.AddLocalReference<jobject>(trace); in CreateInternalStackTrace()
2345 ScopedLocalRef<jobject> trace(GetJniEnv(), in ThrowNewWrappedException() local
2349 if (trace.get() != nullptr) { in ThrowNewWrappedException()
[all …]
Dindirect_reference_table.cc265 ScopedTrace trace(__PRETTY_FUNCTION__); in Trim() local
/art/runtime/gc/collector/
Dgarbage_collector.cc82 ScopedTrace trace(StringPrintf("%s %s GC", PrettyCause(gc_cause), GetName())); in Run() local

12