public final class org.graalvm.compiler.serviceprovider.SpeculationReasonGroup
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.serviceprovider.SpeculationReasonGroup
super_class: java.lang.Object
{
private final int id;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?>[] signature;
descriptor: [Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static final java.util.concurrent.atomic.AtomicInteger nextId;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.lang.Class<?>> SUPPORTED_EXACT_TYPES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
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=6, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
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.serviceprovider.SpeculationReasonGroup.$assertionsDisabled:Z
3: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_1
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.nextId:Ljava/util/concurrent/atomic/AtomicInteger;
4: new java.util.HashSet
dup
bipush 6
anewarray java.lang.Class
dup
iconst_0
5: ldc Ljava/lang/String;
aastore
dup
iconst_1
6: getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_2
7: getstatic java.lang.Long.TYPE:Ljava/lang/Class;
aastore
dup
iconst_3
8: getstatic java.lang.Float.TYPE:Ljava/lang/Class;
aastore
dup
iconst_4
9: getstatic java.lang.Double.TYPE:Ljava/lang/Class;
aastore
dup
iconst_5
10: ldc Ljdk/vm/ci/code/BytecodePosition;
aastore
11: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.SUPPORTED_EXACT_TYPES:Ljava/util/Set;
12: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Class;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.nextId:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
putfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.id:I
2: aload 0
aload 1
putfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
3: aload 0
aload 2
putfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.signature:[Ljava/lang/Class;
4: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: org.graalvm.compiler.serviceprovider.SpeculationReasonGroup java.lang.String java.lang.Class[] top int int java.lang.Class[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
invokestatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.isOfSupportedType:(Ljava/lang/Class;)Z
ifne 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported speculation context type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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
end local 3 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 5
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
0 11 1 name Ljava/lang/String;
0 11 2 signature [Ljava/lang/Class;
6 8 3 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;[Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
name
signature
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{id:%d, sig=%s}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.id:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.signature:[Ljava/lang/Class;
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 Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
public jdk.vm.ci.meta.SpeculationLog$SpeculationReason createSpeculationReason(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.checkSignature:([Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.id:I
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
aload 1
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.createSpeculationReason:(ILjava/lang/String;[Ljava/lang/Object;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
0 2 1 context [Ljava/lang/Object;
MethodParameters:
Name Flags
context
private static boolean isOfSupportedType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.SUPPORTED_EXACT_TYPES:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
ldc Ljava/lang/Enum;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
ldc Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup$SpeculationContextObject;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 7
ldc Ljdk/vm/ci/meta/ResolvedJavaType;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
static java.lang.Class<?> toBox(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
if_acmpne 2
1: ldc Ljava/lang/Integer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
if_acmpne 4
3: ldc Ljava/lang/Long;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
if_acmpne 6
5: ldc Ljava/lang/Float;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
if_acmpne 8
7: ldc Ljava/lang/Double;
areturn
8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
c
private boolean checkSignature(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.signature:[Ljava/lang/Class;
arraylength
aload 1
arraylength
if_icmpeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": Incorrect number of context arguments. Expected "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.signature:[Ljava/lang/Class;
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", got "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 2: goto 14
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.signature:[Ljava/lang/Class;
iload 2
aaload
astore 4
start local 4 5: aload 3
ifnull 11
6: aload 4
ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
if_acmpeq 7
aload 4
ldc Ljdk/vm/ci/meta/ResolvedJavaType;
if_acmpeq 7
ldc Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup$SpeculationContextObject;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
7: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 13
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 5
start local 5 10: getstatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.$assertionsDisabled:Z
ifne 13
aload 4
invokestatic org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.toBox:(Ljava/lang/Class;)Ljava/lang/Class;
aload 5
if_acmpeq 13
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": Context argument "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is not a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " but a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
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.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 12
ldc Ljava/lang/Enum;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 13
12: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.graalvm.compiler.serviceprovider.SpeculationReasonGroup.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": Cannot pass null for argument "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 end local 3 13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 15: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/serviceprovider/SpeculationReasonGroup;
0 16 1 context [Ljava/lang/Object;
2 15 2 i I
4 13 3 o Ljava/lang/Object;
5 13 4 c Ljava/lang/Class<*>;
10 11 5 oClass Ljava/lang/Class<*>;
MethodParameters:
Name Flags
context
}
SourceFile: "SpeculationReasonGroup.java"
NestMembers:
org.graalvm.compiler.serviceprovider.SpeculationReasonGroup$SpeculationContextObject org.graalvm.compiler.serviceprovider.SpeculationReasonGroup$SpeculationContextObject$Visitor
InnerClasses:
public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog
public abstract SpeculationContextObject = org.graalvm.compiler.serviceprovider.SpeculationReasonGroup$SpeculationContextObject of org.graalvm.compiler.serviceprovider.SpeculationReasonGroup