Home
last modified time | relevance | path

Searched refs:stackFrame (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/dalvik/system/
DEmulatedStackFrameTest.java26 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(MethodType.methodType( in testReaderWriter_allParamTypes() local
32 writer.attach(stackFrame); in testReaderWriter_allParamTypes()
44 reader.attach(stackFrame); in testReaderWriter_allParamTypes()
57 EmulatedStackFrame stackFrame = EmulatedStackFrame.create( in testReaderWriter_allReturnTypes() local
61 writer.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
64 reader.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
69 stackFrame = EmulatedStackFrame.create(MethodType.methodType(char.class)); in testReaderWriter_allReturnTypes()
70 writer.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
71 reader.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
76 stackFrame = EmulatedStackFrame.create(MethodType.methodType(short.class)); in testReaderWriter_allReturnTypes()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java81 private final byte[] stackFrame; field in EmulatedStackFrame
84 byte[] stackFrame) { in EmulatedStackFrame() argument
88 this.stackFrame = stackFrame; in EmulatedStackFrame()
220 System.arraycopy(stackFrame, fromRange.stackFrameStart, in copyRangeTo()
221 other.stackFrame, primitivesStart, fromRange.numBytes); in copyRangeTo()
233 System.arraycopy(stackFrame, stackFrame.length - 4, in copyReturnValueTo()
234 other.stackFrame, other.stackFrame.length - 4, 4); in copyReturnValueTo()
236 System.arraycopy(stackFrame, stackFrame.length - 8, in copyReturnValueTo()
237 other.stackFrame, other.stackFrame.length - 8, 8); in copyReturnValueTo()
329 public StackFrameAccessor attach(EmulatedStackFrame stackFrame) { in attach() argument
[all …]
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprofWriter.java229 private int writeStackFrame(StackTraceElement stackFrame) throws IOException { in writeStackFrame() argument
230 Integer identifier = stackFrameToId.get(stackFrame); in writeStackFrame()
236 stackFrameToId.put(stackFrame, id); in writeStackFrame()
238 int classId = writeLoadClass(stackFrame.getClassName()); in writeStackFrame()
239 int methodNameId = writeString(stackFrame.getMethodName()); in writeStackFrame()
240 int sourceId = writeString(stackFrame.getFileName()); in writeStackFrame()
249 out.writeInt(stackFrame.getLineNumber()); in writeStackFrame()
DBinaryHprofReader.java367 StackTraceElement stackFrame = new StackTraceElement(className, methodName, file, line); in parseStackFrame() local
368 StackTraceElement old = idToStackFrame.put(stackFrameId, stackFrame); in parseStackFrame()
393 StackTraceElement stackFrame = idToStackFrame.get(stackFrameId); in parseStackTrace() local
396 System.out.println("\tstackFrame=" + stackFrame); in parseStackTrace()
398 if (stackFrame == null) { in parseStackTrace()
401 stackFrames[i] = stackFrame; in parseStackTrace()
DHprofData.java184 for (StackTraceElement stackFrame : stackFrames) { in toString()
186 frames.append(stackFrame); in toString()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java465 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(delegate.type()); in transform() local
468 stackFrame.setReference(0, receiver); in transform()
470 emulatedStackFrame.copyRangeTo(stackFrame, range, in transform()
474 delegate.invoke(stackFrame); in transform()
475 stackFrame.copyReturnValueTo(emulatedStackFrame); in transform()
1477 public void transform(EmulatedStackFrame stackFrame) throws Throwable { in transform() argument
1479 reader.attach(stackFrame); in transform()
1524 transformedFrame.copyReturnValueTo(stackFrame); in transform()
1589 public void transform(EmulatedStackFrame stackFrame) throws Throwable { in transform() argument
1592 stackFrame.copyRangeTo(filterFrame, collectorRange, 0, 0); in transform()
[all …]