public class com.oracle.objectfile.io.AssemblyBuffer implements com.oracle.objectfile.io.InputDisassembler, com.oracle.objectfile.io.OutputAssembler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.objectfile.io.AssemblyBuffer
super_class: java.lang.Object
{
private static final double GROWTH_FACTOR;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2.0
public static final int INITIAL_STRING_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
java.nio.ByteBuffer buf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
private java.util.Deque<java.lang.Long> seekStack;
descriptor: Ljava/util/Deque;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Deque<Ljava/lang/Long;>;
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 Lcom/oracle/objectfile/io/AssemblyBuffer;
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 com.oracle.objectfile.io.AssemblyBuffer.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.objectfile.io.InputDisassembler createInputDisassembler(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lcom/oracle/objectfile/io/InputDisassembler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.objectfile.io.AssemblyBuffer
dup
aload 0
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 in Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
in
public static com.oracle.objectfile.io.OutputAssembler createOutputAssembler(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lcom/oracle/objectfile/io/OutputAssembler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.objectfile.io.AssemblyBuffer
dup
aload 0
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 out Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
out
public static com.oracle.objectfile.io.OutputAssembler createOutputAssembler(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)Lcom/oracle/objectfile/io/OutputAssembler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.objectfile.io.AssemblyBuffer
dup
aload 0
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:(Ljava/nio/ByteOrder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 order Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
order
public static com.oracle.objectfile.io.OutputAssembler createOutputAssembler();
descriptor: ()Lcom/oracle/objectfile/io/OutputAssembler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.objectfile.io.AssemblyBuffer
dup
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.oracle.objectfile.io.AssemblyBuffer.seekStack:Ljava/util/Deque;
2: aload 0
aload 1
putfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 4 1 in Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
in
public void <init>(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 16
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 2 1 order Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
order
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokespecial com.oracle.objectfile.io.AssemblyBuffer.<init>:(Ljava/nio/ByteOrder;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public boolean eof();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
private static java.nio.Buffer asBaseBuffer(java.nio.Buffer);
descriptor: (Ljava/nio/Buffer;)Ljava/nio/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/nio/Buffer;
MethodParameters:
Name Flags
obj
public void seek(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
lcmp
ifle 2
1: aload 0
lload 1
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
lsub
l2i
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokestatic com.oracle.objectfile.io.AssemblyBuffer.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
lload 1
l2i
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 Lcom/oracle/objectfile/io/AssemblyBuffer;
0 4 1 pos J
MethodParameters:
Name Flags
pos
public void skip(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
lload 1
ladd
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.seek:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 2 1 diff J
MethodParameters:
Name Flags
diff
public void pushSeek(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
getfield com.oracle.objectfile.io.AssemblyBuffer.seekStack:Ljava/util/Deque;
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: aload 0
lload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.seek:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 pos J
MethodParameters:
Name Flags
pos
public void pushSkip(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.seekStack:Ljava/util/Deque;
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: aload 0
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
lload 1
ladd
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.seek:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 diff J
MethodParameters:
Name Flags
diff
public void pushPos();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.seekStack:Ljava/util/Deque;
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public void pop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.seekStack:Ljava/util/Deque;
invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.seek:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public int pos();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public void align(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
2: aload 0
iconst_1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.skip:(I)V
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
iload 1
irem
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 5 1 alignment I
MethodParameters:
Name Flags
alignment
public void even();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.align:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public void writeZero(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iconst_0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 1
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 6 1 n I
1 5 2 i I
MethodParameters:
Name Flags
n
public void writeLEB128(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 4
2: aload 0
iconst_0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
3: return
4: StackMap locals: long
StackMap stack:
lload 3
ldc 127
land
l2i
i2b
istore 5
start local 5 5: lload 3
bipush 7
lshr
lstore 3
6: lload 3
lconst_0
lcmp
ifeq 8
7: iload 5
bipush -128
ior
i2b
istore 5
8: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
end local 5 9: lload 3
lconst_0
lcmp
ifne 4
10: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 11 1 v J
1 11 3 vv J
5 9 5 b B
MethodParameters:
Name Flags
v
public void writeSLEB128(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: iconst_1
istore 5
start local 5 2: goto 11
3: StackMap locals: long int
StackMap stack:
lload 3
ldc 127
land
l2i
i2b
istore 6
start local 6 4: lload 3
bipush 7
lshr
lstore 3
5: lload 3
lconst_0
lcmp
ifne 6
iload 6
bipush 64
iand
ifeq 7
StackMap locals: int
StackMap stack:
6: lload 3
ldc -1
lcmp
ifne 9
iload 6
bipush 64
iand
bipush 64
if_icmpne 9
7: StackMap locals:
StackMap stack:
iconst_0
istore 5
8: goto 10
9: StackMap locals:
StackMap stack:
iload 6
sipush 128
ior
i2b
istore 6
10: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
end local 6 11: StackMap locals:
StackMap stack:
iload 5
ifne 3
12: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 13 1 v J
1 13 3 vv J
2 13 5 more Z
4 11 6 b B
MethodParameters:
Name Flags
v
public void writeBCD(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 1 1 f D
MethodParameters:
Name Flags
f
public void writeFloat(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 1 1 f F
MethodParameters:
Name Flags
f
public void writeDouble(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 1 1 f D
MethodParameters:
Name Flags
f
public void writeByte(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 b B
MethodParameters:
Name Flags
b
public void write4Byte(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf: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 Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 w I
MethodParameters:
Name Flags
w
public void writeBlob(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 blob [B
MethodParameters:
Name Flags
blob
public void write2Byte(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 i S
MethodParameters:
Name Flags
i
public void writeValue(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.write2Byte:(S)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 2 1 i S
MethodParameters:
Name Flags
i
public void write8Byte(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
bipush 8
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf: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 Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 w J
MethodParameters:
Name Flags
w
public void writeQuad(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
lload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.write8Byte:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 2 1 w J
MethodParameters:
Name Flags
w
public void writeString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
aload 1
invokevirtual java.lang.String.getBytes:()[B
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeBlob:([B)V
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 4 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void writeStringPadded(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: getstatic com.oracle.objectfile.io.AssemblyBuffer.$assertionsDisabled:Z
ifne 2
aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.length:()I
iload 2
if_icmplt 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "string oversize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeString:(Ljava/lang/String;)V
3: iload 2
aload 1
ifnonnull 4
iconst_0
goto 5
StackMap locals:
StackMap stack: int
4: aload 1
invokevirtual java.lang.String.length:()I
StackMap locals: com.oracle.objectfile.io.AssemblyBuffer java.lang.String int
StackMap stack: int int
5: isub
iconst_1
isub
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: int int
StackMap stack:
aload 0
iconst_0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 8
end local 4 11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 12 1 s Ljava/lang/String;
0 12 2 nBytes I
6 12 3 pad I
7 11 4 i I
MethodParameters:
Name Flags
s
nBytes
public java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
private void ensure(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 1
if_icmpge 15
1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
istore 2
start local 2 2: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 3: iload 3
iload 1
iadd
istore 4
start local 4 4: iload 2
i2d
ldc 2.0
dmul
d2i
istore 5
start local 5 5: goto 7
6: StackMap locals: com.oracle.objectfile.io.AssemblyBuffer int int int int int
StackMap stack:
iload 5
i2d
ldc 2.0
dmul
d2i
istore 5
7: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 6
8: iload 5
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 6
start local 6 9: aload 6
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
10: iload 3
newarray 8
astore 7
start local 7 11: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokestatic com.oracle.objectfile.io.AssemblyBuffer.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
invokevirtual java.nio.Buffer.rewind:()Ljava/nio/Buffer;
pop
12: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
aload 7
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
13: aload 6
aload 7
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
14: aload 0
aload 6
putfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 15: StackMap locals: com.oracle.objectfile.io.AssemblyBuffer int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 16 1 n I
2 15 2 cap I
3 15 3 pos I
4 15 4 req I
5 15 5 newCap I
9 15 6 nbuf Ljava/nio/ByteBuffer;
11 15 7 old [B
MethodParameters:
Name Flags
n
public byte[] getBlob();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokestatic com.oracle.objectfile.io.AssemblyBuffer.asBaseBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
iconst_0
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
aload 2
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
1 5 1 len I
2 5 2 bytes [B
public void setByteOrder(java.nio.ByteOrder);
descriptor: (Ljava/nio/ByteOrder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 2 1 byteOrder Ljava/nio/ByteOrder;
MethodParameters:
Name Flags
byteOrder
public void skip(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
iload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.ensure:(I)V
1: aload 0
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
iload 1
iadd
i2l
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.seek:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 n I
MethodParameters:
Name Flags
n
public java.nio.ByteOrder getByteOrder();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.order:()Ljava/nio/ByteOrder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public void alignRead(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.pos:()I
iload 1
irem
ifne 1
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 4 1 alignment I
MethodParameters:
Name Flags
alignment
public int read4Byte();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getInt:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public byte readByte();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public char readUbyte();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
sipush 255
iand
i2c
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public short read2Byte();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getShort:()S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public short readValue();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.read2Byte:()S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public long read8Byte();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.getLong:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public long readQuad();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.read8Byte:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
public void writeTruncatedLong(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: iload 3
tableswitch { // 1 - 8
1: 7
2: 5
3: 9
4: 3
5: 9
6: 9
7: 9
8: 1
default: 9
}
1: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.write8Byte:(J)V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 0
lload 1
l2i
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.write4Byte:(I)V
4: goto 10
5: StackMap locals:
StackMap stack:
aload 0
lload 1
l2i
i2s
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.write2Byte:(S)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
lload 1
l2i
i2b
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.writeByte:(B)V
8: goto 10
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "can only truncate to powers-of-two <= 8"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 11 1 value J
0 11 3 truncateTo I
MethodParameters:
Name Flags
value
truncateTo
public long readTruncatedLong(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 1 - 8
1: 4
2: 3
3: 5
4: 2
5: 5
6: 5
7: 5
8: 1
default: 5
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.read8Byte:()J
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.read4Byte:()I
i2l
lreturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.read2Byte:()S
i2l
lreturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.objectfile.io.AssemblyBuffer.readUbyte:()C
i2l
lreturn
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "can only truncate to powers-of-two <= 8"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 6 1 truncateTo I
MethodParameters:
Name Flags
truncateTo
public java.lang.String readZeroTerminatedString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: bipush 64
newarray 5
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: aload 1
iconst_0
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
i2c
castore
3: aload 1
iconst_0
caload
ifne 5
4: ldc ""
areturn
5: StackMap locals: char[] int
StackMap stack:
iload 2
aload 1
arraylength
if_icmpne 7
6: aload 1
iconst_2
aload 1
arraylength
imul
invokestatic java.util.Arrays.copyOf:([CI)[C
astore 1
7: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
i2c
castore
8: aload 1
iload 2
iinc 2 1
caload
ifne 5
9: aload 1
iconst_0
iload 2
iconst_1
isub
invokestatic java.lang.String.valueOf:([CII)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
1 10 1 buffer [C
2 10 2 w I
public long readLEB128();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
i2l
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifne 3
2: lconst_0
lreturn
3: StackMap locals: long
StackMap stack:
lconst_0
lstore 3
start local 3 4: iconst_0
istore 5
start local 5 5: goto 9
6: StackMap locals: long int
StackMap stack:
lload 3
lload 1
ldc 127
land
iload 5
lshl
lor
lstore 3
7: iinc 5 7
8: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
i2l
lstore 1
9: StackMap locals:
StackMap stack:
lload 1
ldc 128
land
lconst_0
lcmp
ifne 6
10: lload 3
lload 1
iload 5
lshl
lor
lstore 3
11: lload 3
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
1 12 1 b J
4 12 3 r J
5 12 5 shift I
public long readSLEB128();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: StackMap locals: long int
StackMap stack:
aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
istore 4
start local 4 3: lload 1
iload 4
bipush 127
iand
iload 3
ishl
i2l
lor
lstore 1
4: iinc 3 7
5: iload 4
sipush 128
iand
ifne 2
6: iload 3
bipush 64
if_icmpge 8
iload 4
bipush 64
iand
bipush 64
if_icmpne 8
7: lload 1
iconst_1
iload 3
ishl
ineg
i2l
lor
lstore 1
8: StackMap locals: int
StackMap stack:
lload 1
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
1 9 1 r J
2 9 3 shift I
3 9 4 b B
public byte[] readBlob(int);
descriptor: (I)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 0
getfield com.oracle.objectfile.io.AssemblyBuffer.buf:Ljava/nio/ByteBuffer;
aload 2
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/io/AssemblyBuffer;
0 3 1 length I
1 3 2 blob [B
MethodParameters:
Name Flags
length
}
SourceFile: "AssemblyBuffer.java"