public abstract class JavaStackFrameVisitor extends StackFrameVisitor
Constructor and Description |
---|
JavaStackFrameVisitor() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
visitFrame(FrameInfoQueryResult frameInfo) |
boolean |
visitFrame(org.graalvm.word.Pointer sp,
org.graalvm.nativeimage.c.function.CodePointer ip,
CodeInfo codeInfo,
DeoptimizedFrame deoptimizedFrame)
Called for each frame that is visited.
|
unknownFrame, visitFrame
public final boolean visitFrame(org.graalvm.word.Pointer sp, org.graalvm.nativeimage.c.function.CodePointer ip, CodeInfo codeInfo, DeoptimizedFrame deoptimizedFrame)
StackFrameVisitor
Uninterruptible
or executing within a safepoint, the frame on the stack could be
deoptimized at any safepoint check. Nevertheless, the passed codeInfo remains valid for
accessing information about the code at the (possibly outdated) instruction pointer (this is
ensured by the caller).visitFrame
in class StackFrameVisitor
sp
- The stack pointer of the frame being visited.ip
- The instruction pointer of the frame being visited.codeInfo
- Information on the code at the IP, for use with CodeInfoAccess
.deoptimizedFrame
- The information about a deoptimized frame, or null
if the
frame is not deoptimized.public abstract boolean visitFrame(FrameInfoQueryResult frameInfo)