public class jdk.vm.ci.hotspot.HotSpotSpeculationLog implements jdk.vm.ci.meta.SpeculationLog
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotSpeculationLog
super_class: java.lang.Object
{
private volatile java.lang.Object lastFailed;
descriptor: Ljava/lang/Object;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private java.util.Set<jdk.vm.ci.meta.SpeculationLog$SpeculationReason> failedSpeculations;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;>;
private java.util.Collection<jdk.vm.ci.meta.SpeculationLog$SpeculationReason> speculations;
descriptor: Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Collection<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;>;
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=1, locals=0, args_size=0
0: ldc Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
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 jdk.vm.ci.hotspot.HotSpotSpeculationLog.$assertionsDisabled:Z
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 Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
public synchronized void collectFailedSpeculations();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:Ljava/lang/Object;
ifnull 6
1: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
ifnonnull 3
2: aload 0
new java.util.HashSet
dup
iconst_2
invokespecial java.util.HashSet.<init>:(I)V
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:Ljava/lang/Object;
checkcast jdk.vm.ci.meta.SpeculationLog$SpeculationReason
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
aconst_null
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:Ljava/lang/Object;
5: aload 0
aconst_null
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
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 jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
ifnull 2
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
0 3 1 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
MethodParameters:
Name Flags
reason
public jdk.vm.ci.meta.JavaConstant speculate(jdk.vm.ci.meta.SpeculationLog$SpeculationReason);
descriptor: (Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.vm.ci.hotspot.HotSpotSpeculationLog.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotSpeculationLog.maySpeculate:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
2: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
ifnonnull 4
3: aload 0
new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
4: StackMap locals: jdk.vm.ci.hotspot.HotSpotSpeculationLog
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.vm.ci.hotspot.HotSpotObjectConstantImpl.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
0 10 1 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
Exception table:
from to target type
2 6 7 any
7 8 7 any
MethodParameters:
Name Flags
reason
public synchronized boolean hasSpeculations();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
ifnull 1
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
}
SourceFile: "HotSpotSpeculationLog.java"
InnerClasses:
public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog