Searched defs:trace (Results 1 - 8 of 8) sorted by relevance

/art/runtime/mirror/
H A Dstack_trace_element.cc45 StackTraceElement* trace = local
47 if (LIKELY(trace != nullptr)) {
49 trace->Init<true>(declaring_class, method_name, file_name, line_number);
51 trace->Init<false>(declaring_class, method_name, file_name, line_number);
54 return trace;
H A Dthrowable.cc77 mirror::ObjectArray<mirror::Object>* const trace = stack_state->AsObjectArray<mirror::Object>(); member in class:art::mirror::mirror
78 const int32_t array_len = trace->GetLength();
97 // Decode the internal stack trace into the depth and method trace
107 result += "(Throwable with empty stack trace)";
126 result += "(Throwable with empty stack trace)";
141 result += "(Throwable with no stack trace)";
/art/runtime/native/
H A Ddalvik_system_VMStack.cc33 jobject trace = nullptr; local
35 trace = soa.Self()->CreateInternalStackTrace<false>(soa);
37 // Suspend thread to build stack trace.
46 trace = thread->CreateInternalStackTrace<false>(soa);
55 return trace;
61 jobject trace = GetThreadStack(soa, javaThread); local
62 if (trace == nullptr) {
66 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth);
124 jobject trace = GetThreadStack(soa, javaThread); local
125 if (trace
[all...]
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc45 * Get a stack trace as an array of StackTraceElement objects. Returns
49 jobjectArray trace = nullptr; local
55 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace);
65 // Suspend thread to build stack trace.
71 trace = Thread::InternalStackTraceToStackTraceElementArray(soa, internal_trace);
82 return trace;
/art/runtime/gc/
H A Dallocation_record.cc74 // Check whether there's a system property overriding the max depth of stack trace.
267 // Get stack trace outside of lock in case there are allocations during the stack walk.
269 AllocRecordStackTrace trace; local
270 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace);
304 trace.SetTid(self->GetTid());
307 Put(*obj, AllocRecord(byte_count, (*obj)->GetClass(), std::move(trace)));
H A Dallocation_record.h158 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) argument
159 : byte_count_(count), klass_(klass), trace_(std::move(trace)) {}
210 // Caller needs to check that it is enabled before calling since we read the stack trace before
/art/runtime/hprof/
H A Dhprof.cc545 // U4: stack trace serial number
609 const gc::AllocRecordStackTrace* trace = r->second; local
610 auto result = traces_.find(trace);
663 // Write a dummy stack trace record so the analysis tools don't freak out.
669 // TODO: jhat complains "WARNING: Stack trace not found for serial # -1", but no trace should
672 const gc::AllocRecordStackTrace* trace = it.first; local
674 size_t depth = trace->GetDepth();
676 // First write stack frames of the trace
678 const gc::AllocRecordStackTraceElement* frame = &trace
832 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); local
[all...]
/art/runtime/
H A Dthread.cc1138 ScopedTrace trace("Run checkpoint function");
1205 ScopedTrace trace(__FUNCTION__);
2026 // Allocate method trace as an object array where the first element is a pointer array that
2033 // for the methods to ensure classes in the stack trace don't get unloaded.
2034 Handle<mirror::ObjectArray<mirror::Object>> trace(
2037 if (trace.Get() == nullptr) {
2039 self_->StartAssertNoThreadSuspension("Building internal stack trace");
2045 self_->StartAssertNoThreadSuspension("Building internal stack trace");
2050 trace->Set(0, methods_and_pcs);
2051 trace_ = trace
2127 mirror::ObjectArray<mirror::Object>* trace = build_trace_visitor.GetInternalStackTrace(); local
[all...]

Completed in 305 milliseconds