public class com.oracle.svm.hosted.meta.MaterializedConstantFields
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.meta.MaterializedConstantFields
super_class: java.lang.Object
{
private final java.util.Set<com.oracle.graal.pointsto.meta.AnalysisField> fields;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisField;>;
private boolean sealed;
descriptor: Z
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 Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
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 com.oracle.svm.hosted.meta.MaterializedConstantFields.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield com.oracle.svm.hosted.meta.MaterializedConstantFields.fields:Ljava/util/Set;
2: aload 0
iconst_0
putfield com.oracle.svm.hosted.meta.MaterializedConstantFields.sealed:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
static void initialize();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
new com.oracle.svm.hosted.meta.MaterializedConstantFields
dup
invokespecial com.oracle.svm.hosted.meta.MaterializedConstantFields.<init>:()V
invokestatic org.graalvm.nativeimage.ImageSingletons.add:(Ljava/lang/Class;Ljava/lang/Object;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static com.oracle.svm.hosted.meta.MaterializedConstantFields singleton();
descriptor: ()Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.svm.hosted.meta.MaterializedConstantFields
areturn
LocalVariableTable:
Start End Slot Name Signature
public void register(com.oracle.graal.pointsto.meta.AnalysisField);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.svm.hosted.meta.MaterializedConstantFields.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisField.isStatic:()Z
ifeq 1
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisField.isFinal:()Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
ldc "Only required for static final fields"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.meta.MaterializedConstantFields.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisField.isAccessed:()Z
ifne 3
new java.lang.AssertionError
dup
ldc "Field must be accessed as read"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.meta.MaterializedConstantFields.$assertionsDisabled:Z
ifne 4
aload 0
getfield com.oracle.svm.hosted.meta.MaterializedConstantFields.sealed:Z
ifeq 4
new java.lang.AssertionError
dup
ldc "Already sealed"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.svm.hosted.meta.MaterializedConstantFields.fields:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
0 6 1 field Lcom/oracle/graal/pointsto/meta/AnalysisField;
MethodParameters:
Name Flags
field
public boolean contains(com.oracle.graal.pointsto.meta.AnalysisField);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisField;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisField.isStatic:()Z
ifeq 2
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisField.isFinal:()Z
ifeq 2
1: aload 0
getfield com.oracle.svm.hosted.meta.MaterializedConstantFields.fields:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
0 3 1 field Lcom/oracle/graal/pointsto/meta/AnalysisField;
MethodParameters:
Name Flags
field
void seal();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.oracle.svm.hosted.meta.MaterializedConstantFields.sealed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/meta/MaterializedConstantFields;
}
SourceFile: "MaterializedConstantFields.java"