final class com.oracle.truffle.api.profiles.IntValueProfile$Enabled extends com.oracle.truffle.api.profiles.IntValueProfile
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.api.profiles.IntValueProfile$Enabled
super_class: com.oracle.truffle.api.profiles.IntValueProfile
{
private static final byte UNINITIALIZED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte SPECIALIZED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final byte GENERIC;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int cachedValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
private byte state;
descriptor: B
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.profiles.IntValueProfile.<init>:()V
1: aload 0
iconst_0
putfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
public int profile(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
istore 2
start local 2 1: iload 2
iconst_2
if_icmpeq 12
2: iload 2
iconst_1
if_icmpne 6
3: aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.cachedValue:I
istore 3
start local 3 4: iload 3
iload 1
if_icmpne 6
5: iload 3
ireturn
end local 3 6: StackMap locals: int
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
7: iload 2
ifne 11
8: aload 0
iload 1
putfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.cachedValue:I
9: aload 0
iconst_1
putfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
12: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
0 13 1 value I
1 13 2 localState B
4 6 3 v I
MethodParameters:
Name Flags
value
boolean isGeneric();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
iconst_2
if_icmpne 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 Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
boolean isUninitialized();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.state:B
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 Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
int getCachedValue();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.cachedValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
ldc Lcom/oracle/truffle/api/profiles/IntValueProfile;
aload 0
invokevirtual com.oracle.truffle.api.profiles.IntValueProfile$Enabled.isUninitialized:()Z
aload 0
invokevirtual com.oracle.truffle.api.profiles.IntValueProfile$Enabled.isGeneric:()Z
1: ldc "value == (int)%s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.api.profiles.IntValueProfile$Enabled.cachedValue:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2: invokevirtual com.oracle.truffle.api.profiles.IntValueProfile$Enabled.toString:(Ljava/lang/Class;ZZLjava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/profiles/IntValueProfile$Enabled;
static com.oracle.truffle.api.profiles.IntValueProfile create();
descriptor: ()Lcom/oracle/truffle/api/profiles/IntValueProfile;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.api.profiles.IntValueProfile$Enabled
dup
invokespecial com.oracle.truffle.api.profiles.IntValueProfile$Enabled.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "IntValueProfile.java"
NestHost: com.oracle.truffle.api.profiles.IntValueProfile
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
final Enabled = com.oracle.truffle.api.profiles.IntValueProfile$Enabled of com.oracle.truffle.api.profiles.IntValueProfile