public class org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub extends org.graalvm.compiler.hotspot.stubs.CreateExceptionStub
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub
super_class: org.graalvm.compiler.hotspot.stubs.CreateExceptionStub
{
private static final int MAX_INT_STRING_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc -2147483648
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.String.length:()I
putstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.MAX_INT_STRING_SIZE:I
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 "createOutOfBoundsException"
aload 1
aload 2
invokespecial org.graalvm.compiler.hotspot.stubs.CreateExceptionStub.<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/OutOfBoundsExceptionStub;
0 2 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 2 2 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
providers
linkage
protected java.lang.Object getConstantParameterValue(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 1 - 2
1: 1
2: 2
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.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:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getWordTypes:()Lorg/graalvm/compiler/hotspot/word/HotSpotWordTypes;
invokevirtual org.graalvm.compiler.hotspot.word.HotSpotWordTypes.getWordKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.getByteCount:()I
istore 3
start local 3 3: getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.MAX_INT_STRING_SIZE:I
iload 3
idiv
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 3 4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "unknown parameter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " at index "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/stubs/OutOfBoundsExceptionStub;
0 5 1 index I
0 5 2 name Ljava/lang/String;
3 4 3 wordSize I
MethodParameters:
Name Flags
index
name
private static java.lang.Object createOutOfBoundsException(int, jdk.vm.ci.code.Register, int);
descriptor: (ILjdk/vm/ci/code/Register;I)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iload 2
invokestatic org.graalvm.compiler.hotspot.nodes.AllocaNode.alloca:(I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 1: iload 0
i2l
lstore 4
start local 4 2: lload 4
lconst_0
lcmp
ifge 4
3: lload 4
lneg
lstore 4
4: StackMap locals: org.graalvm.compiler.word.Word long
StackMap stack:
aload 3
getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.MAX_INT_STRING_SIZE:I
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 6
start local 6 5: aload 6
iconst_0
iconst_0
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
6: StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
lload 4
ldc 10
lrem
lstore 7
start local 7 7: lload 4
ldc 10
ldiv
lstore 4
8: aload 6
iconst_1
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 6
9: aload 6
iconst_0
ldc 48
lload 7
ladd
l2i
i2b
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
end local 7 10: lload 4
lconst_0
11: lcmp
ifgt 6
12: iload 0
ifge 15
13: aload 6
iconst_1
invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
astore 6
14: aload 6
iconst_0
bipush 45
invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
15: StackMap locals:
StackMap stack:
aload 1
ldc Ljava/lang/ArrayIndexOutOfBoundsException;
aload 6
invokestatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.createException:(Ljdk/vm/ci/code/Register;Ljava/lang/Class;Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 idx I
0 16 1 threadRegister Ljdk/vm/ci/code/Register;
0 16 2 bufferSizeInWords I
1 16 3 buffer Lorg/graalvm/compiler/word/Word;
2 16 4 number J
5 16 6 ptr Lorg/graalvm/compiler/word/Word;
7 10 7 digit J
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
idx
threadRegister
bufferSizeInWords
}
SourceFile: "OutOfBoundsExceptionStub.java"
InnerClasses:
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet