final class org.graalvm.compiler.asm.Buffer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.asm.Buffer
super_class: java.lang.Object
{
protected java.nio.ByteBuffer data;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
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=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/asm/Buffer;
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.asm.Buffer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 232
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
2: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 order Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
order
public int position();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/Buffer;
public void setPosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.asm.Buffer.$assertionsDisabled:Z
ifne 2
iload 1
iflt 1
iload 1
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmple 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokestatic org.graalvm.compiler.serviceprovider.BufferUtil.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 position I
MethodParameters:
Name Flags
position
public byte[] close(boolean);
descriptor: (Z)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
astore 2
start local 2 1: iload 1
ifeq 3
2: aload 2
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 2
3: StackMap locals: byte[]
StackMap stack:
aload 0
aconst_null
putfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/asm/Buffer;
0 5 1 trimmedCopy Z
1 5 2 result [B
MethodParameters:
Name Flags
trimmedCopy
public byte[] copyData(int, int);
descriptor: (II)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
iload 1
iload 2
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 start I
0 3 2 end I
MethodParameters:
Name Flags
start
end
public void copyInto(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
iconst_0
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Buffer;
0 2 1 dst [B
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
dst
off
len
protected void ensureSize(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 6
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
iload 1
iconst_4
imul
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 2
start local 2 2: aload 2
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 3
start local 3 3: aload 3
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.order:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
4: aload 3
invokestatic org.graalvm.compiler.serviceprovider.BufferUtil.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
5: aload 0
aload 3
putfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/asm/Buffer;
0 7 1 length I
2 6 2 newBuf [B
3 6 3 newData Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
length
public void emitBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 arr [B
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
arr
off
len
public void emitByte(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.asm.Buffer.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isUByte:(I)Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isByte:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
2: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 b I
MethodParameters:
Name Flags
b
public void emitShort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.asm.Buffer.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isUShort:(I)Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isShort:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iconst_2
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
2: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
i2s
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 b I
MethodParameters:
Name Flags
b
public void emitInt(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iconst_4
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 b I
MethodParameters:
Name Flags
b
public void emitLong(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
bipush 8
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 b J
MethodParameters:
Name Flags
b
public void emitBytes(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
istore 3
start local 3 1: aload 0
iload 2
iload 3
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
2: aload 1
iconst_0
aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 arr [B
0 4 2 pos I
1 4 3 len I
MethodParameters:
Name Flags
arr
pos
public void emitByte(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.asm.Buffer.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isUByte:(I)Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isByte:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_1
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
2: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 2
iload 1
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 b I
0 4 2 pos I
MethodParameters:
Name Flags
b
pos
public void emitShort(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.asm.Buffer.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isUShort:(I)Z
ifne 1
iload 1
invokestatic org.graalvm.compiler.core.common.NumUtil.isShort:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_2
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
2: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 2
iload 1
i2s
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/asm/Buffer;
0 4 1 b I
0 4 2 pos I
MethodParameters:
Name Flags
b
pos
public void emitInt(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
iconst_4
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 2
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 b I
0 3 2 pos I
MethodParameters:
Name Flags
b
pos
public void emitLong(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
iload 3
bipush 8
iadd
invokevirtual org.graalvm.compiler.asm.Buffer.ensureSize:(I)V
1: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 3
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
pop
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/asm/Buffer;
0 3 1 b J
0 3 3 pos I
MethodParameters:
Name Flags
b
pos
public int getByte(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 2
start local 2 1: iload 2
sipush 255
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Buffer;
0 2 1 pos I
1 2 2 b I
MethodParameters:
Name Flags
pos
public int getShort(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getShort:(I)S
istore 2
start local 2 1: iload 2
ldc 65535
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Buffer;
0 2 1 pos I
1 2 2 s S
MethodParameters:
Name Flags
pos
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/asm/Buffer;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.asm.Buffer.data:Ljava/nio/ByteBuffer;
invokestatic org.graalvm.compiler.serviceprovider.BufferUtil.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
invokevirtual java.nio.Buffer.clear:()Ljava/nio/Buffer;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/asm/Buffer;
}
SourceFile: "Buffer.java"