public class org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase extends org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.nodes.spi.CoreProviders>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase
super_class: org.graalvm.compiler.phases.BasePhase
{
private final org.graalvm.compiler.core.common.CompressEncoding oopEncoding;
descriptor: Lorg/graalvm/compiler/core/common/CompressEncoding;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.graalvm.compiler.phases.BasePhase.<init>:()V
1: aload 0
aload 1
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.useCompressedOops:Z
ifeq 2
aload 1
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.getOopEncoding:()Lorg/graalvm/compiler/core/common/CompressEncoding;
goto 3
StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase
2: aconst_null
StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.core.common.CompressEncoding
3: putfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/phases/LoadJavaMirrorWithKlassPhase;
0 5 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
config
private org.graalvm.compiler.nodes.ValueNode getClassConstantReplacement(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders, jdk.vm.ci.meta.JavaConstant);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;Ljdk/vm/ci/meta/JavaConstant;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
instanceof jdk.vm.ci.hotspot.HotSpotObjectConstant
ifeq 33
1: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
astore 4
start local 4 2: aload 4
aload 3
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaType:(Ljdk/vm/ci/meta/Constant;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 5
start local 5 3: aload 5
ifnull 33
4: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 6
start local 6 5: aload 6
ldc Ljava/lang/Class;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokestatic org.graalvm.compiler.core.common.type.TypeReference.createExactTrusted:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/core/common/type/TypeReference;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:(Lorg/graalvm/compiler/core/common/type/TypeReference;)Lorg/graalvm/compiler/core/common/type/ObjectStamp;
astore 7
start local 7 6: aload 5
instanceof jdk.vm.ci.hotspot.HotSpotResolvedObjectType
ifeq 12
7: invokestatic org.graalvm.compiler.hotspot.nodes.type.KlassPointerStamp.klassNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/KlassPointerStamp;
aload 5
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
aload 6
aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 8
start local 8 8: aload 1
new org.graalvm.compiler.hotspot.replacements.HubGetClassNode
dup
aload 6
aload 8
invokespecial org.graalvm.compiler.hotspot.replacements.HubGetClassNode.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 9
start local 9 9: aload 3
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.isCompressed:()Z
ifeq 11
10: aload 9
aload 0
getfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
invokestatic org.graalvm.compiler.hotspot.nodes.HotSpotCompressionNode.compress:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/CompressEncoding;)Lorg/graalvm/compiler/hotspot/nodes/HotSpotCompressionNode;
areturn
11: StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.JavaConstant jdk.vm.ci.meta.ConstantReflectionProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ConstantNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 9
areturn
end local 9 end local 8 12: StackMap locals:
StackMap stack:
aload 5
checkcast jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType
astore 8
start local 8 13: aload 6
aload 8
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.toBoxedJavaClass:()Ljava/lang/Class;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 9
start local 9 14: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 9
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaClass:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaConstant;
aload 6
aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 10
start local 10 15: aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getStaticFields:()[Ljdk/vm/ci/meta/ResolvedJavaField;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaField[]
astore 11
start local 11 16: aconst_null
astore 12
start local 12 17: aload 11
dup
astore 16
arraylength
istore 15
iconst_0
istore 14
goto 23
StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.JavaConstant jdk.vm.ci.meta.ConstantReflectionProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.core.common.type.Stamp jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.ConstantNode jdk.vm.ci.hotspot.HotSpotResolvedJavaField[] jdk.vm.ci.hotspot.HotSpotResolvedJavaField top int int jdk.vm.ci.hotspot.HotSpotResolvedJavaField[]
StackMap stack:
18: aload 16
iload 14
aaload
astore 13
start local 13 19: aload 13
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaField.getName:()Ljava/lang/String;
ldc "TYPE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 13
astore 12
21: goto 24
end local 13 22: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
23: iload 14
iload 15
if_icmplt 18
24: StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.JavaConstant jdk.vm.ci.meta.ConstantReflectionProvider jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.core.common.type.Stamp jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.ConstantNode jdk.vm.ci.hotspot.HotSpotResolvedJavaField[] jdk.vm.ci.hotspot.HotSpotResolvedJavaField
StackMap stack:
aload 12
ifnonnull 26
25: new org.graalvm.compiler.debug.GraalError
dup
ldc "Can't find TYPE field in class"
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
ifnull 28
27: aload 7
checkcast org.graalvm.compiler.core.common.type.AbstractObjectStamp
aload 0
getfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
invokestatic org.graalvm.compiler.hotspot.nodes.type.HotSpotNarrowOopStamp.compressed:(Lorg/graalvm/compiler/core/common/type/AbstractObjectStamp;Lorg/graalvm/compiler/core/common/CompressEncoding;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 7
28: StackMap locals:
StackMap stack:
aload 1
new org.graalvm.compiler.nodes.memory.address.OffsetAddressNode
dup
aload 10
aload 12
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaField.getOffset:()I
i2l
aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forLong:(JLorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.memory.address.AddressNode
astore 13
start local 13 29: aload 1
new org.graalvm.compiler.nodes.memory.FloatingReadNode
dup
aload 13
getstatic org.graalvm.compiler.nodes.NamedLocationIdentity.FINAL_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aconst_null
aload 7
invokespecial org.graalvm.compiler.nodes.memory.FloatingReadNode.<init>:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode;Ljdk/internal/vm/compiler/word/LocationIdentity;Lorg/graalvm/compiler/nodes/memory/MemoryKill;Lorg/graalvm/compiler/core/common/type/Stamp;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 14
start local 14 30: aload 0
getfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
ifnull 31
aload 3
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.isCompressed:()Z
ifeq 32
31: StackMap locals: org.graalvm.compiler.nodes.memory.address.AddressNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 14
areturn
32: StackMap locals:
StackMap stack:
aload 14
aload 0
getfield org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.oopEncoding:Lorg/graalvm/compiler/core/common/CompressEncoding;
invokestatic org.graalvm.compiler.hotspot.nodes.HotSpotCompressionNode.uncompress:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/CompressEncoding;)Lorg/graalvm/compiler/nodes/CompressionNode;
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 33: StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders jdk.vm.ci.meta.JavaConstant
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/graalvm/compiler/hotspot/phases/LoadJavaMirrorWithKlassPhase;
0 34 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 34 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
0 34 3 constant Ljdk/vm/ci/meta/JavaConstant;
2 33 4 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
3 33 5 type Ljdk/vm/ci/meta/ResolvedJavaType;
5 33 6 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
6 33 7 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
8 12 8 klass Lorg/graalvm/compiler/nodes/ConstantNode;
9 12 9 getClass Lorg/graalvm/compiler/nodes/ValueNode;
13 33 8 primitive Ljdk/vm/ci/hotspot/HotSpotResolvedPrimitiveType;
14 33 9 boxingClass Ljdk/vm/ci/meta/ResolvedJavaType;
15 33 10 clazz Lorg/graalvm/compiler/nodes/ConstantNode;
16 33 11 a [Ljdk/vm/ci/hotspot/HotSpotResolvedJavaField;
17 33 12 typeField Ljdk/vm/ci/hotspot/HotSpotResolvedJavaField;
19 22 13 f Ljdk/vm/ci/hotspot/HotSpotResolvedJavaField;
29 33 13 address Lorg/graalvm/compiler/nodes/memory/address/AddressNode;
30 33 14 read Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
context
constant
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.nodes.ConstantNode.getConstantNodes:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 5
start local 5 3: aload 0
aload 1
aload 2
aload 5
invokevirtual org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.getClassConstantReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;Ljdk/vm/ci/meta/JavaConstant;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 4: aload 6
ifnull 6
5: aload 3
aload 1
aload 6
invokevirtual org.graalvm.compiler.nodes.ConstantNode.replace:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/graph/Node;)V
end local 6 end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/phases/LoadJavaMirrorWithKlassPhase;
0 8 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 8 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
2 6 3 node Lorg/graalvm/compiler/nodes/ConstantNode;
3 6 5 constant Ljdk/vm/ci/meta/JavaConstant;
4 6 6 freadNode Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
context
public float codeSizeIncrease();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 2.5
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/LoadJavaMirrorWithKlassPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.spi.CoreProviders
invokevirtual org.graalvm.compiler.hotspot.phases.LoadJavaMirrorWithKlassPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/BasePhase<Lorg/graalvm/compiler/nodes/spi/CoreProviders;>;
SourceFile: "LoadJavaMirrorWithKlassPhase.java"
InnerClasses:
public abstract ValueNumberable = org.graalvm.compiler.graph.Node$ValueNumberable of org.graalvm.compiler.graph.Node