public class org.jruby.runtime.ivars.StampedVariableAccessor extends org.jruby.runtime.ivars.VariableAccessor
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.runtime.ivars.StampedVariableAccessor
  super_class: org.jruby.runtime.ivars.VariableAccessor
{
  public void <init>(org.jruby.RubyClass, java.lang.String, int, int);
    descriptor: (Lorg/jruby/RubyClass;Ljava/lang/String;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // org.jruby.runtime.ivars.StampedVariableAccessor this
        start local 1 // org.jruby.RubyClass realClass
        start local 2 // java.lang.String name
        start local 3 // int index
        start local 4 // int classId
         0: .line 50
            aload 0 /* this */
            aload 1 /* realClass */
            aload 2 /* name */
            iload 3 /* index */
            iload 4 /* classId */
            invokespecial org.jruby.runtime.ivars.VariableAccessor.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;II)V
         1: .line 51
            return
        end local 4 // int classId
        end local 3 // int index
        end local 2 // java.lang.String name
        end local 1 // org.jruby.RubyClass realClass
        end local 0 // org.jruby.runtime.ivars.StampedVariableAccessor this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/jruby/runtime/ivars/StampedVariableAccessor;
            0    2     1  realClass  Lorg/jruby/RubyClass;
            0    2     2       name  Ljava/lang/String;
            0    2     3      index  I
            0    2     4    classId  I
    MethodParameters:
           Name  Flags
      realClass  
      name       
      index      
      classId    

  public void set(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.jruby.runtime.ivars.StampedVariableAccessor this
        start local 1 // java.lang.Object object
        start local 2 // java.lang.Object value
         0: .line 61
            aload 1 /* object */
            checkcast org.jruby.RubyBasicObject
            invokevirtual org.jruby.RubyBasicObject.ensureInstanceVariablesSettable:()V
         1: .line 62
            aload 1 /* object */
            checkcast org.jruby.RubyBasicObject
            aload 0 /* this */
            getfield org.jruby.runtime.ivars.StampedVariableAccessor.realClass:Lorg/jruby/RubyClass;
            aload 0 /* this */
            getfield org.jruby.runtime.ivars.StampedVariableAccessor.index:I
            aload 2 /* value */
            invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
         2: .line 63
            return
        end local 2 // java.lang.Object value
        end local 1 // java.lang.Object object
        end local 0 // org.jruby.runtime.ivars.StampedVariableAccessor this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/jruby/runtime/ivars/StampedVariableAccessor;
            0    3     1  object  Ljava/lang/Object;
            0    3     2   value  Ljava/lang/Object;
    MethodParameters:
        Name  Flags
      object  
      value   

  public static void setVariableChecked(org.jruby.RubyBasicObject, org.jruby.RubyClass, int, java.lang.Object);
    descriptor: (Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.jruby.RubyBasicObject self
        start local 1 // org.jruby.RubyClass realClass
        start local 2 // int index
        start local 3 // java.lang.Object value
         0: .line 76
            aload 0 /* self */
            invokevirtual org.jruby.RubyBasicObject.ensureInstanceVariablesSettable:()V
         1: .line 77
            aload 0 /* self */
            aload 1 /* realClass */
            iload 2 /* index */
            aload 3 /* value */
            invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.setVariable:(Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
         2: .line 78
            return
        end local 3 // java.lang.Object value
        end local 2 // int index
        end local 1 // org.jruby.RubyClass realClass
        end local 0 // org.jruby.RubyBasicObject self
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       self  Lorg/jruby/RubyBasicObject;
            0    3     1  realClass  Lorg/jruby/RubyClass;
            0    3     2      index  I
            0    3     3      value  Ljava/lang/Object;
    MethodParameters:
           Name  Flags
      self       
      realClass  
      index      
      value      

  public static void setVariable(org.jruby.RubyBasicObject, org.jruby.RubyClass, int, java.lang.Object);
    descriptor: (Lorg/jruby/RubyBasicObject;Lorg/jruby/RubyClass;ILjava/lang/Object;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // org.jruby.RubyBasicObject self
        start local 1 // org.jruby.RubyClass realClass
        start local 2 // int index
        start local 3 // java.lang.Object value
         0: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* self */
            getfield org.jruby.RubyBasicObject.varTableStamp:I
            istore 4 /* currentStamp */
        start local 4 // int currentStamp
         1: .line 93
            iload 4 /* currentStamp */
            iconst_1
            iand
            ifeq 3
         2: .line 94
            goto 0
         3: .line 96
      StackMap locals: int
      StackMap stack:
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            aload 0 /* self */
            getstatic org.jruby.RubyBasicObject.VAR_TABLE_OFFSET:J
            invokevirtual sun.misc.Unsafe.getObjectVolatile:(Ljava/lang/Object;J)Ljava/lang/Object;
            checkcast java.lang.Object[]
            astore 5 /* currentTable */
        start local 5 // java.lang.Object[] currentTable
         4: .line 98
            aload 5 /* currentTable */
            ifnull 5
            iload 2 /* index */
            aload 5 /* currentTable */
            arraylength
            if_icmplt 6
         5: .line 99
      StackMap locals: java.lang.Object[]
      StackMap stack:
            aload 0 /* self */
            iload 4 /* currentStamp */
            aload 1 /* realClass */
            aload 5 /* currentTable */
            iload 2 /* index */
            aload 3 /* value */
            invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.createTableUnsafe:(Lorg/jruby/RubyBasicObject;ILorg/jruby/RubyClass;[Ljava/lang/Object;ILjava/lang/Object;)Z
            ifne 8
            goto 0
         6: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* self */
            iload 4 /* currentStamp */
            aload 5 /* currentTable */
            iload 2 /* index */
            aload 3 /* value */
            invokestatic org.jruby.runtime.ivars.StampedVariableAccessor.updateTableUnsafe:(Lorg/jruby/RubyBasicObject;I[Ljava/lang/Object;ILjava/lang/Object;)Z
            ifne 8
        end local 5 // java.lang.Object[] currentTable
        end local 4 // int currentStamp
         7: .line 90
            goto 0
         8: .line 106
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.Object value
        end local 2 // int index
        end local 1 // org.jruby.RubyClass realClass
        end local 0 // org.jruby.RubyBasicObject self
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0          self  Lorg/jruby/RubyBasicObject;
            0    9     1     realClass  Lorg/jruby/RubyClass;
            0    9     2         index  I
            0    9     3         value  Ljava/lang/Object;
            1    7     4  currentStamp  I
            4    7     5  currentTable  [Ljava/lang/Object;
    MethodParameters:
           Name  Flags
      self       
      realClass  
      index      
      value      

  private static boolean createTableUnsafe(org.jruby.RubyBasicObject, int, org.jruby.RubyClass, java.lang.Object[], int, java.lang.Object);
    descriptor: (Lorg/jruby/RubyBasicObject;ILorg/jruby/RubyClass;[Ljava/lang/Object;ILjava/lang/Object;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=7, args_size=6
        start local 0 // org.jruby.RubyBasicObject self
        start local 1 // int currentStamp
        start local 2 // org.jruby.RubyClass realClass
        start local 3 // java.lang.Object[] currentTable
        start local 4 // int index
        start local 5 // java.lang.Object value
         0: .line 122
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            aload 0 /* self */
            getstatic org.jruby.RubyBasicObject.STAMP_OFFSET:J
            iload 1 /* currentStamp */
            iinc 1 /* currentStamp */ 1
            iload 1 /* currentStamp */
            invokevirtual sun.misc.Unsafe.compareAndSwapInt:(Ljava/lang/Object;JII)Z
            ifne 2
         1: .line 123
            iconst_0
            ireturn
         2: .line 126
      StackMap locals:
      StackMap stack:
            aload 2 /* realClass */
            invokevirtual org.jruby.RubyClass.getVariableTableSizeWithExtras:()I
            anewarray java.lang.Object
            astore 6 /* newTable */
        start local 6 // java.lang.Object[] newTable
         3: .line 128
            aload 3 /* currentTable */
            ifnull 5
         4: .line 129
            aload 3 /* currentTable */
            iconst_0
            aload 6 /* newTable */
            iconst_0
            aload 3 /* currentTable */
            arraylength
            invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;I[Ljava/lang/Object;II)V
         5: .line 132
      StackMap locals: java.lang.Object[]
      StackMap stack:
            aload 6 /* newTable */
            iload 4 /* index */
            aload 5 /* value */
            aastore
         6: .line 134
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            aload 0 /* self */
            getstatic org.jruby.RubyBasicObject.VAR_TABLE_OFFSET:J
            aload 6 /* newTable */
            invokevirtual sun.misc.Unsafe.putOrderedObject:(Ljava/lang/Object;JLjava/lang/Object;)V
         7: .line 137
            aload 0 /* self */
            iload 1 /* currentStamp */
            iconst_1
            iadd
            putfield org.jruby.RubyBasicObject.varTableStamp:I
         8: .line 139
            iconst_1
            ireturn
        end local 6 // java.lang.Object[] newTable
        end local 5 // java.lang.Object value
        end local 4 // int index
        end local 3 // java.lang.Object[] currentTable
        end local 2 // org.jruby.RubyClass realClass
        end local 1 // int currentStamp
        end local 0 // org.jruby.RubyBasicObject self
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0          self  Lorg/jruby/RubyBasicObject;
            0    9     1  currentStamp  I
            0    9     2     realClass  Lorg/jruby/RubyClass;
            0    9     3  currentTable  [Ljava/lang/Object;
            0    9     4         index  I
            0    9     5         value  Ljava/lang/Object;
            3    9     6      newTable  [Ljava/lang/Object;
    MethodParameters:
              Name  Flags
      self          
      currentStamp  
      realClass     
      currentTable  
      index         
      value         

  private static boolean updateTableUnsafe(org.jruby.RubyBasicObject, int, java.lang.Object[], int, java.lang.Object);
    descriptor: (Lorg/jruby/RubyBasicObject;I[Ljava/lang/Object;ILjava/lang/Object;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // org.jruby.RubyBasicObject self
        start local 1 // int currentStamp
        start local 2 // java.lang.Object[] currentTable
        start local 3 // int index
        start local 4 // java.lang.Object value
         0: .line 155
            aload 2 /* currentTable */
            iload 3 /* index */
            aload 4 /* value */
            aastore
         1: .line 156
            getstatic org.jruby.util.unsafe.UnsafeHolder.U:Lsun/misc/Unsafe;
            invokevirtual sun.misc.Unsafe.fullFence:()V
         2: .line 159
            aload 0 /* self */
            getfield org.jruby.RubyBasicObject.varTableStamp:I
            iload 1 /* currentStamp */
            if_icmpne 3
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         3: iconst_0
            ireturn
        end local 4 // java.lang.Object value
        end local 3 // int index
        end local 2 // java.lang.Object[] currentTable
        end local 1 // int currentStamp
        end local 0 // org.jruby.RubyBasicObject self
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          self  Lorg/jruby/RubyBasicObject;
            0    4     1  currentStamp  I
            0    4     2  currentTable  [Ljava/lang/Object;
            0    4     3         index  I
            0    4     4         value  Ljava/lang/Object;
    MethodParameters:
              Name  Flags
      self          
      currentStamp  
      currentTable  
      index         
      value         
}
SourceFile: "StampedVariableAccessor.java"