Home
last modified time | relevance | path

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

1234

/art/tools/ahat/src/test/com/android/ahat/
DProguardMapTest.java64 ProguardMap.Frame frame = map.getFrame( in proguardMap() local
66 assertEquals("mymethod", frame.method); in proguardMap()
67 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in proguardMap()
68 assertEquals("SourceFile.java", frame.filename); in proguardMap()
69 assertEquals(123, frame.line); in proguardMap()
79 frame = map.getFrame("foo.bar.Sludge", "mymethod", "(Lfoo/bar/Sludge;)V", in proguardMap()
81 assertEquals("mymethod", frame.method); in proguardMap()
82 assertEquals("(Lfoo/bar/Sludge;)V", frame.signature); in proguardMap()
83 assertEquals("SourceFile.java", frame.filename); in proguardMap()
84 assertEquals(123, frame.line); in proguardMap()
[all …]
/art/runtime/
Dnterp_helpers.cc110 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame) { in NterpFrameInfo() argument
115 return QuickMethodFrameInfo(NterpGetFrameSize(*frame), core_spills, fp_spills); in NterpFrameInfo()
118 uintptr_t NterpGetRegistersArray(ArtMethod** frame) { in NterpGetRegistersArray() argument
119 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetRegistersArray()
122 return NterpGetReferenceArray(frame) + (num_regs * kVRegSize); in NterpGetRegistersArray()
125 uintptr_t NterpGetReferenceArray(ArtMethod** frame) { in NterpGetReferenceArray() argument
126 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetReferenceArray()
129 return reinterpret_cast<uintptr_t>(frame) + in NterpGetReferenceArray()
136 uint32_t NterpGetDexPC(ArtMethod** frame) { in NterpGetDexPC() argument
137 CodeItemDataAccessor accessor((*frame)->DexInstructionData()); in NterpGetDexPC()
[all …]
Dnterp_helpers.h36 QuickMethodFrameInfo NterpFrameInfo(ArtMethod** frame)
42 uint32_t NterpGetDexPC(ArtMethod** frame)
49 uintptr_t NterpGetReferenceArray(ArtMethod** frame)
56 uintptr_t NterpGetRegistersArray(ArtMethod** frame)
67 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
74 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 return frame; in PopShadowFrame()
Doat_quick_method_header.cc30 uint32_t OatQuickMethodHeader::ToDexPc(ArtMethod** frame, in ToDexPc() argument
33 ArtMethod* method = *frame; in ToDexPc()
39 return NterpGetDexPC(frame); in ToDexPc()
/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/test/1926-missed-frame-pop/
Dexpected.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.
Dinfo.txt1 Tests notify frame pop JVMTI functionality.
/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/1924-frame-pop-toggle/
Dinfo.txt1 Tests notify frame pop JVMTI functionality.
3 This tests toggling frame pop off and on.
/art/test/1925-self-frame-pop/
Dinfo.txt1 Tests notify frame pop JVMTI functionality.
3 This tests setting frame-pop on the current thread
/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/runtime/arch/
Dcontext.h41 static uintptr_t* CalleeSaveAddress(uint8_t* frame, int num, size_t frame_size) { in CalleeSaveAddress() argument
43 uint8_t* save_addr = frame + frame_size - ((num + 1) * sizeof(void*)); in CalleeSaveAddress()
52 virtual void FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& fr) = 0;
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java165 ProguardMap.Frame frame = frames[s]; in getSite() local
169 if (curr.mLineNumber == frame.line in getSite()
170 && curr.mMethodName.equals(frame.method) in getSite()
171 && curr.mSignature.equals(frame.signature) in getSite()
172 && curr.mFilename.equals(frame.filename)) { in getSite()
178 child = new Site(site, frame.method, frame.signature, in getSite()
179 frame.filename, frame.line); in getSite()
/art/runtime/arch/x86/
Dcontext_x86.cc40 void X86Context::FillCalleeSaves(uint8_t* frame, const QuickMethodFrameInfo& frame_info) { in FillCalleeSaves() argument
48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
59 CalleeSaveAddress(frame, spill_pos + 1, frame_info.FrameSizeInBytes())); in FillCalleeSaves()
61 CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes())); in FillCalleeSaves()
/art/test/1967-get-set-local-bad-slot/src/art/
DTest1967.java163 StackTrace.StackFrameData frame = findStackFrame(remote);
164 Locals.VariableDescription desc = findTargetVar(frame.current_location);
165 safepoint.invoke(remote, target, desc, frame.depth);
185 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
186 if (frame.method.equals(target)) {
187 return frame;
/art/test/098-ddmc/
Dexpected.txt2 empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: …
14 reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: …
23 goodbye=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries…
/art/test/1913-get-set-local-objects/src/art/
DTest1913.java221 StackTrace.StackFrameData frame = findStackFrame(remote);
222 Locals.VariableDescription desc = findTargetVar(frame.current_location);
223 safepoint.invoke(remote, target, desc, frame.depth);
242 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
243 if (frame.method.equals(target)) {
244 return frame;
/art/test/1917-get-stack-frame/
Dinfo.txt1 Tests stack frame functions of jvmti
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java191 StackTrace.StackFrameData frame = findStackFrame(remote);
192 Locals.VariableDescription desc = findTargetVar(frame.current_location);
193 safepoint.invoke(remote, target, desc, frame.depth);
212 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
213 if (frame.method.equals(target)) {
214 return frame;
/art/test/1966-get-set-local-objects-no-table/src/art/
DTest1966.java185 StackTrace.StackFrameData frame = findStackFrame(remote);
186 safepoint.invoke(remote, target, pause.slot, frame.depth);
195 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
196 if (frame.method.equals(target)) {
197 return frame;
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DTest1965.java141 StackTrace.StackFrameData frame = findStackFrame(remote);
142 safepoint.invoke(remote, target, pause.slot, frame.depth);
161 for (StackTrace.StackFrameData frame : StackTrace.GetStackTrace(thr)) {
162 if (frame.method.equals(target)) {
163 return frame;
/art/test/1923-frame-pop/
Dinfo.txt1 Tests notify frame pop JVMTI functionality.

1234