public class org.graalvm.compiler.hotspot.stubs.NewInstanceStub 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.NewInstanceStub
  super_class: org.graalvm.compiler.hotspot.stubs.SnippetStub
{
  public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor NEW_INSTANCE_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: .line 100
            ldc Lorg/graalvm/compiler/hotspot/stubs/NewInstanceStub;
            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.NewInstanceStub.$assertionsDisabled:Z
         3: .line 312
            ldc Lorg/graalvm/compiler/hotspot/stubs/NewInstanceStub;
            ldc "newInstanceC"
            getstatic java.lang.Void.TYPE:Ljava/lang/Class;
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lorg/graalvm/compiler/word/Word;
            aastore
            dup
            iconst_1
            ldc Lorg/graalvm/compiler/hotspot/word/KlassPointer;
            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.NewInstanceStub.NEW_INSTANCE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            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.NewInstanceStub 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 103
            aload 0 /* this */
            ldc "newInstance"
            aload 1 /* options */
            aload 2 /* providers */
            aload 3 /* linkage */
            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: .line 104
            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.NewInstanceStub this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/graalvm/compiler/hotspot/stubs/NewInstanceStub;
            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[] makeConstArgs();
    descriptor: ()[Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.stubs.NewInstanceStub this
         0: .line 108
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.NewInstanceStub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
            invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
            ldc [I
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
            checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
            astore 1 /* intArrayType */
        start local 1 // jdk.vm.ci.hotspot.HotSpotResolvedObjectType intArrayType
         1: .line 109
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.NewInstanceStub.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
            invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
            iconst_0
            invokeinterface jdk.vm.ci.meta.Signature.getParameterCount:(Z)I
            istore 2 /* count */
        start local 2 // int count
         2: .line 110
            iload 2 /* count */
            anewarray java.lang.Object
            astore 3 /* args */
        start local 3 // java.lang.Object[] args
         3: .line 111
            getstatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.$assertionsDisabled:Z
            ifne 4
            aload 0 /* this */
            iconst_1
            ldc "intArrayHub"
            invokevirtual org.graalvm.compiler.hotspot.stubs.NewInstanceStub.checkConstArg:(ILjava/lang/String;)Z
            ifne 4
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         4: .line 112
      StackMap locals: jdk.vm.ci.hotspot.HotSpotResolvedObjectType int java.lang.Object[]
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.$assertionsDisabled:Z
            ifne 5
            aload 0 /* this */
            iconst_2
            ldc "threadRegister"
            invokevirtual org.graalvm.compiler.hotspot.stubs.NewInstanceStub.checkConstArg:(ILjava/lang/String;)Z
            ifne 5
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         5: .line 113
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.$assertionsDisabled:Z
            ifne 6
            aload 0 /* this */
            iconst_3
            ldc "options"
            invokevirtual org.graalvm.compiler.hotspot.stubs.NewInstanceStub.checkConstArg:(ILjava/lang/String;)Z
            ifne 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 114
      StackMap locals:
      StackMap stack:
            aload 3 /* args */
            iconst_1
            invokestatic org.graalvm.compiler.hotspot.nodes.type.KlassPointerStamp.klassNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/KlassPointerStamp;
            aload 1 /* intArrayType */
            invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
            aconst_null
            invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
            aastore
         7: .line 115
            aload 3 /* args */
            iconst_2
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.NewInstanceStub.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;
            aastore
         8: .line 116
            aload 3 /* args */
            iconst_3
            aload 0 /* this */
            getfield org.graalvm.compiler.hotspot.stubs.NewInstanceStub.options:Lorg/graalvm/compiler/options/OptionValues;
            aastore
         9: .line 117
            aload 3 /* args */
            areturn
        end local 3 // java.lang.Object[] args
        end local 2 // int count
        end local 1 // jdk.vm.ci.hotspot.HotSpotResolvedObjectType intArrayType
        end local 0 // org.graalvm.compiler.hotspot.stubs.NewInstanceStub this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lorg/graalvm/compiler/hotspot/stubs/NewInstanceStub;
            1   10     1  intArrayType  Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
            2   10     2         count  I
            3   10     3          args  [Ljava/lang/Object;

  private static org.graalvm.compiler.word.Word allocate(org.graalvm.compiler.word.Word, int);
    descriptor: (Lorg/graalvm/compiler/word/Word;I)Lorg/graalvm/compiler/word/Word;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.graalvm.compiler.word.Word thread
        start local 1 // int size
         0: .line 121
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 2 /* top */
        start local 2 // org.graalvm.compiler.word.Word top
         1: .line 122
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 3 /* end */
        start local 3 // org.graalvm.compiler.word.Word end
         2: .line 123
            aload 2 /* top */
            iload 1 /* size */
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 4 /* newTop */
        start local 4 // org.graalvm.compiler.word.Word newTop
         3: .line 128
            ldc 0.99
            aload 4 /* newTop */
            aload 3 /* end */
            invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
            invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
            ifeq 6
         4: .line 129
            aload 0 /* thread */
            aload 4 /* newTop */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
         5: .line 130
            aload 2 /* top */
            areturn
         6: .line 132
      StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
      StackMap stack:
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            areturn
        end local 4 // org.graalvm.compiler.word.Word newTop
        end local 3 // org.graalvm.compiler.word.Word end
        end local 2 // org.graalvm.compiler.word.Word top
        end local 1 // int size
        end local 0 // org.graalvm.compiler.word.Word thread
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0  thread  Lorg/graalvm/compiler/word/Word;
            0    7     1    size  I
            1    7     2     top  Lorg/graalvm/compiler/word/Word;
            2    7     3     end  Lorg/graalvm/compiler/word/Word;
            3    7     4  newTop  Lorg/graalvm/compiler/word/Word;
    MethodParameters:
        Name  Flags
      thread  
      size    

  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 // org.graalvm.compiler.options.OptionValues options
         0: .line 137
            getstatic org.graalvm.compiler.hotspot.stubs.StubOptions.TraceNewInstanceStub:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* options */
            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 // org.graalvm.compiler.options.OptionValues options
      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  

  private static java.lang.Object newInstance(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.hotspot.word.KlassPointer, jdk.vm.ci.code.Register, org.graalvm.compiler.options.OptionValues);
    descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/hotspot/word/KlassPointer;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=9, args_size=4
        start local 0 // org.graalvm.compiler.hotspot.word.KlassPointer hub
        start local 1 // org.graalvm.compiler.hotspot.word.KlassPointer intArrayHub
        start local 2 // jdk.vm.ci.code.Register threadRegister
        start local 3 // org.graalvm.compiler.options.OptionValues options
         0: .line 153
            aload 2 /* threadRegister */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
            astore 4 /* thread */
        start local 4 // org.graalvm.compiler.word.Word thread
         1: .line 154
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.inlineContiguousAllocationSupported:()Z
            istore 5 /* inlineContiguousAllocationSupported */
        start local 5 // boolean inlineContiguousAllocationSupported
         2: .line 155
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useFastTLABRefill:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifeq 10
            aload 3 /* options */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.forceSlowPath:(Lorg/graalvm/compiler/options/OptionValues;)Z
            ifne 10
            iload 5 /* inlineContiguousAllocationSupported */
            ifeq 10
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useCMSIncrementalMode:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifne 10
         3: .line 156
            aload 0 /* hub */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.isInstanceKlassFullyInitialized:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Z
            ifeq 10
         4: .line 157
            aload 0 /* hub */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
            istore 6 /* sizeInBytes */
        start local 6 // int sizeInBytes
         5: .line 158
            aload 4 /* thread */
            aload 1 /* intArrayHub */
            iload 6 /* sizeInBytes */
            aload 3 /* options */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.logging:(Lorg/graalvm/compiler/options/OptionValues;)Z
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.refillAllocate:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;IZ)Lorg/graalvm/compiler/word/Word;
            astore 7 /* memory */
        start local 7 // org.graalvm.compiler.word.Word memory
         6: .line 159
            aload 7 /* memory */
            iconst_0
            invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
            ifeq 10
         7: .line 160
            aload 0 /* hub */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.prototypeMarkWordOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
            astore 8 /* prototypeMarkWord */
        start local 8 // org.graalvm.compiler.word.Word prototypeMarkWord
         8: .line 161
            aload 0 /* hub */
            iload 6 /* sizeInBytes */
            aload 7 /* memory */
            aload 8 /* prototypeMarkWord */
            invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatObjectForStub:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            pop
         9: .line 162
            aload 7 /* memory */
            invokevirtual org.graalvm.compiler.word.Word.toObject:()Ljava/lang/Object;
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.verifyObject:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 8 // org.graalvm.compiler.word.Word prototypeMarkWord
        end local 7 // org.graalvm.compiler.word.Word memory
        end local 6 // int sizeInBytes
        10: .line 167
      StackMap locals: org.graalvm.compiler.word.Word int
      StackMap stack:
            aload 3 /* options */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.logging:(Lorg/graalvm/compiler/options/OptionValues;)Z
            ifeq 12
        11: .line 168
            ldc "newInstance: calling new_instance_c\n"
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;)V
        12: .line 171
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.NEW_INSTANCE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
            aload 4 /* thread */
            aload 0 /* hub */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.newInstanceC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
        13: .line 172
            aload 4 /* thread */
            iconst_1
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.handlePendingException:(Lorg/graalvm/compiler/word/Word;Z)V
        14: .line 173
            aload 4 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getAndClearObjectResult:(Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.verifyObject:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 5 // boolean inlineContiguousAllocationSupported
        end local 4 // org.graalvm.compiler.word.Word thread
        end local 3 // org.graalvm.compiler.options.OptionValues options
        end local 2 // jdk.vm.ci.code.Register threadRegister
        end local 1 // org.graalvm.compiler.hotspot.word.KlassPointer intArrayHub
        end local 0 // org.graalvm.compiler.hotspot.word.KlassPointer hub
      LocalVariableTable:
        Start  End  Slot                                 Name  Signature
            0   15     0                                  hub  Lorg/graalvm/compiler/hotspot/word/KlassPointer;
            0   15     1                          intArrayHub  Lorg/graalvm/compiler/hotspot/word/KlassPointer;
            0   15     2                       threadRegister  Ljdk/vm/ci/code/Register;
            0   15     3                              options  Lorg/graalvm/compiler/options/OptionValues;
            1   15     4                               thread  Lorg/graalvm/compiler/word/Word;
            2   15     5  inlineContiguousAllocationSupported  Z
            5   10     6                          sizeInBytes  I
            6   10     7                               memory  Lorg/graalvm/compiler/word/Word;
            8   10     8                    prototypeMarkWord  Lorg/graalvm/compiler/word/Word;
    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()
      3:
        org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
    MethodParameters:
                Name  Flags
      hub             
      intArrayHub     
      threadRegister  
      options         

  static org.graalvm.compiler.word.Word refillAllocate(org.graalvm.compiler.word.Word, org.graalvm.compiler.hotspot.word.KlassPointer, int, boolean);
    descriptor: (Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;IZ)Lorg/graalvm/compiler/word/Word;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=9, locals=18, args_size=4
        start local 0 // org.graalvm.compiler.word.Word thread
        start local 1 // org.graalvm.compiler.hotspot.word.KlassPointer intArrayHub
        start local 2 // int sizeInBytes
        start local 3 // boolean log
         0: .line 189
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useG1GC:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifeq 2
         1: .line 190
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            areturn
         2: .line 192
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useTLAB:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifne 4
         3: .line 193
            iload 2 /* sizeInBytes */
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
            checkcast org.graalvm.compiler.word.Word
            iload 3 /* log */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.edenAllocate:(Lorg/graalvm/compiler/word/Word;Z)Lorg/graalvm/compiler/word/Word;
            areturn
         4: .line 195
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabIntArrayMarkWord:(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 4 /* intArrayMarkWord */
        start local 4 // org.graalvm.compiler.word.Word intArrayMarkWord
         5: .line 196
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabAlignmentReserveInHeapWords:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
            imul
            istore 5 /* alignmentReserveInBytes */
        start local 5 // int alignmentReserveInBytes
         6: .line 198
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 6 /* top */
        start local 6 // org.graalvm.compiler.word.Word top
         7: .line 199
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 7 /* end */
        start local 7 // org.graalvm.compiler.word.Word end
         8: .line 202
            aload 7 /* end */
            aload 6 /* top */
            invokevirtual org.graalvm.compiler.word.Word.subtract:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            lstore 8 /* tlabFreeSpaceInBytes */
        start local 8 // long tlabFreeSpaceInBytes
         9: .line 204
            iload 3 /* log */
            ifeq 14
        10: .line 205
            ldc "refillTLAB: thread=%p\n"
            aload 0 /* thread */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
        11: .line 206
            ldc "refillTLAB: top=%p\n"
            aload 6 /* top */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
        12: .line 207
            ldc "refillTLAB: end=%p\n"
            aload 7 /* end */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
        13: .line 208
            ldc "refillTLAB: tlabFreeSpaceInBytes=%ld\n"
            lload 8 /* tlabFreeSpaceInBytes */
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
        14: .line 211
      StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.hotspot.word.KlassPointer int int org.graalvm.compiler.word.Word int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word long
      StackMap stack:
            lload 8 /* tlabFreeSpaceInBytes */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.log2WordSize:()I
            lushr
            lstore 10 /* tlabFreeSpaceInWords */
        start local 10 // long tlabFreeSpaceInWords
        15: .line 215
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabRefillWasteLimitOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_REFILL_WASTE_LIMIT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 12 /* refillWasteLimit */
        start local 12 // org.graalvm.compiler.word.Word refillWasteLimit
        16: .line 216
            lload 10 /* tlabFreeSpaceInWords */
            aload 12 /* refillWasteLimit */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            lcmp
            ifgt 41
        17: .line 217
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabStats:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifeq 25
        18: .line 219
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabNumberOfRefillsOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabNumberOfRefillsOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_NOF_REFILLS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            iconst_1
            iadd
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_NOF_REFILLS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
        19: .line 220
            iload 3 /* log */
            ifeq 21
        20: .line 221
            ldc "thread: %p -- number_of_refills %d\n"
            aload 0 /* thread */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabNumberOfRefillsOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_NOF_REFILLS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            i2l
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;JJ)V
        21: .line 224
      StackMap locals: long org.graalvm.compiler.word.Word
      StackMap stack:
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabFastRefillWasteOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_FAST_REFILL_WASTE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            lload 10 /* tlabFreeSpaceInWords */
            l2i
            iadd
            istore 13 /* wastage */
        start local 13 // int wastage
        22: .line 225
            iload 3 /* log */
            ifeq 24
        23: .line 226
            ldc "thread: %p -- accumulated wastage %d\n"
            aload 0 /* thread */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            iload 13 /* wastage */
            i2l
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;JJ)V
        24: .line 228
      StackMap locals: int
      StackMap stack:
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabFastRefillWasteOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            iload 13 /* wastage */
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_FAST_REFILL_WASTE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
        end local 13 // int wastage
        25: .line 233
      StackMap locals:
      StackMap stack:
            aload 6 /* top */
            iconst_0
            invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
            ifeq 33
        26: .line 234
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_METAACCESS:Ljdk/vm/ci/meta/MetaAccessProvider;
            getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.getArrayBaseOffset:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)I
            istore 13 /* headerSize */
        start local 13 // int headerSize
        27: .line 237
            lload 8 /* tlabFreeSpaceInBytes */
            l2i
            iconst_2
            iushr
            istore 14 /* tlabFreeSpaceInInts */
        start local 14 // int tlabFreeSpaceInInts
        28: .line 238
            iload 5 /* alignmentReserveInBytes */
            iload 13 /* headerSize */
            isub
            iconst_2
            iushr
            iload 14 /* tlabFreeSpaceInInts */
            iadd
            istore 15 /* length */
        start local 15 // int length
        29: .line 239
            aload 1 /* intArrayHub */
            iconst_0
            iload 15 /* length */
            iload 13 /* headerSize */
            aload 6 /* top */
            aload 4 /* intArrayMarkWord */
            iconst_0
            iconst_0
            aconst_null
            invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatArray:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;IIILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
            pop
        30: .line 241
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.threadAllocatedBytesOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_THREAD_ALLOCATED_BYTES_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readLong:(ILjdk/internal/vm/compiler/word/LocationIdentity;)J
            lstore 16 /* allocated */
        start local 16 // long allocated
        31: .line 242
            lload 16 /* allocated */
            aload 6 /* top */
            aload 0 /* thread */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabStart:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.subtract:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            ladd
            lstore 16 /* allocated */
        32: .line 243
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.threadAllocatedBytesOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            lload 16 /* allocated */
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_THREAD_ALLOCATED_BYTES_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.writeLong:(IJLjdk/internal/vm/compiler/word/LocationIdentity;)V
        end local 16 // long allocated
        end local 15 // int length
        end local 14 // int tlabFreeSpaceInInts
        end local 13 // int headerSize
        33: .line 247
      StackMap locals:
      StackMap stack:
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.threadTlabSizeOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_SIZE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 13 /* tlabRefillSizeInWords */
        start local 13 // org.graalvm.compiler.word.Word tlabRefillSizeInWords
        34: .line 248
            aload 13 /* tlabRefillSizeInWords */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.wordSize:()I
            invokevirtual org.graalvm.compiler.word.Word.multiply:(I)Lorg/graalvm/compiler/word/Word;
            astore 14 /* tlabRefillSizeInBytes */
        start local 14 // org.graalvm.compiler.word.Word tlabRefillSizeInBytes
        35: .line 250
            aload 14 /* tlabRefillSizeInBytes */
            iload 3 /* log */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.edenAllocate:(Lorg/graalvm/compiler/word/Word;Z)Lorg/graalvm/compiler/word/Word;
            astore 6 /* top */
        36: .line 251
            aload 6 /* top */
            iconst_0
            invokevirtual org.graalvm.compiler.word.Word.notEqual:(I)Z
            ifeq 40
        37: .line 252
            aload 6 /* top */
            aload 14 /* tlabRefillSizeInBytes */
            iload 5 /* alignmentReserveInBytes */
            invokevirtual org.graalvm.compiler.word.Word.subtract:(I)Lorg/graalvm/compiler/word/Word;
            invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 7 /* end */
        38: .line 253
            aload 0 /* thread */
            aload 6 /* top */
            aload 7 /* end */
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.initializeTlab:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
        39: .line 255
            aload 0 /* thread */
            iload 2 /* sizeInBytes */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.allocate:(Lorg/graalvm/compiler/word/Word;I)Lorg/graalvm/compiler/word/Word;
            areturn
        40: .line 257
      StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
      StackMap stack:
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            areturn
        end local 14 // org.graalvm.compiler.word.Word tlabRefillSizeInBytes
        end local 13 // org.graalvm.compiler.word.Word tlabRefillSizeInWords
        41: .line 261
      StackMap locals:
      StackMap stack:
            aload 12 /* refillWasteLimit */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabRefillWasteIncrement:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
            astore 13 /* newRefillWasteLimit */
        start local 13 // org.graalvm.compiler.word.Word newRefillWasteLimit
        42: .line 262
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabRefillWasteLimitOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            aload 13 /* newRefillWasteLimit */
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_REFILL_WASTE_LIMIT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.writeWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)V
        43: .line 263
            iload 3 /* log */
            ifeq 45
        44: .line 264
            ldc "refillTLAB: retaining TLAB - newRefillWasteLimit=%p\n"
            aload 13 /* newRefillWasteLimit */
            invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
            invokestatic org.graalvm.compiler.hotspot.stubs.StubUtil.printf:(Ljava/lang/String;J)V
        45: .line 267
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabStats:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
            ifeq 49
        46: .line 268
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabSlowAllocationsOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            aload 0 /* thread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.tlabSlowAllocationsOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_SLOW_ALLOCATIONS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            iconst_1
            iadd
        47: .line 269
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_SLOW_ALLOCATIONS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
        48: .line 268
            invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
        49: .line 272
      StackMap locals:
      StackMap stack:
            iload 2 /* sizeInBytes */
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
            checkcast org.graalvm.compiler.word.Word
            iload 3 /* log */
            invokestatic org.graalvm.compiler.hotspot.stubs.NewInstanceStub.edenAllocate:(Lorg/graalvm/compiler/word/Word;Z)Lorg/graalvm/compiler/word/Word;
            areturn
        end local 13 // org.graalvm.compiler.word.Word newRefillWasteLimit
        end local 12 // org.graalvm.compiler.word.Word refillWasteLimit
        end local 10 // long tlabFreeSpaceInWords
        end local 8 // long tlabFreeSpaceInBytes
        end local 7 // org.graalvm.compiler.word.Word end
        end local 6 // org.graalvm.compiler.word.Word top
        end local 5 // int alignmentReserveInBytes
        end local 4 // org.graalvm.compiler.word.Word intArrayMarkWord
        end local 3 // boolean log
        end local 2 // int sizeInBytes
        end local 1 // org.graalvm.compiler.hotspot.word.KlassPointer intArrayHub
        end local 0 // org.graalvm.compiler.word.Word thread
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   50     0                   thread  Lorg/graalvm/compiler/word/Word;
            0   50     1              intArrayHub  Lorg/graalvm/compiler/hotspot/word/KlassPointer;
            0   50     2              sizeInBytes  I
            0   50     3                      log  Z
            5   50     4         intArrayMarkWord  Lorg/graalvm/compiler/word/Word;
            6   50     5  alignmentReserveInBytes  I
            7   50     6                      top  Lorg/graalvm/compiler/word/Word;
            8   50     7                      end  Lorg/graalvm/compiler/word/Word;
            9   50     8     tlabFreeSpaceInBytes  J
           15   50    10     tlabFreeSpaceInWords  J
           16   50    12         refillWasteLimit  Lorg/graalvm/compiler/word/Word;
           22   25    13                  wastage  I
           27   33    13               headerSize  I
           28   33    14      tlabFreeSpaceInInts  I
           29   33    15                   length  I
           31   33    16                allocated  J
           34   41    13    tlabRefillSizeInWords  Lorg/graalvm/compiler/word/Word;
           35   41    14    tlabRefillSizeInBytes  Lorg/graalvm/compiler/word/Word;
           42   50    13      newRefillWasteLimit  Lorg/graalvm/compiler/word/Word;
    MethodParameters:
             Name  Flags
      thread       
      intArrayHub  
      sizeInBytes  
      log          

  public static org.graalvm.compiler.word.Word edenAllocate(org.graalvm.compiler.word.Word, boolean);
    descriptor: (Lorg/graalvm/compiler/word/Word;Z)Lorg/graalvm/compiler/word/Word;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=11, args_size=2
        start local 0 // org.graalvm.compiler.word.Word sizeInBytes
        start local 1 // boolean log
         0: .line 284
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.heapTopAddress:()J
            lstore 2 /* heapTopRawAddress */
        start local 2 // long heapTopRawAddress
         1: .line 285
            invokestatic org.graalvm.compiler.hotspot.nodes.GraalHotSpotVMConfigNode.heapEndAddress:()J
            lstore 4 /* heapEndRawAddress */
        start local 4 // long heapEndRawAddress
         2: .line 287
            lload 2 /* heapTopRawAddress */
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
            checkcast org.graalvm.compiler.word.Word
            astore 6 /* heapTopAddress */
        start local 6 // org.graalvm.compiler.word.Word heapTopAddress
         3: .line 288
            lload 4 /* heapEndRawAddress */
            invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
            checkcast org.graalvm.compiler.word.Word
            astore 7 /* heapEndAddress */
        start local 7 // org.graalvm.compiler.word.Word heapEndAddress
         4: .line 291
      StackMap locals: org.graalvm.compiler.word.Word int long long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
      StackMap stack:
            aload 6 /* heapTopAddress */
            iconst_0
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HEAP_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 8 /* heapTop */
        start local 8 // org.graalvm.compiler.word.Word heapTop
         5: .line 292
            aload 8 /* heapTop */
            aload 0 /* sizeInBytes */
            invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
            astore 9 /* newHeapTop */
        start local 9 // org.graalvm.compiler.word.Word newHeapTop
         6: .line 293
            aload 9 /* newHeapTop */
            aload 8 /* heapTop */
            invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
            ifeq 8
         7: .line 294
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            areturn
         8: .line 297
      StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
      StackMap stack:
            aload 7 /* heapEndAddress */
            iconst_0
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HEAP_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 10 /* heapEnd */
        start local 10 // org.graalvm.compiler.word.Word heapEnd
         9: .line 298
            aload 9 /* newHeapTop */
            aload 10 /* heapEnd */
            invokevirtual org.graalvm.compiler.word.Word.aboveThan:(Lorg/graalvm/compiler/word/Word;)Z
            ifeq 11
        10: .line 299
            invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            areturn
        11: .line 301
      StackMap locals: org.graalvm.compiler.word.Word
      StackMap stack:
            aload 6 /* heapTopAddress */
            iconst_0
            aload 8 /* heapTop */
            aload 9 /* newHeapTop */
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HEAP_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.logicCompareAndSwapWord:(ILjdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/WordBase;Ljdk/internal/vm/compiler/word/LocationIdentity;)Z
            ifeq 4
        12: .line 302
            aload 8 /* heapTop */
            areturn
        end local 10 // org.graalvm.compiler.word.Word heapEnd
        end local 9 // org.graalvm.compiler.word.Word newHeapTop
        end local 8 // org.graalvm.compiler.word.Word heapTop
        end local 7 // org.graalvm.compiler.word.Word heapEndAddress
        end local 6 // org.graalvm.compiler.word.Word heapTopAddress
        end local 4 // long heapEndRawAddress
        end local 2 // long heapTopRawAddress
        end local 1 // boolean log
        end local 0 // org.graalvm.compiler.word.Word sizeInBytes
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   13     0        sizeInBytes  Lorg/graalvm/compiler/word/Word;
            0   13     1                log  Z
            1   13     2  heapTopRawAddress  J
            2   13     4  heapEndRawAddress  J
            3   13     6     heapTopAddress  Lorg/graalvm/compiler/word/Word;
            4   13     7     heapEndAddress  Lorg/graalvm/compiler/word/Word;
            5   13     8            heapTop  Lorg/graalvm/compiler/word/Word;
            6   13     9         newHeapTop  Lorg/graalvm/compiler/word/Word;
            9   13    10            heapEnd  Lorg/graalvm/compiler/word/Word;
    MethodParameters:
             Name  Flags
      sizeInBytes  
      log          

  static boolean forceSlowPath(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 // org.graalvm.compiler.options.OptionValues options
         0: .line 309
            getstatic org.graalvm.compiler.hotspot.stubs.StubOptions.ForceUseOfNewInstanceStub:Lorg/graalvm/compiler/options/OptionKey;
            aload 0 /* options */
            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 // org.graalvm.compiler.options.OptionValues options
      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  

  public static native void newInstanceC(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.word.Word, org.graalvm.compiler.hotspot.word.KlassPointer);
    descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
    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
      newInstanceC  
      thread        
      hub           
}
SourceFile: "NewInstanceStub.java"
InnerClasses:
  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
  Counters = org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters of org.graalvm.compiler.hotspot.replacements.NewObjectSnippets