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 long lastFailed;
descriptor: J
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.HashMap<jdk.vm.ci.meta.SpeculationLog$SpeculationReason, jdk.vm.ci.meta.JavaConstant> speculations;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Ljdk/vm/ci/meta/JavaConstant;>;
private long currentSpeculationID;
descriptor: J
flags: (0x0002) ACC_PRIVATE
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=2, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:J
lconst_0
lcmp
ifeq 9
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.speculations:Ljava/util/HashMap;
ifnull 9
4: aload 0
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:J
invokevirtual jdk.vm.ci.hotspot.HotSpotSpeculationLog.lookupSpeculation:(J)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
astore 1
start local 1 5: aload 1
ifnull 7
6: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.failedSpeculations:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals: jdk.vm.ci.meta.SpeculationLog$SpeculationReason
StackMap stack:
aload 0
lconst_0
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.lastFailed:J
8: aload 0
aconst_null
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
end local 1 9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
5 9 1 lastFailedSpeculation Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
private jdk.vm.ci.meta.SpeculationLog$SpeculationReason lookupSpeculation(long);
descriptor: (J)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
invokevirtual java.util.HashMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: jdk.vm.ci.hotspot.HotSpotSpeculationLog long top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 2: lload 1
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.JavaConstant
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lcmp
ifne 4
3: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.SpeculationLog$SpeculationReason
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
0 6 1 value J
2 4 3 entry Ljava/util/Map$Entry<Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Ljdk/vm/ci/meta/JavaConstant;>;
MethodParameters:
Name Flags
value
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 synchronized 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: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.JavaConstant
astore 2
start local 2 3: aload 2
ifnonnull 6
4: aload 0
dup
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.currentSpeculationID:J
lconst_1
ladd
dup2_x1
putfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.currentSpeculationID:J
invokestatic jdk.vm.ci.meta.JavaConstant.forLong:(J)Ljdk/vm/ci/meta/PrimitiveConstant;
astore 2
5: aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation
dup
aload 1
aload 2
invokespecial jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Ljdk/vm/ci/meta/JavaConstant;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
0 7 1 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
3 7 2 id Ljdk/vm/ci/meta/JavaConstant;
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/HashMap;
ifnull 1
aload 0
getfield jdk.vm.ci.hotspot.HotSpotSpeculationLog.speculations:Ljava/util/HashMap;
invokevirtual java.util.HashMap.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;
public synchronized 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: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.vm.ci.meta.JavaConstant.isDefaultForKind:()Z
ifeq 2
1: getstatic jdk.vm.ci.hotspot.HotSpotSpeculationLog.NO_SPECULATION:Ljdk/vm/ci/meta/SpeculationLog$Speculation;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
invokevirtual jdk.vm.ci.hotspot.HotSpotSpeculationLog.lookupSpeculation:(J)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
astore 2
start local 2 3: getstatic jdk.vm.ci.hotspot.HotSpotSpeculationLog.$assertionsDisabled:Z
ifne 4
aload 2
ifnonnull 4
new java.lang.AssertionError
dup
ldc "Speculation should have been registered"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: jdk.vm.ci.meta.SpeculationLog$SpeculationReason
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation
dup
aload 2
aload 1
invokespecial jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation.<init>:(Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;Ljdk/vm/ci/meta/JavaConstant;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotSpeculationLog;
0 5 1 constant Ljdk/vm/ci/meta/JavaConstant;
3 5 2 reason Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
MethodParameters:
Name Flags
constant
}
SourceFile: "HotSpotSpeculationLog.java"
NestMembers:
jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public final HotSpotSpeculation = jdk.vm.ci.hotspot.HotSpotSpeculationLog$HotSpotSpeculation of jdk.vm.ci.hotspot.HotSpotSpeculationLog
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