public class org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub extends org.graalvm.compiler.hotspot.stubs.SnippetStub
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub
super_class: org.graalvm.compiler.hotspot.stubs.SnippetStub
{
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor EXCEPTION_HANDLER_FOR_RETURN_ADDRESS;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
ldc "exceptionHandlerForReturnAddress"
ldc Lorg/graalvm/compiler/word/Word;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/graalvm/compiler/word/Word;
aastore
dup
iconst_1
4: ldc Lorg/graalvm/compiler/word/Word;
aastore
5: invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.newDescriptor:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
putstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.EXCEPTION_HANDLER_FOR_RETURN_ADDRESS:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "unwindExceptionToCaller"
aload 1
aload 2
invokespecial org.graalvm.compiler.hotspot.stubs.SnippetStub.<init>:(Ljava/lang/String;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
0 2 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 2 2 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
providers
linkage
public boolean preservesRegisters();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
protected java.lang.Object getConstantParameterValue(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.$assertionsDisabled:Z
ifne 1
iload 1
iconst_2
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getRegisters:()Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
0 2 1 index I
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
index
name
private static void unwindExceptionToCaller(java.lang.Object, org.graalvm.compiler.word.Word, jdk.vm.ci.code.Register);
descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;Ljdk/vm/ci/code/Register;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Pointer;
astore 3
start local 3 1: invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.logging:()Z
ifeq 7
2: ldc "unwinding exception %p ("
aload 3
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
3: aload 3
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
4: ldc ") at %p ("
aload 1
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
5: aload 1
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
6: ldc ")\n"
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;)V
7: StackMap locals: org.graalvm.compiler.word.Pointer
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 8: aload 4
aconst_null
invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.assertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.checkNoExceptionInThread:(Lorg/graalvm/compiler/word/Word;Z)V
9: aconst_null
invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.assertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
aload 0
invokestatic org.graalvm.compiler.hotspot.stubs.ExceptionHandlerStub.checkExceptionNotNull:(ZLjava/lang/Object;)V
10: getstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.EXCEPTION_HANDLER_FOR_RETURN_ADDRESS:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 4
aload 1
invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.exceptionHandlerForReturnAddress:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 5
start local 5 11: invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.logging:()Z
ifeq 15
12: ldc "handler for exception %p at return address %p is at %p ("
aload 3
invokeinterface org.graalvm.compiler.word.Pointer.rawValue:()J
aload 1
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 5
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;JJJ)V
13: aload 5
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.decipher:(J)V
14: ldc ")\n"
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;)V
15: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 5
aload 0
aload 1
invokestatic org.graalvm.compiler.hotspot.nodes.JumpToExceptionHandlerInCallerNode.jumpToExceptionHandlerInCaller:(Lorg/graalvm/compiler/word/Word;Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;)V
16: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 exception Ljava/lang/Object;
0 17 1 returnAddress Lorg/graalvm/compiler/word/Word;
0 17 2 threadRegister Ljdk/vm/ci/code/Register;
1 17 3 exceptionOop Lorg/graalvm/compiler/word/Pointer;
8 17 4 thread Lorg/graalvm/compiler/word/Word;
11 17 5 handlerInCallerPc Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
exception
returnAddress
threadRegister
static boolean logging();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.stubs.StubOptions.TraceUnwindStub:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
static boolean assertionsEnabled(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: getstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.$assertionsDisabled:Z
ifne 2
iconst_1
dup
istore 1
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
iload 1
ifne 3
aload 0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.cAssertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifne 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
1 4 1 enabled Z
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
config
public static native org.graalvm.compiler.word.Word exceptionHandlerForReturnAddress(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/hotspot/nodes/StubForeignCallNode;, setStampFromReturnType = true)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
MethodParameters:
Name Flags
exceptionHandlerForReturnAddress
thread
returnAddress
}
SourceFile: "UnwindExceptionToCallerStub.java"
InnerClasses:
public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node