public class org.graalvm.compiler.hotspot.stubs.StubUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.stubs.StubUtil
super_class: java.lang.Object
{
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor VM_MESSAGE_C;
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/StubUtil;
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.StubUtil.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/hotspot/stubs/StubUtil;
ldc "vmMessageC"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_5
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
ldc Lorg/graalvm/compiler/word/Word;
aastore
dup
iconst_2
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
dup
iconst_3
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
dup
iconst_4
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
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.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
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/StubUtil;
public static org.graalvm.compiler.core.common.spi.ForeignCallDescriptor newDescriptor(java.lang.Class<?>, java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
astore 4
start local 4 1: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.$assertionsDisabled:Z
ifne 2
aload 0
aload 1
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.descriptorFor:(Ljava/lang/Class;Ljava/lang/String;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 4
invokevirtual org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.equals:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
aload 1
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.descriptorFor:(Ljava/lang/Class;Ljava/lang/String;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " != "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 stubClass Ljava/lang/Class<*>;
0 3 1 name Ljava/lang/String;
0 3 2 resultType Ljava/lang/Class<*>;
0 3 3 argumentTypes [Ljava/lang/Class;
1 3 4 d Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
stubClass
name
resultType
argumentTypes
private static org.graalvm.compiler.core.common.spi.ForeignCallDescriptor descriptorFor(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: java.lang.Class java.lang.String java.lang.reflect.Method top int int java.lang.reflect.Method[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 10
aload 3
ldc Lorg/graalvm/compiler/graph/Node$NodeIntrinsic;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 10
aload 3
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
4: aload 3
ldc Lorg/graalvm/compiler/graph/Node$NodeIntrinsic;
invokevirtual java.lang.reflect.Method.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.graalvm.compiler.graph.Node$NodeIntrinsic
invokeinterface org.graalvm.compiler.graph.Node$NodeIntrinsic.value:()Ljava/lang/Class;
ldc Lorg/graalvm/compiler/hotspot/nodes/StubForeignCallNode;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
5: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.$assertionsDisabled:Z
ifne 6
aload 2
ifnull 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "found more than one foreign call named "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: java.lang.Class java.lang.String java.lang.reflect.Method java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.$assertionsDisabled:Z
ifne 9
aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifeq 7
aload 3
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
ldc Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
if_acmpeq 9
StackMap locals:
StackMap stack:
7: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "first parameter of foreign call '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: ldc " must be of type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
astore 2
end local 3 10: StackMap locals: java.lang.Class java.lang.String java.lang.reflect.Method top int int java.lang.reflect.Method[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 2
12: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.$assertionsDisabled:Z
ifne 13
aload 2
ifnonnull 13
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "could not find foreign call named "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
13: StackMap locals: java.lang.Class java.lang.String java.lang.reflect.Method
StackMap stack:
aload 2
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 3
start local 3 14: aload 3
iconst_1
aload 3
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
aload 3
invokeinterface java.util.List.size:()I
iconst_1
isub
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
astore 4
start local 4 15: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
aload 1
aload 2
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
aload 4
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 stubClass Ljava/lang/Class<*>;
0 16 1 name Ljava/lang/String;
1 16 2 found Ljava/lang/reflect/Method;
3 10 3 method Ljava/lang/reflect/Method;
14 16 3 paramList Ljava/util/List<Ljava/lang/Class<*>;>;
15 16 4 cCallTypes [Ljava/lang/Class;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
MethodParameters:
Name Flags
stubClass
name
public static void handlePendingException(org.graalvm.compiler.word.Word, boolean);
descriptor: (Lorg/graalvm/compiler/word/Word;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.clearPendingException:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
ifnull 4
1: iload 1
ifeq 3
2: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getAndClearObjectResult:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
pop
3: 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
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 thread Lorg/graalvm/compiler/word/Word;
0 5 1 isObjectResult Z
MethodParameters:
Name Flags
thread
isObjectResult
public static boolean cAssertionsEnabled(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.cAssertions:Z
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
private static native void vmMessageC(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, boolean, org.graalvm.compiler.word.Word, long, long, long);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
flags: (0x010a) ACC_PRIVATE, 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:
3:
4:
5:
MethodParameters:
Name Flags
stubPrintfC
vmError
format
v1
v2
v3
public static void printf(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_0
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lconst_0
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public static void printf(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_0
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 value J
MethodParameters:
Name Flags
format
value
public static void printf(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_0
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lload 3
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 v1 J
0 2 3 v2 J
MethodParameters:
Name Flags
format
v1
v2
public static void printf(java.lang.String, long, long, long);
descriptor: (Ljava/lang/String;JJJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_0
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lload 3
lload 5
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 v1 J
0 2 3 v2 J
0 2 5 v3 J
MethodParameters:
Name Flags
format
v1
v2
v3
public static void decipher(long);
descriptor: (J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_0
invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
lload 0
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value J
MethodParameters:
Name Flags
value
public static void fatal(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lconst_0
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public static void fatal(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 value J
MethodParameters:
Name Flags
format
value
public static void fatal(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lload 3
lconst_0
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 v1 J
0 2 3 v2 J
MethodParameters:
Name Flags
format
v1
v2
public static void fatal(java.lang.String, long, long, long);
descriptor: (Ljava/lang/String;JJJ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: getstatic org.graalvm.compiler.hotspot.stubs.StubUtil.VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
aload 0
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lload 1
lload 3
lload 5
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
1: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 format Ljava/lang/String;
0 2 1 v1 J
0 2 3 v2 J
0 2 5 v3 J
MethodParameters:
Name Flags
format
v1
v2
v3
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: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOops:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 11
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.verifyOopCounterAddress:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)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
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.verifyOopMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)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;
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.verifyOopBits:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)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;
MethodParameters:
Name Flags
object
static long verifyOopCounterAddress(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.verifyOopCounterAddress: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 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
static int hubOffset(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.hubOffset: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
public static org.graalvm.compiler.word.Word printNumber(org.graalvm.compiler.word.Word, long);
descriptor: (Lorg/graalvm/compiler/word/Word;J)Lorg/graalvm/compiler/word/Word;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifgt 5
2: lload 3
lneg
lstore 3
3: iconst_1
istore 5
start local 5 4: goto 9
end local 5 5: StackMap locals: long
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: int
StackMap stack:
lload 3
ldc 10
ldiv
lstore 3
8: iinc 5 1
9: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 7
10: lload 1
lconst_0
lcmp
ifge 11
lload 1
lneg
goto 12
StackMap locals:
StackMap stack:
11: lload 1
StackMap locals:
StackMap stack: long
12: lstore 3
13: aload 0
iload 5
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 14: StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
lload 3
ldc 10
lrem
lstore 7
start local 7 15: lload 3
ldc 10
ldiv
lstore 3
16: aload 6
iconst_1
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 6
17: aload 6
iconst_0
ldc 48
lload 7
ladd
l2i
i2b
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
end local 7 18: lload 3
lconst_0
19: lcmp
ifgt 14
20: lload 1
lconst_0
lcmp
ifge 23
21: aload 6
iconst_1
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 6
22: aload 6
iconst_0
bipush 45
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
23: StackMap locals:
StackMap stack:
aload 0
iload 5
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
areturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 buffer Lorg/graalvm/compiler/word/Word;
0 24 1 number J
1 24 3 tmpNumber J
4 5 5 offset I
6 24 5 offset I
14 24 6 ptr Lorg/graalvm/compiler/word/Word;
15 18 7 digit J
MethodParameters:
Name Flags
buffer
number
public static org.graalvm.compiler.word.Word printString(org.graalvm.compiler.word.Word, java.lang.String);
descriptor: (Lorg/graalvm/compiler/word/Word;Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
start local 4 3: StackMap locals: org.graalvm.compiler.word.Word int int
StackMap stack:
aload 0
iload 3
iload 4
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
4: iinc 3 1
end local 4 5: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual org.graalvm.compiler.word.Word.readByte:(I)B
dup
istore 4
start local 4 6: ifne 3
7: aload 0
iload 3
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buffer Lorg/graalvm/compiler/word/Word;
0 8 1 javaString Ljava/lang/String;
1 8 2 string Lorg/graalvm/compiler/word/Word;
2 8 3 i I
3 5 4 b B
6 8 4 b B
MethodParameters:
Name Flags
buffer
javaString
}
SourceFile: "StubUtil.java"
InnerClasses:
public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
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