Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 25 of 108) sorted by relevance

12345

/art/tools/ahat/src/test/com/android/ahat/
DProguardMapTest.java72 ProguardMap.Frame frame = map.getFrame( in runOldProguardMap() local
74 assertEquals("mymethod", frame.method); in runOldProguardMap()
75 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in runOldProguardMap()
76 assertEquals("SourceFile.java", frame.filename); in runOldProguardMap()
77 assertEquals(123, frame.line); in runOldProguardMap()
87 frame = map.getFrame("foo.bar.Sludge", "mymethod", "(Lfoo/bar/Sludge;)V", in runOldProguardMap()
89 assertEquals("mymethod", frame.method); in runOldProguardMap()
90 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in runOldProguardMap()
91 assertEquals("SourceFile.java", frame.filename); in runOldProguardMap()
92 assertEquals(123, frame.line); in runOldProguardMap()
[all …]
/art/test/1915-get-set-local-current-thread/src/art/
DTest1915.java56 StackTrace.StackFrameData frame = FindStackFrame(target); in run() local
57 int depth = FindExpectedFrameDepth(frame); in run()
58 int slot = FindSlot(frame); in run()
65 StackTrace.StackFrameData frame = FindStackFrame(target); in run() local
66 int depth = FindExpectedFrameDepth(frame); in run()
67 int slot = FindSlot(frame); in run()
72 public static int FindSlot(StackTrace.StackFrameData frame) throws Exception { in FindSlot() argument
73 long loc = frame.current_location; in FindSlot()
74 for (Locals.VariableDescription var : Locals.GetLocalVariableTable(frame.method)) { in FindSlot()
82 "Unable to find variable " + TARGET_VAR + " in " + frame.method + " at loc " + loc); in FindSlot()
[all …]
/art/runtime/
Dnterp_helpers.cc178 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame) { in NterpFrameInfo() argument
183 return QuickMethodFrameInfo(NterpGetFrameSize(*frame, kRuntimeISA), core_spills, fp_spills); in NterpFrameInfo()
186 uintptr_t NterpGetRegistersArray(ArtMethod** frame) { in NterpGetRegistersArray() argument
187 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetRegistersArray()
190 return NterpGetReferenceArray(frame) + (num_regs * kVRegSize); in NterpGetRegistersArray()
193 uintptr_t NterpGetReferenceArray(ArtMethod** frame) { in NterpGetReferenceArray() argument
194 const uint16_t out_regs = GetNumberOfOutRegs(*frame, kRuntimeISA); in NterpGetReferenceArray()
196 return reinterpret_cast<uintptr_t>(frame) + in NterpGetReferenceArray()
203 uint32_t NterpGetDexPC(ArtMethod** frame) { in NterpGetDexPC() argument
204 const uint16_t out_regs = GetNumberOfOutRegs(*frame, kRuntimeISA); in NterpGetDexPC()
[all …]
Dnterp_helpers.h30 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame)
36 uint32_t NterpGetDexPC(ArtMethod** frame)
43 uintptr_t NterpGetReferenceArray(ArtMethod** frame)
50 uintptr_t NterpGetRegistersArray(ArtMethod** frame)
61 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
68 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
Dmanaged_stack-inl.h37 ShadowFrame* frame = top_shadow_frame_; in PopShadowFrame() local
38 top_shadow_frame_ = frame->GetLink(); in PopShadowFrame()
39 frame->ClearLink(); in PopShadowFrame()
40 return frame; in PopShadowFrame()
Dnative_stack_dump.cc364 for (const unwindstack::FrameData& frame : data.frames) { in DumpNativeStack() local
373 os << prefix << StringPrintf("#%02zu pc ", frame.num); in DumpNativeStack()
375 if (frame.map_info == nullptr) { in DumpNativeStack()
376 os << StringPrintf("%08" PRIx64 " ???", frame.pc); in DumpNativeStack()
378 os << StringPrintf("%08" PRIx64 " ", frame.rel_pc); in DumpNativeStack()
379 const std::shared_ptr<unwindstack::MapInfo>& map_info = frame.map_info; in DumpNativeStack()
389 if (!frame.function_name.empty()) { in DumpNativeStack()
393 os << StripParameters(frame.function_name.c_str()); in DumpNativeStack()
394 if (frame.function_offset != 0) { in DumpNativeStack()
395 os << "+" << frame.function_offset; in DumpNativeStack()
[all …]
/art/test/1926-missed-frame-pop/
Dexpected-stdout.txt1 Ran recurTimes(10) without errors after disabling frame pop event!
2 renabling frame pop event with similar stack.
4 Ran recurTimes(10) without errors after disabling frame pop event!
5 renabling frame pop event with similar stack.
7 Ran recurTimes(10) without errors after disabling frame pop event!
8 renabling frame pop event with similar stack.
DAndroid.bp3 // Build rules for ART run-test `1926-missed-frame-pop`.
16 name: "art-run-test-1926-missed-frame-pop",
21 ":art-run-test-1926-missed-frame-pop-expected-stdout",
22 ":art-run-test-1926-missed-frame-pop-expected-stderr",
28 name: "art-run-test-1926-missed-frame-pop-expected-stdout",
29 out: ["art-run-test-1926-missed-frame-pop-expected-stdout.txt"],
36 name: "art-run-test-1926-missed-frame-pop-expected-stderr",
37 out: ["art-run-test-1926-missed-frame-pop-expected-stderr.txt"],
/art/test/1916-get-set-current-frame/src/art/
DTest1916.java83 StackTrace.StackFrameData frame = FindStackFrame(target_get, target); in runGet() local
84 int depth = frame.depth; in runGet()
86 int slot = FindSlot(frame); in runGet()
113 StackTrace.StackFrameData frame = FindStackFrame(target_set, target); in runSet() local
114 int depth = frame.depth; in runSet()
116 int slot = FindSlot(frame); in runSet()
126 public static int FindSlot(StackTrace.StackFrameData frame) throws Exception { in FindSlot() argument
127 long loc = frame.current_location; in FindSlot()
128 for (Locals.VariableDescription var : Locals.GetLocalVariableTable(frame.method)) { in FindSlot()
136 "Unable to find variable " + TARGET_VAR + " in " + frame.method + " at loc " + loc); in FindSlot()
[all …]
/art/test/1935-get-set-current-frame-jit/src/
DMain.java116 StackTrace.StackFrameData frame = FindStackFrame(target_get, target); in runGet() local
117 int depth = frame.depth; in runGet()
119 int slot = FindSlot(frame); in runGet()
148 StackTrace.StackFrameData frame = FindStackFrame(target_set, target); in runSet() local
149 int depth = frame.depth; in runSet()
151 int slot = FindSlot(frame); in runSet()
161 public static int FindSlot(StackTrace.StackFrameData frame) throws Exception { in FindSlot() argument
162 long loc = frame.current_location; in FindSlot()
163 for (Locals.VariableDescription var : Locals.GetLocalVariableTable(frame.method)) { in FindSlot()
171 "Unable to find variable " + TARGET_VAR + " in " + frame.method + " at loc " + loc); in FindSlot()
[all …]
/art/test/1917-get-stack-frame/
DAndroid.bp3 // Build rules for ART run-test `1917-get-stack-frame`.
16 name: "art-run-test-1917-get-stack-frame",
21 ":art-run-test-1917-get-stack-frame-expected-stdout",
22 ":art-run-test-1917-get-stack-frame-expected-stderr",
28 name: "art-run-test-1917-get-stack-frame-expected-stdout",
29 out: ["art-run-test-1917-get-stack-frame-expected-stdout.txt"],
36 name: "art-run-test-1917-get-stack-frame-expected-stderr",
37 out: ["art-run-test-1917-get-stack-frame-expected-stderr.txt"],
/art/test/421-large-frame/
DAndroid.bp3 // Build rules for ART run-test `421-large-frame`.
16 name: "art-run-test-421-large-frame",
21 ":art-run-test-421-large-frame-expected-stdout",
22 ":art-run-test-421-large-frame-expected-stderr",
28 name: "art-run-test-421-large-frame-expected-stdout",
29 out: ["art-run-test-421-large-frame-expected-stdout.txt"],
36 name: "art-run-test-421-large-frame-expected-stderr",
37 out: ["art-run-test-421-large-frame-expected-stderr.txt"],
/art/test/1954-pop-frame-jit/
DAndroid.bp3 // Build rules for ART run-test `1954-pop-frame-jit`.
16 name: "art-run-test-1954-pop-frame-jit",
21 ":art-run-test-1954-pop-frame-jit-expected-stdout",
22 ":art-run-test-1954-pop-frame-jit-expected-stderr",
28 name: "art-run-test-1954-pop-frame-jit-expected-stdout",
29 out: ["art-run-test-1954-pop-frame-jit-expected-stdout.txt"],
36 name: "art-run-test-1954-pop-frame-jit-expected-stderr",
37 out: ["art-run-test-1954-pop-frame-jit-expected-stderr.txt"],
/art/test/1923-frame-pop/
DAndroid.bp3 // Build rules for ART run-test `1923-frame-pop`.
16 name: "art-run-test-1923-frame-pop",
21 ":art-run-test-1923-frame-pop-expected-stdout",
22 ":art-run-test-1923-frame-pop-expected-stderr",
28 name: "art-run-test-1923-frame-pop-expected-stdout",
29 out: ["art-run-test-1923-frame-pop-expected-stdout.txt"],
36 name: "art-run-test-1923-frame-pop-expected-stderr",
37 out: ["art-run-test-1923-frame-pop-expected-stderr.txt"],
/art/test/1953-pop-frame/
DAndroid.bp3 // Build rules for ART run-test `1953-pop-frame`.
16 name: "art-run-test-1953-pop-frame",
21 ":art-run-test-1953-pop-frame-expected-stdout",
22 ":art-run-test-1953-pop-frame-expected-stderr",
28 name: "art-run-test-1953-pop-frame-expected-stdout",
29 out: ["art-run-test-1953-pop-frame-expected-stdout.txt"],
36 name: "art-run-test-1953-pop-frame-expected-stderr",
37 out: ["art-run-test-1953-pop-frame-expected-stderr.txt"],
/art/test/1924-frame-pop-toggle/
DAndroid.bp3 // Build rules for ART run-test `1924-frame-pop-toggle`.
16 name: "art-run-test-1924-frame-pop-toggle",
21 ":art-run-test-1924-frame-pop-toggle-expected-stdout",
22 ":art-run-test-1924-frame-pop-toggle-expected-stderr",
28 name: "art-run-test-1924-frame-pop-toggle-expected-stdout",
29 out: ["art-run-test-1924-frame-pop-toggle-expected-stdout.txt"],
36 name: "art-run-test-1924-frame-pop-toggle-expected-stderr",
37 out: ["art-run-test-1924-frame-pop-toggle-expected-stderr.txt"],
/art/test/1925-self-frame-pop/
DAndroid.bp3 // Build rules for ART run-test `1925-self-frame-pop`.
16 name: "art-run-test-1925-self-frame-pop",
21 ":art-run-test-1925-self-frame-pop-expected-stdout",
22 ":art-run-test-1925-self-frame-pop-expected-stderr",
28 name: "art-run-test-1925-self-frame-pop-expected-stdout",
29 out: ["art-run-test-1925-self-frame-pop-expected-stdout.txt"],
36 name: "art-run-test-1925-self-frame-pop-expected-stderr",
37 out: ["art-run-test-1925-self-frame-pop-expected-stderr.txt"],
/art/test/1916-get-set-current-frame/
DAndroid.bp3 // Build rules for ART run-test `1916-get-set-current-frame`.
16 name: "art-run-test-1916-get-set-current-frame",
21 ":art-run-test-1916-get-set-current-frame-expected-stdout",
22 ":art-run-test-1916-get-set-current-frame-expected-stderr",
28 name: "art-run-test-1916-get-set-current-frame-expected-stdout",
29 out: ["art-run-test-1916-get-set-current-frame-expected-stdout.txt"],
36 name: "art-run-test-1916-get-set-current-frame-expected-stderr",
37 out: ["art-run-test-1916-get-set-current-frame-expected-stderr.txt"],
/art/test/1956-pop-frame-jit-calling/
DAndroid.bp3 // Build rules for ART run-test `1956-pop-frame-jit-calling`.
16 name: "art-run-test-1956-pop-frame-jit-calling",
21 ":art-run-test-1956-pop-frame-jit-calling-expected-stdout",
22 ":art-run-test-1956-pop-frame-jit-calling-expected-stderr",
28 name: "art-run-test-1956-pop-frame-jit-calling-expected-stdout",
29 out: ["art-run-test-1956-pop-frame-jit-calling-expected-stdout.txt"],
36 name: "art-run-test-1956-pop-frame-jit-calling-expected-stderr",
37 out: ["art-run-test-1956-pop-frame-jit-calling-expected-stderr.txt"],
/art/test/2031-zygote-compiled-frame-deopt/
DAndroid.bp3 // Build rules for ART run-test `2031-zygote-compiled-frame-deopt`.
16 name: "art-run-test-2031-zygote-compiled-frame-deopt",
21 ":art-run-test-2031-zygote-compiled-frame-deopt-expected-stdout",
22 ":art-run-test-2031-zygote-compiled-frame-deopt-expected-stderr",
28 name: "art-run-test-2031-zygote-compiled-frame-deopt-expected-stdout",
29 out: ["art-run-test-2031-zygote-compiled-frame-deopt-expected-stdout.txt"],
36 name: "art-run-test-2031-zygote-compiled-frame-deopt-expected-stderr",
37 out: ["art-run-test-2031-zygote-compiled-frame-deopt-expected-stderr.txt"],
/art/test/1935-get-set-current-frame-jit/
DAndroid.bp3 // Build rules for ART run-test `1935-get-set-current-frame-jit`.
16 name: "art-run-test-1935-get-set-current-frame-jit",
21 ":art-run-test-1935-get-set-current-frame-jit-expected-stdout",
22 ":art-run-test-1935-get-set-current-frame-jit-expected-stderr",
28 name: "art-run-test-1935-get-set-current-frame-jit-expected-stdout",
29 out: ["art-run-test-1935-get-set-current-frame-jit-expected-stdout.txt"],
36 name: "art-run-test-1935-get-set-current-frame-jit-expected-stderr",
37 out: ["art-run-test-1935-get-set-current-frame-jit-expected-stderr.txt"],
/art/test/1955-pop-frame-jit-called/
DAndroid.bp3 // Build rules for ART run-test `1955-pop-frame-jit-called`.
16 name: "art-run-test-1955-pop-frame-jit-called",
21 ":art-run-test-1955-pop-frame-jit-called-expected-stdout",
22 ":art-run-test-1955-pop-frame-jit-called-expected-stderr",
28 name: "art-run-test-1955-pop-frame-jit-called-expected-stdout",
29 out: ["art-run-test-1955-pop-frame-jit-called-expected-stdout.txt"],
36 name: "art-run-test-1955-pop-frame-jit-called-expected-stderr",
37 out: ["art-run-test-1955-pop-frame-jit-called-expected-stderr.txt"],
/art/test/1914-get-local-instance/src/art/
DTest1914.java145 StackTrace.StackFrameData frame = findStackFrame(remote);
146 safepoint.invoke(remote, target, frame.depth);
155 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
156 if (frame.method.equals(target) ||
157 (frame.method.getName().equals(target.getName()) &&
158 Arrays.deepEquals(frame.method.getParameterTypes(), target.getParameterTypes()) &&
159 ((Method)frame.method).getReturnType().equals(target.getReturnType()))) {
160 return frame;
/art/test/1939-proxy-frames/src/art/
DTest1939.java128 StackTrace.StackFrameData frame = findStackFrame(remote);
129 safepoint.invoke(remote, target, frame.depth);
138 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
139 if (frame.method.equals(target) ||
140 (frame.method.getName().equals(target.getName()) &&
141 Arrays.deepEquals(frame.method.getParameterTypes(), target.getParameterTypes()) &&
142 ((Method)frame.method).getReturnType().equals(target.getReturnType()))) {
143 return frame;
/art/test/137-cfi/
Dcfi.cc116 for (const unwindstack::FrameData& frame : data.frames) { in CheckStack() local
117 if (frame.map_info == nullptr) { in CheckStack()
118 printf("Error: No map_info for frame #%02zu\n", frame.num); in CheckStack()
122 const std::string& function_name = frame.function_name; in CheckStack()
135 const std::string& lib_name = frame.map_info->name(); in CheckStack()
139 printf("Error: No function name for frame #%02zu\n", frame.num); in CheckStack()
152 for (const unwindstack::FrameData& frame : data.frames) { in CheckStack() local
153 printf(" %s\n", unwinder.FormatFrame(frame).c_str()); in CheckStack()

12345