public class com.oracle.svm.core.deopt.SubstrateSpeculationLog implements jdk.vm.ci.meta.SpeculationLog
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.core.deopt.SubstrateSpeculationLog
super_class: java.lang.Object
{
private java.util.Map<jdk.vm.ci.meta.SpeculationLog$SpeculationReason, java.lang.Boolean> failedSpeculations;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Ljava/lang/Boolean;>;
private volatile com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry addedFailedSpeculationsHead;
descriptor: Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<com.oracle.svm.core.deopt.SubstrateSpeculationLog, com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry> HEAD_UPDATER;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
1: ldc Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
ldc "addedFailedSpeculationsHead"
2: invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
putstatic com.oracle.svm.core.deopt.SubstrateSpeculationLog.HEAD_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
public void addFailedSpeculation(jdk.vm.ci.meta.SpeculationLog$SpeculationReason);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.addedFailedSpeculationsHead:Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
astore 2
start local 2 1: new com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry
dup
aload 1
aload 2
invokespecial com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;)V
astore 3
start local 3 2: getstatic com.oracle.svm.core.deopt.SubstrateSpeculationLog.HEAD_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
end local 3 end local 2 3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
0 4 1 speculation Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
1 3 2 oldHead Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
2 3 3 newHead Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
MethodParameters:
Name Flags
speculation
public synchronized void collectFailedSpeculations();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic com.oracle.svm.core.deopt.SubstrateSpeculationLog.HEAD_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 0
aconst_null
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.getAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry
astore 1
start local 1 1: goto 6
2: StackMap locals: com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry
StackMap stack:
aload 0
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
ifnonnull 4
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
aload 1
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry.reason:Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 1
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry.next:Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
1 8 1 cur Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
public synchronized boolean maySpeculate(jdk.vm.ci.meta.SpeculationLog$SpeculationReason);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
ifnull 1
aload 0
getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
0 2 1 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
MethodParameters:
Name Flags
reason
public jdk.vm.ci.meta.SpeculationLog$Speculation speculate(jdk.vm.ci.meta.SpeculationLog$SpeculationReason);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Ljdk/vm/ci/meta/SpeculationLog$Speculation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.oracle.svm.core.deopt.SubstrateSpeculationLog.maySpeculate:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot make speculation with reason "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " as it is known to fail"
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
2: StackMap locals:
StackMap stack:
new com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation
dup
aload 1
invokespecial com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
0 3 1 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
MethodParameters:
Name Flags
reason
public boolean hasSpeculations();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
public jdk.vm.ci.meta.SpeculationLog$Speculation lookupSpeculation(jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/SpeculationLog$Speculation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation
dup
aload 1
invokestatic com.oracle.svm.core.meta.SubstrateObjectConstant.asObject:(Ljdk/vm/ci/meta/Constant;)Ljava/lang/Object;
ldc Ljava/lang/Object;
invokestatic com.oracle.svm.core.snippets.KnownIntrinsics.convertUnknownValue:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.SpeculationLog$SpeculationReason
invokespecial com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
0 1 1 constant Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
constant
}
SourceFile: "SubstrateSpeculationLog.java"
NestMembers:
com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation
InnerClasses:
private final LogEntry = com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry of com.oracle.svm.core.deopt.SubstrateSpeculationLog
public final SubstrateSpeculation = com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation of com.oracle.svm.core.deopt.SubstrateSpeculationLog
public Speculation = jdk.vm.ci.meta.SpeculationLog$Speculation of jdk.vm.ci.meta.SpeculationLog
public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog