public class org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider extends org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider
super_class: org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider
{
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String SystemClassName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Ljava/lang/System;"
public void <init>(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;Ljdk/vm/ci/meta/MetaAccessProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantFieldProvider;
0 3 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 3 2 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
MethodParameters:
Name Flags
config
metaAccess
protected boolean isStableField(jdk.vm.ci.meta.ResolvedJavaField, org.graalvm.compiler.core.common.spi.ConstantFieldProvider$ConstantFieldTool<?>);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.foldStableValues:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.isStatic:()Z
ifeq 4
aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider.isStaticFieldConstant:(Ljdk/vm/ci/meta/ResolvedJavaField;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaField
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaField.isStable:()Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider.isStableField:(Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantFieldProvider;
0 7 1 field Ljdk/vm/ci/meta/ResolvedJavaField;
0 7 2 tool Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool<*>;
Signature: (Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool<*>;)Z
MethodParameters:
Name Flags
field
tool
protected boolean isFinalField(jdk.vm.ci.meta.ResolvedJavaField, org.graalvm.compiler.core.common.spi.ConstantFieldProvider$ConstantFieldTool<?>);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.isStatic:()Z
ifeq 2
aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotConstantFieldProvider.isStaticFieldConstant:(Ljdk/vm/ci/meta/ResolvedJavaField;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider.isFinalField:(Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantFieldProvider;
0 3 1 field Ljdk/vm/ci/meta/ResolvedJavaField;
0 3 2 tool Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool<*>;
Signature: (Ljdk/vm/ci/meta/ResolvedJavaField;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider$ConstantFieldTool<*>;)Z
MethodParameters:
Name Flags
field
tool
protected boolean isStaticFieldConstant(jdk.vm.ci.meta.ResolvedJavaField);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
start local 2 1: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isInitialized:()Z
ifeq 2
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "Ljava/lang/System;"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
iconst_1
ireturn
StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantFieldProvider;
0 3 1 field Ljdk/vm/ci/meta/ResolvedJavaField;
1 3 2 declaringClass Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
field
}
SourceFile: "HotSpotConstantFieldProvider.java"
InnerClasses:
public abstract ConstantFieldTool = org.graalvm.compiler.core.common.spi.ConstantFieldProvider$ConstantFieldTool of org.graalvm.compiler.core.common.spi.ConstantFieldProvider