Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 27) 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/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/openjdkjvmti/
Dti_stack.cc153 frames.push_back(info); in Run()
165 std::vector<jvmtiFrameInfo> frames; member
170 static jvmtiError TranslateFrameVector(const std::vector<jvmtiFrameInfo>& frames, in TranslateFrameVector() argument
176 size_t collected_frames = frames.size(); in TranslateFrameVector()
188 if (frames.size() > 0) { in TranslateFrameVector()
189 memcpy(frame_buffer, frames.data(), collected_frames * sizeof(jvmtiFrameInfo)); in TranslateFrameVector()
191 *count_ptr = static_cast<jint>(frames.size()); in TranslateFrameVector()
202 &frames.data()[collected_frames + start_depth], in TranslateFrameVector()
298 return TranslateFrameVector(closure.frames, in GetStackTrace()
391 frames.emplace_back(new std::vector<jvmtiFrameInfo>()); in GetAllStackTraces()
[all …]
/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()
DParser.java196 DenseMap<ProguardMap.Frame> frames = new DenseMap<ProguardMap.Frame>("Stack Frame"); in parseInternal() local
260 frames.put(frameId, frame); in parseInternal()
271 trace[i] = frames.get(frameId); in parseInternal()
/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/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/1953-pop-frame/
Dclass-loading-expected.patch9 > <Additional frames hidden>
19 > <Additional frames hidden>
Dexpected.txt88 <Additional frames hidden>
97 <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/497-inlining-and-class-loader/
Dinfo.txt2 the correct class loader when walking inlined frames.
/art/test/541-regression-inlined-deopt/
Dinfo.txt2 stack map for deopting inlined frames. Test case is written in smali for full
/art/test/1945-proxy-method-arguments/
Dinfo.txt2 thread stack roots when visiting Quick frames roots (b/73149739).
/art/test/980-redefine-object/
Dexpected.txt29 Throwing from down 4 stack frames
/art/tools/ahat/etc/
Dhprofdump.py175 frames = readu4(hprof) variable
176 hprof.read(idsize * frames)
/art/runtime/
Dstack.cc481 : StackVisitor(thread_in, nullptr, walk_kind_in), frames(0) {} in ComputeNumFrames()
484 frames++; in ComputeNumFrames()
488 size_t frames; in ComputeNumFrames() member
492 return visitor.frames; in ComputeNumFrames()
/art/libdexfile/
DAndroid.bp258 // stack frames.
/art/tools/ahat/
DREADME.txt72 Fix bug in proguard deobfuscation of stack frames.

12