Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 35) sorted by relevance

12

/art/test/ti-agent/
Dstack_trace_helper.cc55 jvmtiFrameInfo* frames; in Java_art_StackTrace_nativeGetStackTrace() local
58 reinterpret_cast<unsigned char**>(&frames)))) { in Java_art_StackTrace_nativeGetStackTrace()
63 env, jvmti_env, jvmti_env->GetStackTrace(thr, 0, depth, frames, &nframes))) { in Java_art_StackTrace_nativeGetStackTrace()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
69 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
73 jobject jmethod = GetJavaMethod(jvmti_env, env, frames[i].method); in Java_art_StackTrace_nativeGetStackTrace()
75 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
82 frames[i].location, in Java_art_StackTrace_nativeGetStackTrace()
85 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
90 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(frames)); in Java_art_StackTrace_nativeGetStackTrace()
[all …]
/art/test/996-breakpoint-obsolete/
Dobsolete_breakpoints.cc43 jvmtiFrameInfo frames[kNumFrames]; in GetFirstObsoleteMethod() local
48 frames, in GetFirstObsoleteMethod()
55 jvmti_env->IsMethodObsolete(frames[i].method, &is_obsolete))) { in GetFirstObsoleteMethod()
59 return frames[i].method; in GetFirstObsoleteMethod()
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc36 jvmtiFrameInfo frames[kNumFrames]; in Java_art_Test984_getFirstObsoleteMethod984() local
46 frames, in Java_art_Test984_getFirstObsoleteMethod984()
52 jmethodID method = frames[i].method; in Java_art_Test984_getFirstObsoleteMethod984()
/art/test/911-get-stack-trace/
Dstack_trace.cc59 jvmtiFrameInfo* frames, in TranslateJvmtiFrameInfoArray() argument
66 jvmtiError result2 = jvmti_env->GetMethodName(frames[method_index].method, &name, &sig, &gen); in TranslateJvmtiFrameInfoArray()
75 jvmtiError line_result = jvmti_env->GetLineNumberTable(frames[method_index].method, in TranslateJvmtiFrameInfoArray()
97 return env->NewStringUTF(StringPrintf("%" PRId64, frames[method_index].location).c_str()); in TranslateJvmtiFrameInfoArray()
101 frames[method_index].location); in TranslateJvmtiFrameInfoArray()
130 std::unique_ptr<jvmtiFrameInfo[]> frames(new jvmtiFrameInfo[max]); in Java_art_PrintThread_getStackTrace() local
134 jvmtiError result = jvmti_env->GetStackTrace(thread, start, max, frames.get(), &count); in Java_art_PrintThread_getStackTrace()
140 return TranslateJvmtiFrameInfoArray(env, frames.get(), count); in Java_art_PrintThread_getStackTrace()
/art/openjdkjvmti/
Dti_stack.cc170 frames.push_back(info); in Run()
182 std::vector<jvmtiFrameInfo> frames; member
187 static jvmtiError TranslateFrameVector(const std::vector<jvmtiFrameInfo>& frames, in TranslateFrameVector() argument
193 size_t collected_frames = frames.size(); in TranslateFrameVector()
205 if (frames.size() > 0) { in TranslateFrameVector()
206 memcpy(frame_buffer, frames.data(), collected_frames * sizeof(jvmtiFrameInfo)); in TranslateFrameVector()
208 *count_ptr = static_cast<jint>(frames.size()); in TranslateFrameVector()
219 &frames.data()[collected_frames + start_depth], in TranslateFrameVector()
315 return TranslateFrameVector(closure.frames, in GetStackTrace()
408 frames.emplace_back(new std::vector<jvmtiFrameInfo>()); in GetAllStackTraces()
[all …]
/art/tools/dmtracedump/
Dcreatetesttrace.cc78 dataRecord** frames; member
148 callStack[ii].frames = nullptr; in parseInputFile()
186 if (callStack[threadId].frames == nullptr) { in parseInputFile()
188 callStack[threadId].frames = stk; in parseInputFile()
241 callStack[threadId].frames[indentLevel] = &records[nextRecord]; in parseInputFile()
245 if (callStack[threadId].frames[indentLevel - 1] == nullptr) { in parseInputFile()
249 callStack[threadId].frames[indentLevel - 1] = &records[nextRecord]; in parseInputFile()
258 char* name = callStack[threadId].frames[indentLevel - 1]->fullName; in parseInputFile()
265 callStack[threadId].frames[indentLevel - 1]->fullName); in parseInputFile()
286 callStack[threadId].frames[indentLevel] = &records[nextRecord]; in parseInputFile()
/art/test/421-large-frame/
Dinfo.txt1 Tests for large stack frames.
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java159 Site getSite(ProguardMap.Frame[] frames) { in getSite() argument
160 return frames == null ? this : getSite(this, frames); in getSite()
163 private static Site getSite(Site site, ProguardMap.Frame[] frames) { in getSite() argument
164 for (int s = frames.length - 1; s >= 0; --s) { in getSite()
165 ProguardMap.Frame frame = frames[s]; in getSite()
/art/test/1987-structural-redefine-recursive-stack-scope/
Dinfo.txt1 Tests StackReflectiveHandleScope works when there are several all in different recursive frames.
/art/test/1956-pop-frame-jit-calling/
Djvm-expected.patch9 < <Additional frames hidden>
19 < <Additional frames hidden>
Dexpected.txt82 <Additional frames hidden>
92 <Additional frames hidden>
108 <Additional frames hidden>
117 <Additional frames hidden>
/art/test/1953-pop-frame/
Dclass-loading-expected.patch9 > <Additional frames hidden>
19 > <Additional frames hidden>
/art/test/1955-pop-frame-jit-called/
Djvm-expected.patch9 < <Additional frames hidden>
19 < <Additional frames hidden>
Dexpected.txt82 <Additional frames hidden>
92 <Additional frames hidden>
108 <Additional frames hidden>
117 <Additional frames hidden>
/art/test/1954-pop-frame-jit/
Djvm-expected.patch9 < <Additional frames hidden>
19 < <Additional frames hidden>
Dexpected.txt82 <Additional frames hidden>
92 <Additional frames hidden>
108 <Additional frames hidden>
117 <Additional frames hidden>
/art/test/497-inlining-and-class-loader/
Dinfo.txt2 the correct class loader when walking inlined frames.
/art/test/2031-zygote-compiled-frame-deopt/
Dinfo.txt3 Check that we correctly identify jit-zygote compiled frames as non-debuggable.
/art/runtime/
Dbacktrace_helper.cc102 for (auto it = unwinder->frames().begin() + skip_count_; it != unwinder->frames().end(); ++it) { in CollectImpl()
/art/test/541-regression-inlined-deopt/
Dinfo.txt2 stack map for deopting inlined frames. Test case is written in smali for full
/art/test/1969-force-early-return-void/
Dclass-loading-expected.patch15 > <Additional frames hidden>
32 > <Additional frames hidden>
/art/test/1945-proxy-method-arguments/
Dinfo.txt2 thread stack roots when visiting Quick frames roots (b/73149739).
/art/tools/jvmti-agents/ti-alloc-sample/
DREADME.md23 * stack_depth_limit is an integer that determines the number of frames the deepest stack trace
60 remaining lines starting with + are stack frames (SFs), containing function signatures.
/art/test/1970-force-early-return-long/
Dexpected.txt95 <Additional frames hidden>
160 <Additional frames hidden>
188 <Additional frames hidden>
204 <Additional frames hidden>
220 <Additional frames hidden>
/art/test/980-redefine-object/
Dexpected.txt29 Throwing from down 4 stack frames

12