public class jdk.vm.ci.meta.EncodedSpeculationReason implements jdk.vm.ci.meta.SpeculationLog$SpeculationReason
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.vm.ci.meta.EncodedSpeculationReason
super_class: java.lang.Object
{
final int groupId;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.lang.String groupName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.Object[] context;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
private jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding encoding;
descriptor: Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
flags: (0x0002) ACC_PRIVATE
public void <init>(int, java.lang.String, java.lang.Object[]);
descriptor: (ILjava/lang/String;[Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
2: aload 0
aload 2
putfield jdk.vm.ci.meta.EncodedSpeculationReason.groupName:Ljava/lang/String;
3: aload 0
aload 3
putfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/meta/EncodedSpeculationReason;
0 5 1 groupId I
0 5 2 groupName Ljava/lang/String;
0 5 3 context [Ljava/lang/Object;
MethodParameters:
Name Flags
groupId
groupName
context
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.vm.ci.meta.EncodedSpeculationReason
ifeq 6
1: aload 1
instanceof jdk.vm.ci.meta.EncodedSpeculationReason
ifeq 5
2: aload 1
checkcast jdk.vm.ci.meta.EncodedSpeculationReason
astore 2
start local 2 3: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
aload 2
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
if_icmpne 4
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
aload 2
getfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: jdk.vm.ci.meta.EncodedSpeculationReason
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/vm/ci/meta/EncodedSpeculationReason;
0 7 1 obj Ljava/lang/Object;
3 5 2 that Ljdk/vm/ci/meta/EncodedSpeculationReason;
MethodParameters:
Name Flags
obj
public jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding encode(java.util.function.Supplier<jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding>);
descriptor: (Ljava/util/function/Supplier;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
ifnonnull 11
1: aload 0
aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding
putfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
2: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addInt:(I)V
3: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: jdk.vm.ci.meta.EncodedSpeculationReason java.util.function.Supplier top int int java.lang.Object[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
ifnonnull 8
6: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
iconst_0
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addInt:(I)V
7: goto 9
8: StackMap locals: jdk.vm.ci.meta.EncodedSpeculationReason java.util.function.Supplier java.lang.Object int int java.lang.Object[]
StackMap stack:
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
aload 2
invokestatic jdk.vm.ci.meta.EncodedSpeculationReason.addNonNullObject:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;Ljava/lang/Object;)V
end local 2 9: StackMap locals: jdk.vm.ci.meta.EncodedSpeculationReason java.util.function.Supplier top int int java.lang.Object[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 4
11: StackMap locals: jdk.vm.ci.meta.EncodedSpeculationReason java.util.function.Supplier
StackMap stack:
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.encoding:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/vm/ci/meta/EncodedSpeculationReason;
0 12 1 encodingSupplier Ljava/util/function/Supplier<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;>;
5 9 2 o Ljava/lang/Object;
Signature: (Ljava/util/function/Supplier<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;>;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
MethodParameters:
Name Flags
encodingSupplier
static void addNonNullObject(jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding, java.lang.Object);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc Ljava/lang/String;
if_acmpne 4
2: aload 0
aload 1
checkcast java.lang.String
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addString:(Ljava/lang/String;)V
3: goto 38
StackMap locals: java.lang.Class
StackMap stack:
4: aload 2
ldc Ljava/lang/Byte;
if_acmpne 7
5: aload 0
aload 1
checkcast java.lang.Byte
invokevirtual java.lang.Byte.byteValue:()B
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addByte:(I)V
6: goto 38
StackMap locals:
StackMap stack:
7: aload 2
ldc Ljava/lang/Short;
if_acmpne 10
8: aload 0
aload 1
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addShort:(I)V
9: goto 38
StackMap locals:
StackMap stack:
10: aload 2
ldc Ljava/lang/Character;
if_acmpne 13
11: aload 0
aload 1
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addShort:(I)V
12: goto 38
StackMap locals:
StackMap stack:
13: aload 2
ldc Ljava/lang/Integer;
if_acmpne 16
14: aload 0
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addInt:(I)V
15: goto 38
StackMap locals:
StackMap stack:
16: aload 2
ldc Ljava/lang/Long;
if_acmpne 19
17: aload 0
aload 1
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addLong:(J)V
18: goto 38
StackMap locals:
StackMap stack:
19: aload 2
ldc Ljava/lang/Float;
if_acmpne 22
20: aload 0
aload 1
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokestatic java.lang.Float.floatToRawIntBits:(F)I
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addInt:(I)V
21: goto 38
StackMap locals:
StackMap stack:
22: aload 2
ldc Ljava/lang/Double;
if_acmpne 25
23: aload 0
aload 1
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokestatic java.lang.Double.doubleToRawLongBits:(D)J
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addLong:(J)V
24: goto 38
StackMap locals:
StackMap stack:
25: aload 1
instanceof java.lang.Enum
ifeq 28
26: aload 0
aload 1
checkcast java.lang.Enum
invokevirtual java.lang.Enum.ordinal:()I
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addInt:(I)V
27: goto 38
StackMap locals:
StackMap stack:
28: aload 1
instanceof jdk.vm.ci.meta.ResolvedJavaMethod
ifeq 31
29: aload 0
aload 1
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
30: goto 38
StackMap locals:
StackMap stack:
31: aload 1
instanceof jdk.vm.ci.meta.ResolvedJavaType
ifeq 34
32: aload 0
aload 1
checkcast jdk.vm.ci.meta.ResolvedJavaType
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addType:(Ljdk/vm/ci/meta/ResolvedJavaType;)V
33: goto 38
StackMap locals:
StackMap stack:
34: aload 1
instanceof jdk.vm.ci.meta.ResolvedJavaField
ifeq 37
35: aload 0
aload 1
checkcast jdk.vm.ci.meta.ResolvedJavaField
invokeinterface jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding.addField:(Ljdk/vm/ci/meta/ResolvedJavaField;)V
36: goto 38
37: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported type for encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 encoding Ljdk/vm/ci/meta/SpeculationLog$SpeculationReasonEncoding;
0 39 1 o Ljava/lang/Object;
1 39 2 c Ljava/lang/Class<+Ljava/lang/Object;>;
MethodParameters:
Name Flags
encoding
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/meta/EncodedSpeculationReason;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s@%d%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupName:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.groupId:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield jdk.vm.ci.meta.EncodedSpeculationReason.context:[Ljava/lang/Object;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/meta/EncodedSpeculationReason;
}
SourceFile: "EncodedSpeculationReason.java"
InnerClasses:
public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog
public abstract SpeculationReasonEncoding = jdk.vm.ci.meta.SpeculationLog$SpeculationReasonEncoding of jdk.vm.ci.meta.SpeculationLog