public class org.graalvm.compiler.hotspot.CompressEncoding
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.CompressEncoding
super_class: java.lang.Object
{
public final long base;
descriptor: J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int shift;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int alignment;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
void <init>(long, int, int);
descriptor: (JII)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
2: aload 0
iload 3
putfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
3: aload 0
iload 4
putfield org.graalvm.compiler.hotspot.CompressEncoding.alignment:I
4: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
0 5 1 base J
0 5 3 shift I
0 5 4 alignment I
MethodParameters:
Name Flags
base
shift
alignment
public int compress(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
lsub
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
lushr
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
0 3 1 ptr J
MethodParameters:
Name Flags
ptr
public long uncompress(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
iload 1
i2l
ldc 4294967295
land
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
lshl
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
0 3 1 ptr I
MethodParameters:
Name Flags
ptr
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "base: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " shift: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " alignment: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.alignment:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.alignment:I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
bipush 32
lushr
lxor
l2i
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
1 5 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.hotspot.CompressEncoding
ifeq 4
1: aload 1
checkcast org.graalvm.compiler.hotspot.CompressEncoding
astore 2
start local 2 2: aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.alignment:I
aload 2
getfield org.graalvm.compiler.hotspot.CompressEncoding.alignment:I
if_icmpne 3
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
aload 2
getfield org.graalvm.compiler.hotspot.CompressEncoding.base:J
lcmp
ifne 3
aload 0
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
aload 2
getfield org.graalvm.compiler.hotspot.CompressEncoding.shift:I
if_icmpne 3
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.hotspot.CompressEncoding
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/CompressEncoding;
0 5 1 obj Ljava/lang/Object;
2 4 2 other Lorg/graalvm/compiler/hotspot/CompressEncoding;
MethodParameters:
Name Flags
obj
}
SourceFile: "CompressEncoding.java"