public class FramePointerMapWalker extends Object implements StackFrameVisitor
Modifier | Constructor and Description |
---|---|
protected |
FramePointerMapWalker(ObjectReferenceVisitor objRefVisitor) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected FramePointerMapWalker(ObjectReferenceVisitor objRefVisitor)
public 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 interface 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.