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.options.OptionValues, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "unwindExceptionToCaller"
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.hotspot.stubs.SnippetStub.<init>:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
1: return
end local 3 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 options Lorg/graalvm/compiler/options/OptionValues;
0 2 2 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 2 3 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
options
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: iload 1
iconst_2
if_icmpne 2
1: 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
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.$assertionsDisabled:Z
ifne 3
iload 1
iconst_3
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.options:Lorg/graalvm/compiler/options/OptionValues;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/stubs/UnwindExceptionToCallerStub;
0 4 1 index I
0 4 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, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljava/lang/Object;Lorg/graalvm/compiler/word/Word;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 4
start local 4 1: aload 3
invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.logging:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 7
2: ldc "unwinding exception %p ("
aload 4
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
3: aload 4
invokeinterface jdk.internal.vm.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: jdk.internal.vm.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 5
start local 5 8: aload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
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: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
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 5
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 6
start local 6 11: aload 3
invokestatic org.graalvm.compiler.hotspot.stubs.UnwindExceptionToCallerStub.logging:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 15
12: ldc "handler for exception %p at return address %p is at %p ("
aload 4
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
aload 1
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
aload 6
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;JJJ)V
13: aload 6
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 6
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 6 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;
0 17 3 options Lorg/graalvm/compiler/options/OptionValues;
1 17 4 exceptionOop Ljdk/internal/vm/compiler/word/Pointer;
8 17 5 thread Lorg/graalvm/compiler/word/Word;
11 17 6 handlerInCallerPc Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
exception
returnAddress
threadRegister
options
static boolean logging(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.stubs.StubOptions.TraceUnwindStub:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 options Lorg/graalvm/compiler/options/OptionValues;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
MethodParameters:
Name Flags
options
static boolean assertionsEnabled(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.debug.Assertions.assertionsEnabled:()Z
ifne 1
aload 0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.cAssertionsEnabled:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
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;)
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