public class sun.jvm.hotspot.runtime.Bytes
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.runtime.Bytes
super_class: java.lang.Object
{
private boolean swap;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(sun.jvm.hotspot.debugger.MachineDescription);
descriptor: (Lsun/jvm/hotspot/debugger/MachineDescription;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
invokeinterface sun.jvm.hotspot.debugger.MachineDescription.isBigEndian:()Z
ifeq 2
iconst_0
goto 3
StackMap locals: sun.jvm.hotspot.runtime.Bytes sun.jvm.hotspot.debugger.MachineDescription
StackMap stack: sun.jvm.hotspot.runtime.Bytes
2: iconst_1
StackMap locals: sun.jvm.hotspot.runtime.Bytes sun.jvm.hotspot.debugger.MachineDescription
StackMap stack: sun.jvm.hotspot.runtime.Bytes int
3: putfield sun.jvm.hotspot.runtime.Bytes.swap:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/runtime/Bytes;
0 5 1 machDesc Lsun/jvm/hotspot/debugger/MachineDescription;
MethodParameters:
Name Flags
machDesc
public short swapShort(short);
descriptor: (S)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.runtime.Bytes.swap:Z
ifne 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
iload 1
bipush 8
ishr
sipush 255
iand
iload 1
bipush 8
ishl
ior
i2s
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/runtime/Bytes;
0 3 1 x S
MethodParameters:
Name Flags
x
public int swapInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.runtime.Bytes.swap:Z
ifne 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
i2s
invokevirtual sun.jvm.hotspot.runtime.Bytes.swapShort:(S)S
bipush 16
ishl
aload 0
iload 1
bipush 16
ishr
i2s
invokevirtual sun.jvm.hotspot.runtime.Bytes.swapShort:(S)S
ldc 65535
iand
ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/runtime/Bytes;
0 3 1 x I
MethodParameters:
Name Flags
x
public long swapLong(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.runtime.Bytes.swap:Z
ifne 2
1: lload 1
lreturn
2: StackMap locals:
StackMap stack:
aload 0
lload 1
l2i
invokevirtual sun.jvm.hotspot.runtime.Bytes.swapInt:(I)I
i2l
bipush 32
lshl
aload 0
lload 1
bipush 32
lshr
l2i
invokevirtual sun.jvm.hotspot.runtime.Bytes.swapInt:(I)I
iconst_m1
iand
i2l
lor
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/runtime/Bytes;
0 3 1 x J
MethodParameters:
Name Flags
x
}
SourceFile: "Bytes.java"