public class org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets
super_class: java.lang.Object
{
public static final jdk.internal.vm.compiler.word.LocationIdentity OBJECT_RESULT_LOCATION;
descriptor: Ljdk/internal/vm/compiler/word/LocationIdentity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "ObjectResult"
invokestatic org.graalvm.compiler.nodes.NamedLocationIdentity.mutable:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/NamedLocationIdentity;
putstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/ForeignCallSnippets;
public static void handlePendingException(org.graalvm.compiler.word.Word, boolean, boolean);
descriptor: (Lorg/graalvm/compiler/word/Word;ZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 1
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.clearPendingException:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
ifnonnull 2
StackMap locals:
StackMap stack:
1: iload 1
ifne 5
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getPendingException:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
ifnull 5
2: StackMap locals:
StackMap stack:
iload 2
ifeq 4
3: aload 0
invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.getAndClearObjectResult:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.hotspot.nodes.DeoptimizeCallerNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 thread Lorg/graalvm/compiler/word/Word;
0 6 1 shouldClearException Z
0 6 2 isObjectResult Z
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
thread
shouldClearException
isObjectResult
public static java.lang.Object verifyObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOops:()Z
ifeq 11
1: invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopCounterAddress:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
astore 1
start local 1 2: aload 1
iconst_0
aload 1
iconst_0
invokevirtual org.graalvm.compiler.word.Word.readInt:(I)I
iconst_1
iadd
invokevirtual org.graalvm.compiler.word.Word.writeInt:(II)V
3: aload 0
invokestatic org.graalvm.compiler.word.Word.objectToTrackedPointer:(Ljava/lang/Object;)Lorg/graalvm/compiler/word/Word;
astore 2
start local 2 4: aload 0
ifnull 11
5: invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
astore 3
start local 3 6: aload 2
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopMask:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
invokeinterface jdk.internal.vm.compiler.word.Pointer.and:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Ljdk/internal/vm/compiler/word/Pointer;
invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.verifyOopBits:()J
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
invokeinterface jdk.internal.vm.compiler.word.Pointer.equal:(Ljdk/internal/vm/compiler/word/UnsignedWord;)Z
ifne 8
7: ldc "oop not in heap: %p"
aload 2
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
8: StackMap locals: org.graalvm.compiler.word.Word jdk.internal.vm.compiler.word.Pointer org.graalvm.compiler.nodes.extended.GuardingNode
StackMap stack:
aload 0
aload 3
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNull:(Ljava/lang/Object;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadHubIntrinsic:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 4
start local 4 9: aload 4
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
ifeq 11
10: ldc "klass for oop %p is null"
aload 2
invokeinterface jdk.internal.vm.compiler.word.Pointer.rawValue:()J
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.fatal:(Ljava/lang/String;J)V
end local 4 end local 3 end local 2 end local 1 11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 object Ljava/lang/Object;
2 11 1 verifyOopCounter Lorg/graalvm/compiler/word/Word;
4 11 2 oop Ljdk/internal/vm/compiler/word/Pointer;
6 11 3 anchorNode Lorg/graalvm/compiler/nodes/extended/GuardingNode;
9 11 4 klass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
object
static long verifyOopMask(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.verifyOopMask:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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
static long verifyOopBits(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.verifyOopBits:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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 java.lang.Object getAndClearObjectResult(org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.objectResultOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readObject:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljava/lang/Object;
astore 1
start local 1 1: aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.objectResultOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
aconst_null
getstatic org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets.OBJECT_RESULT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeObject:(ILjava/lang/Object;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 thread Lorg/graalvm/compiler/word/Word;
1 3 1 result Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
thread
static int objectResultOffset(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.threadObjectResultOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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
}
SourceFile: "ForeignCallSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets$Templates
InnerClasses:
public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
public Templates = org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets$Templates of org.graalvm.compiler.hotspot.stubs.ForeignCallSnippets