final class com.oracle.truffle.api.profiles.ValueProfile$Identity extends com.oracle.truffle.api.profiles.ValueProfile
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.api.profiles.ValueProfile$Identity
super_class: com.oracle.truffle.api.profiles.ValueProfile
{
private static final java.lang.Object UNINITIALIZED;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object GENERIC;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.lang.Object cachedValue;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.UNINITIALIZED:Ljava/lang/Object;
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.GENERIC:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
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.ValueProfile.<init>:()V
1: aload 0
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.UNINITIALIZED:Ljava/lang/Object;
putfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/profiles/ValueProfile$Identity;
public <T> T profile();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
astore 2
start local 2 1: aload 2
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.GENERIC:Ljava/lang/Object;
if_acmpeq 9
2: aload 2
aload 1
if_acmpne 4
3: aload 2
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
5: aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.UNINITIALIZED:Ljava/lang/Object;
if_acmpne 8
6: aload 0
aload 1
putfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.GENERIC:Ljava/lang/Object;
putfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/api/profiles/ValueProfile$Identity;
0 10 1 newValue TT;
1 10 2 cached Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
newValue
public boolean isGeneric();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.api.profiles.ValueProfile$Identity.getCachedValue:()Ljava/lang/Object;
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.GENERIC:Ljava/lang/Object;
if_acmpne 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/ValueProfile$Identity;
public boolean isUninitialized();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.api.profiles.ValueProfile$Identity.getCachedValue:()Ljava/lang/Object;
getstatic com.oracle.truffle.api.profiles.ValueProfile$Identity.UNINITIALIZED:Ljava/lang/Object;
if_acmpne 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/ValueProfile$Identity;
public java.lang.Object getCachedValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/profiles/ValueProfile$Identity;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=1, args_size=1
start local 0 0: aload 0
ldc Lcom/oracle/truffle/api/profiles/ValueProfile;
aload 0
invokevirtual com.oracle.truffle.api.profiles.ValueProfile$Identity.isUninitialized:()Z
aload 0
invokevirtual com.oracle.truffle.api.profiles.ValueProfile$Identity.isGeneric:()Z
1: ldc "value == %s@%x"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
ifnull 2
aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
goto 3
StackMap locals: com.oracle.truffle.api.profiles.ValueProfile$Identity
StackMap stack: com.oracle.truffle.api.profiles.ValueProfile$Identity java.lang.Class int int java.lang.String java.lang.Object[] java.lang.Object[] int
2: ldc "null"
StackMap locals: com.oracle.truffle.api.profiles.ValueProfile$Identity
StackMap stack: com.oracle.truffle.api.profiles.ValueProfile$Identity java.lang.Class int int java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
3: aastore
dup
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.truffle.api.profiles.ValueProfile$Identity.cachedValue:Ljava/lang/Object;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)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;
4: invokevirtual com.oracle.truffle.api.profiles.ValueProfile$Identity.toString:(Ljava/lang/Class;ZZLjava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/api/profiles/ValueProfile$Identity;
static com.oracle.truffle.api.profiles.ValueProfile create();
descriptor: ()Lcom/oracle/truffle/api/profiles/ValueProfile;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.api.profiles.ValueProfile$Identity
dup
invokespecial com.oracle.truffle.api.profiles.ValueProfile$Identity.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ValueProfile.java"
NestHost: com.oracle.truffle.api.profiles.ValueProfile
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
final Identity = com.oracle.truffle.api.profiles.ValueProfile$Identity of com.oracle.truffle.api.profiles.ValueProfile