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 boolean PRINT_LENGTH_IN_EXCEPTION;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final int MAX_INT_STRING_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String STR_INDEX;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Index "

  private static final java.lang.String STR_OUTOFBOUNDSFORLENGTH;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: " out of bounds for length "

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 51
            getstatic org.graalvm.compiler.serviceprovider.JavaVersionUtil.JAVA_SPEC:I
            bipush 11
            if_icmplt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.PRINT_LENGTH_IN_EXCEPTION:Z
         3: .line 52
            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
         4: .line 54
            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 // org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub this
        start local 1 // org.graalvm.compiler.options.OptionValues options
        start local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
        start local 3 // org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage linkage
         0: .line 47
            aload 0 /* this */
            ldc "createOutOfBoundsException"
            aload 1 /* options */
            aload 2 /* providers */
            aload 3 /* linkage */
            invokespecial org.graalvm.compiler.hotspot.stubs.CreateExceptionStub.<init>:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
         1: .line 48
            return
        end local 3 // org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage linkage
        end local 2 // org.graalvm.compiler.hotspot.meta.HotSpotProviders providers
        end local 1 // org.graalvm.compiler.options.OptionValues options
        end local 0 // org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/graalvm/compiler/hotspot/stubs/OutOfBoundsExceptionStub;
            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    

  protected java.lang.Object getConstantParameterValue(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub this
        start local 1 // int index
        start local 2 // java.lang.String name
         0: .line 58
            iload 1 /* index */
            tableswitch { // 2 - 4
                    2: 1
                    3: 2
                    4: 8
              default: 9
          }
         1: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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 /* wordSize */
        start local 3 // int wordSize
         3: .line 64
            getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.PRINT_LENGTH_IN_EXCEPTION:Z
            ifeq 6
         4: .line 65
            ldc "Index "
            invokevirtual java.lang.String.length:()I
            ldc " out of bounds for length "
            invokevirtual java.lang.String.length:()I
            iadd
            iconst_2
            getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.MAX_INT_STRING_SIZE:I
            imul
            iadd
            istore 4 /* bytes */
        start local 4 // int bytes
         5: .line 66
            goto 7
        end local 4 // int bytes
         6: .line 67
      StackMap locals: int
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.MAX_INT_STRING_SIZE:I
            istore 4 /* bytes */
        start local 4 // int bytes
         7: .line 70
      StackMap locals: int
      StackMap stack:
            iload 4 /* bytes */
            iconst_1
            iadd
            iload 3 /* wordSize */
            idiv
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        end local 4 // int bytes
        end local 3 // int wordSize
         8: .line 72
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub.PRINT_LENGTH_IN_EXCEPTION:Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            areturn
         9: .line 74
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "unknown parameter "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* name */
            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 /* index */
            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 // java.lang.String name
        end local 1 // int index
        end local 0 // org.graalvm.compiler.hotspot.stubs.OutOfBoundsExceptionStub this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lorg/graalvm/compiler/hotspot/stubs/OutOfBoundsExceptionStub;
            0   10     1     index  I
            0   10     2      name  Ljava/lang/String;
            3    8     3  wordSize  I
            5    6     4     bytes  I
            7    8     4     bytes  I
    MethodParameters:
       Name  Flags
      index  
      name   

  private static java.lang.Object createOutOfBoundsException(int, int, jdk.vm.ci.code.Register, int, boolean);
    descriptor: (IILjdk/vm/ci/code/Register;IZ)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=7, args_size=5
        start local 0 // int idx
        start local 1 // int length
        start local 2 // jdk.vm.ci.code.Register threadRegister
        start local 3 // int bufferSizeInWords
        start local 4 // boolean printLengthInException
         0: .line 81
            iload 3 /* bufferSizeInWords */
            invokestatic org.graalvm.compiler.hotspot.nodes.AllocaNode.alloca:(I)Lorg/graalvm/compiler/word/Word;
            astore 5 /* buffer */
        start local 5 // org.graalvm.compiler.word.Word buffer
         1: .line 83
            iload 4 /* printLengthInException */
            ifeq 7
         2: .line 84
            aload 5 /* buffer */
            ldc "Index "
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printString:(Lorg/graalvm/compiler/word/Word;Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
            astore 6 /* ptr */
        start local 6 // org.graalvm.compiler.word.Word ptr
         3: .line 85
            aload 6 /* ptr */
            iload 0 /* idx */
            i2l
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printNumber:(Lorg/graalvm/compiler/word/Word;J)Lorg/graalvm/compiler/word/Word;
            astore 6 /* ptr */
         4: .line 86
            aload 6 /* ptr */
            ldc " out of bounds for length "
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printString:(Lorg/graalvm/compiler/word/Word;Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
            astore 6 /* ptr */
         5: .line 87
            aload 6 /* ptr */
            iload 1 /* length */
            i2l
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printNumber:(Lorg/graalvm/compiler/word/Word;J)Lorg/graalvm/compiler/word/Word;
            astore 6 /* ptr */
         6: .line 88
            goto 8
        end local 6 // org.graalvm.compiler.word.Word ptr
         7: .line 89
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            aload 5 /* buffer */
            iload 0 /* idx */
            i2l
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printNumber:(Lorg/graalvm/compiler/word/Word;J)Lorg/graalvm/compiler/word/Word;
            astore 6 /* ptr */
        start local 6 // org.graalvm.compiler.word.Word ptr
         8: .line 91
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            aload 6 /* ptr */
            iconst_0
            iconst_0
            invokevirtual org.graalvm.compiler.word.Word.writeByte:(IB)V
         9: .line 92
            aload 2 /* threadRegister */
            ldc Ljava/lang/ArrayIndexOutOfBoundsException;
            aload 5 /* buffer */
            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 // org.graalvm.compiler.word.Word ptr
        end local 5 // org.graalvm.compiler.word.Word buffer
        end local 4 // boolean printLengthInException
        end local 3 // int bufferSizeInWords
        end local 2 // jdk.vm.ci.code.Register threadRegister
        end local 1 // int length
        end local 0 // int idx
      LocalVariableTable:
        Start  End  Slot                    Name  Signature
            0   10     0                     idx  I
            0   10     1                  length  I
            0   10     2          threadRegister  Ljdk/vm/ci/code/Register;
            0   10     3       bufferSizeInWords  I
            0   10     4  printLengthInException  Z
            1   10     5                  buffer  Lorg/graalvm/compiler/word/Word;
            3    7     6                     ptr  Lorg/graalvm/compiler/word/Word;
            8   10     6                     ptr  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()
      4:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
    MethodParameters:
                        Name  Flags
      idx                     
      length                  
      threadRegister          
      bufferSizeInWords       
      printLengthInException  
}
SourceFile: "OutOfBoundsExceptionStub.java"
InnerClasses:
  public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet