/art/test/ti-agent/ |
D | stack_trace_helper.cc | 55 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/ |
D | obsolete_breakpoints.cc | 43 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/ |
D | obsolete_invoke.cc | 36 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/ |
D | stack_trace.cc | 59 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/ |
D | ti_stack.cc | 170 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/ |
D | createtesttrace.cc | 78 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/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Site.java | 159 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/421-large-frame/ |
D | info.txt | 1 Tests for large stack frames.
|
/art/test/1956-pop-frame-jit-calling/ |
D | jvm-expected.patch | 9 < <Additional frames hidden> 19 < <Additional frames hidden>
|
D | expected.txt | 82 <Additional frames hidden> 92 <Additional frames hidden> 108 <Additional frames hidden> 117 <Additional frames hidden>
|
/art/test/1954-pop-frame-jit/ |
D | jvm-expected.patch | 9 < <Additional frames hidden> 19 < <Additional frames hidden>
|
D | expected.txt | 82 <Additional frames hidden> 92 <Additional frames hidden> 108 <Additional frames hidden> 117 <Additional frames hidden>
|
/art/test/1955-pop-frame-jit-called/ |
D | jvm-expected.patch | 9 < <Additional frames hidden> 19 < <Additional frames hidden>
|
D | expected.txt | 82 <Additional frames hidden> 92 <Additional frames hidden> 108 <Additional frames hidden> 117 <Additional frames hidden>
|
/art/test/1953-pop-frame/ |
D | class-loading-expected.patch | 9 > <Additional frames hidden> 19 > <Additional frames hidden>
|
/art/test/1987-structural-redefine-recursive-stack-scope/ |
D | info.txt | 1 Tests StackReflectiveHandleScope works when there are several all in different recursive frames.
|
/art/test/497-inlining-and-class-loader/ |
D | info.txt | 2 the correct class loader when walking inlined frames.
|
/art/test/2031-zygote-compiled-frame-deopt/ |
D | info.txt | 3 Check that we correctly identify jit-zygote compiled frames as non-debuggable.
|
/art/runtime/ |
D | backtrace_helper.cc | 102 for (auto it = unwinder->frames().begin() + skip_count_; it != unwinder->frames().end(); ++it) { in CollectImpl()
|
/art/test/541-regression-inlined-deopt/ |
D | info.txt | 2 stack map for deopting inlined frames. Test case is written in smali for full
|
/art/test/1969-force-early-return-void/ |
D | class-loading-expected.patch | 15 > <Additional frames hidden> 32 > <Additional frames hidden>
|
/art/test/1945-proxy-method-arguments/ |
D | info.txt | 2 thread stack roots when visiting Quick frames roots (b/73149739).
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | README.md | 23 * 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/ |
D | expected.txt | 95 <Additional frames hidden> 160 <Additional frames hidden> 188 <Additional frames hidden> 204 <Additional frames hidden> 220 <Additional frames hidden>
|
/art/test/980-redefine-object/ |
D | expected.txt | 29 Throwing from down 4 stack frames
|