Home
last modified time | relevance | path

Searched refs:stackFrames (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DStackStreamFactory.java516 private StackFrameInfo[] stackFrames; field in StackStreamFactory.StackFrameTraverser.StackFrameBuffer
520 this.stackFrames = new StackFrameInfo[initialBatchSize]; in StackFrameBuffer()
522 stackFrames[i] = new StackFrameInfo(walker); in StackFrameBuffer()
528 return stackFrames; in frames()
540 if (stackFrames.length < size) { in resize()
543 System.arraycopy(stackFrames, 0, newFrames, 0, startIndex); in resize()
544 stackFrames = newFrames; in resize()
547 stackFrames[i] = new StackFrameInfo(walker); in resize()
558 StackFrameInfo frame = stackFrames[origin]; in nextStackFrame()
565 return stackFrames[index].declaringClass(); in at()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DStackWalkerTest.java56 List<StackFrame> stackFrames = (List<StackFrame>) test1Class.getMethod("test") in testGetByteCodeIndex() local
58 assertTrue(stackFrames.size() >= 3); in testGetByteCodeIndex()
60 StackFrame f = stackFrames.get(0); in testGetByteCodeIndex()
68 f = stackFrames.get(1); in testGetByteCodeIndex()
74 f = stackFrames.get(2); in testGetByteCodeIndex()