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: .line 67
            ldc Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog;
         1: .line 68
            ldc Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
            ldc "addedFailedSpeculationsHead"
         2: .line 67
            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: .line 68
            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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
        start local 1 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason speculation
         0: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.addedFailedSpeculationsHead:Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
            astore 2 /* oldHead */
        start local 2 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry oldHead
         1: .line 80
            new com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry
            dup
            aload 1 /* speculation */
            aload 2 /* oldHead */
            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 /* newHead */
        start local 3 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry newHead
         2: .line 81
            getstatic com.oracle.svm.core.deopt.SubstrateSpeculationLog.HEAD_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
            aload 0 /* this */
            aload 2 /* oldHead */
            aload 3 /* newHead */
            invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 0
        end local 3 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry newHead
        end local 2 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry oldHead
         3: .line 85
            return
        end local 1 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason speculation
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
         0: .line 89
            getstatic com.oracle.svm.core.deopt.SubstrateSpeculationLog.HEAD_UPDATER:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
            aload 0 /* this */
            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 /* cur */
        start local 1 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry cur
         1: .line 90
            goto 6
         2: .line 91
      StackMap locals: com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
            ifnonnull 4
         3: .line 92
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
         4: .line 94
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
            aload 1 /* cur */
            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: .line 95
            aload 1 /* cur */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry.next:Lcom/oracle/svm/core/deopt/SubstrateSpeculationLog$LogEntry;
            astore 1 /* cur */
         6: .line 90
      StackMap locals:
      StackMap stack:
            aload 1 /* cur */
            ifnonnull 2
         7: .line 97
            return
        end local 1 // com.oracle.svm.core.deopt.SubstrateSpeculationLog$LogEntry cur
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
        start local 1 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
         0: .line 101
            aload 0 /* this */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
            ifnull 1
            aload 0 /* this */
            getfield com.oracle.svm.core.deopt.SubstrateSpeculationLog.failedSpeculations:Ljava/util/Map;
            aload 1 /* reason */
            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 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
        start local 1 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
         0: .line 106
            aload 0 /* this */
            aload 1 /* reason */
            invokevirtual com.oracle.svm.core.deopt.SubstrateSpeculationLog.maySpeculate:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Z
            ifne 2
         1: .line 107
            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 /* reason */
            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: .line 109
      StackMap locals:
      StackMap stack:
            new com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation
            dup
            aload 1 /* reason */
            invokespecial com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)V
            areturn
        end local 1 // jdk.vm.ci.meta.SpeculationLog$SpeculationReason reason
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
         0: .line 114
            iconst_1
            ireturn
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
        start local 1 // jdk.vm.ci.meta.JavaConstant constant
         0: .line 119
            new com.oracle.svm.core.deopt.SubstrateSpeculationLog$SubstrateSpeculation
            dup
            aload 1 /* constant */
            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 // jdk.vm.ci.meta.JavaConstant constant
        end local 0 // com.oracle.svm.core.deopt.SubstrateSpeculationLog this
      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