public class org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase 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.aot.ReplaceConstantNodesPhase
super_class: org.graalvm.compiler.phases.BasePhase
{
private final boolean verifyFingerprints;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean allowResolution;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static java.lang.Class<?> characterCacheClass;
descriptor: Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/Class<*>;
static java.lang.Class<?> byteCacheClass;
descriptor: Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/Class<*>;
static java.lang.Class<?> shortCacheClass;
descriptor: Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/Class<*>;
static java.lang.Class<?> integerCacheClass;
descriptor: Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/Class<*>;
static java.lang.Class<?> longCacheClass;
descriptor: Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/Class<*>;
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=2, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
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 org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.$assertionsDisabled:Z
3: ldc Ljava/lang/Character;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
putstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.characterCacheClass:Ljava/lang/Class;
4: ldc Ljava/lang/Byte;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
putstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.byteCacheClass:Ljava/lang/Class;
5: ldc Ljava/lang/Short;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
putstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.shortCacheClass:Ljava/lang/Class;
6: ldc Ljava/lang/Integer;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
putstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.integerCacheClass:Ljava/lang/Class;
7: ldc Ljava/lang/Long;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
putstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.longCacheClass:Ljava/lang/Class;
return
LocalVariableTable:
Start End Slot Name Signature
private static boolean isReplacementNode(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode
ifne 6
1: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode
ifne 6
2: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.ResolveDynamicConstantNode
ifne 6
3: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
ifne 6
4: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode
ifne 6
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
n
private static boolean anyUsagesNeedReplacement(org.graalvm.compiler.nodes.ConstantNode);
descriptor: (Lorg/graalvm/compiler/nodes/ConstantNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ConstantNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/graph/Node;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$0(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.isNotEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
node
private static boolean anyUsagesNeedReplacement(org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/graph/Node;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$1(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.isNotEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;
MethodParameters:
Name Flags
node
private static boolean checkForBadFingerprint(jdk.vm.ci.hotspot.HotSpotResolvedJavaType);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.isArray:()Z
ifeq 5
1: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.getElementalType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.getElementalType:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getFingerprint:()J
lconst_0
lcmp
ifne 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getFingerprint:()J
lconst_0
lcmp
ifne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
MethodParameters:
Name Flags
type
private static void insertReplacement(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.calc.FloatingNode, org.graalvm.compiler.nodes.FixedWithNextNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.findInsertionPoint:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
astore 4
start local 4 1: aload 0
aload 4
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addAfterFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedNode;)V
2: aload 1
aload 3
aload 1
aload 4
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure.getState:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure.addState:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/FrameState;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 4 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 4 2 node Lorg/graalvm/compiler/nodes/calc/FloatingNode;
0 4 3 replacement Lorg/graalvm/compiler/nodes/FixedWithNextNode;
1 4 4 insertionPoint Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
stateMapper
node
replacement
private static org.graalvm.compiler.nodes.FixedWithNextNode findInsertionPoint(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.calc.FloatingNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.findFixedBeforeFloating:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/calc/FloatingNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.findFixedWithValidState:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
astore 4
start local 4 2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 3 2 node Lorg/graalvm/compiler/nodes/calc/FloatingNode;
1 3 3 fixed Lorg/graalvm/compiler/nodes/FixedWithNextNode;
2 3 4 result Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
stateMapper
node
private static org.graalvm.compiler.nodes.FixedWithNextNode findFixedBeforeFloating(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.calc.FloatingNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/calc/FloatingNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
astore 2
start local 2 1: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getNodeToBlockMap:()Lorg/graalvm/compiler/graph/NodeMap;
astore 3
start local 3 2: aload 3
aload 1
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 4
start local 4 3: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()Lorg/graalvm/compiler/core/common/cfg/BlockMap;
astore 5
start local 5 4: aconst_null
astore 6
start local 6 5: aload 5
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 11
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.calc.FloatingNode org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.core.common.cfg.BlockMap org.graalvm.compiler.nodes.FixedWithNextNode top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 7
start local 7 7: aload 7
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: goto 12
9: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.calc.FloatingNode org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.core.common.cfg.BlockMap org.graalvm.compiler.nodes.FixedWithNextNode org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 7
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 11
10: aload 7
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 6
end local 7 11: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.calc.FloatingNode org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.core.common.cfg.BlockMap org.graalvm.compiler.nodes.FixedWithNextNode top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
12: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.calc.FloatingNode org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.core.common.cfg.BlockMap org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
getstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.$assertionsDisabled:Z
ifne 13
aload 6
ifnonnull 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 14 1 node Lorg/graalvm/compiler/nodes/calc/FloatingNode;
1 14 2 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
2 14 3 nodeToBlock Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;
3 14 4 block Lorg/graalvm/compiler/nodes/cfg/Block;
4 14 5 blockToNodes Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;>;
5 14 6 result Lorg/graalvm/compiler/nodes/FixedWithNextNode;
7 11 7 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
node
private static org.graalvm.compiler.nodes.FixedWithNextNode findFixedWithValidState(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.FixedWithNextNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Lorg/graalvm/compiler/nodes/FixedWithNextNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getNodeToBlockMap:()Lorg/graalvm/compiler/graph/NodeMap;
astore 4
start local 4 2: aload 4
aload 2
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 5
start local 5 3: aload 2
astore 6
start local 6 4: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure org.graalvm.compiler.nodes.FixedWithNextNode org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node
StackMap stack:
aload 1
aload 6
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isFixedWithValidState:(Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 9
5: aload 6
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
areturn
6: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 6
7: aload 1
aload 6
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isFixedWithValidState:(Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 9
8: aload 6
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
areturn
9: StackMap locals:
StackMap stack:
aload 6
aload 5
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
if_acmpne 6
10: aload 5
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getDominator:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 5
11: aload 5
ifnull 13
12: aload 5
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getEndNode:()Lorg/graalvm/compiler/nodes/FixedNode;
astore 6
13: StackMap locals:
StackMap stack:
aload 5
ifnonnull 4
14: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 15 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 15 2 node Lorg/graalvm/compiler/nodes/FixedWithNextNode;
1 15 3 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
2 15 4 nodeToBlock Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;
3 15 5 block Lorg/graalvm/compiler/nodes/cfg/Block;
4 15 6 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
stateMapper
node
private static boolean isFixedWithValidState(org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 5
1: aload 1
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 2
start local 2 2: getstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.$assertionsDisabled:Z
ifne 3
aload 0
aload 2
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure.getState:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/FrameState;
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 0
aload 2
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure.getState:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/FrameState;
getfield org.graalvm.compiler.nodes.FrameState.bci:I
invokestatic jdk.vm.ci.code.BytecodeFrame.isPlaceholderBci:(I)Z
ifne 5
4: iconst_1
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 6 1 n Lorg/graalvm/compiler/graph/Node;
2 5 2 fixed Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
stateMapper
n
private static boolean tryToReplaceWithExisting(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ConstantNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=14, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getNodeToBlockMap:()Lorg/graalvm/compiler/graph/NodeMap;
astore 4
start local 4 3: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()Lorg/graalvm/compiler/core/common/cfg/BlockMap;
astore 5
start local 5 4: getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 6
start local 6 5: aload 1
invokevirtual org.graalvm.compiler.nodes.ConstantNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/graph/Node;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$2(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.iterator:()Ljava/util/Iterator;
astore 8
goto 8
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 7
start local 7 7: aload 6
aload 4
aload 7
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
aload 7
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 8: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 1
invokevirtual org.graalvm.compiler.nodes.ConstantNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokedynamic apply()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/graph/Node;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$3(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Lorg/graalvm/compiler/graph/iterators/NodePredicate;)Lorg/graalvm/compiler/graph/iterators/FilteredNodeIterable;
invokevirtual org.graalvm.compiler.graph.iterators.FilteredNodeIterable.snapshot:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 34
StackMap locals:
StackMap stack:
10: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 7
start local 7 11: iconst_0
istore 9
start local 9 12: aload 4
aload 7
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 10
start local 10 13: aload 6
aload 10
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 11
start local 11 14: aload 11
ifnull 24
15: aload 5
aload 10
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 23
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
16: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 12
start local 12 17: aload 12
aload 7
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 19
18: goto 24
19: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 12
aload 11
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 23
20: aload 7
aload 1
aload 11
invokevirtual org.graalvm.compiler.graph.Node.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
21: iconst_1
istore 9
22: goto 24
end local 12 23: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
24: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node
StackMap stack:
iload 9
ifne 32
25: aload 6
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getKeys:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 13
goto 31
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node top java.util.Iterator
StackMap stack:
26: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 12
start local 12 27: aload 12
aload 10
invokestatic org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.strictlyDominates:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 31
28: aload 7
aload 1
aload 6
aload 12
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
invokevirtual org.graalvm.compiler.graph.Node.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
29: iconst_1
istore 9
30: goto 32
end local 12 31: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
32: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.graph.Node java.util.Iterator int org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.graph.Node
StackMap stack:
iload 9
ifne 34
iload 2
ifeq 34
33: iconst_0
istore 2
end local 11 end local 10 end local 9 end local 7 34: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode int org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.core.common.cfg.BlockMap jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
35: iload 2
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 36 1 node Lorg/graalvm/compiler/nodes/ConstantNode;
1 36 2 allUsagesReplaced Z
2 36 3 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
3 36 4 nodeToBlock Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;
4 36 5 blockToNodes Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;>;
5 36 6 blockToExisting Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/graph/Node;>;
7 8 7 n Lorg/graalvm/compiler/graph/Node;
11 34 7 use Lorg/graalvm/compiler/graph/Node;
12 34 9 replaced Z
13 34 10 b Lorg/graalvm/compiler/nodes/cfg/Block;
14 34 11 e Lorg/graalvm/compiler/graph/Node;
17 23 12 n Lorg/graalvm/compiler/graph/Node;
27 31 12 d Lorg/graalvm/compiler/nodes/cfg/Block;
MethodParameters:
Name Flags
graph
node
private static void replaceWithResolution(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.ConstantNode, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 4
start local 4 1: aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 5
start local 5 2: aload 3
getfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo.builtIns:Ljava/util/HashSet;
aload 5
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
new org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
dup
aload 2
getstatic org.graalvm.compiler.hotspot.meta.HotSpotConstantLoadAction.INITIALIZE:Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;
invokespecial org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/hotspot/meta/HotSpotConstantLoadAction;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 6
start local 6 4: goto 6
end local 6 5: StackMap locals: jdk.vm.ci.hotspot.HotSpotMetaspaceConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType
StackMap stack:
aload 0
new org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
dup
aload 2
invokespecial org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 6
start local 6 6: StackMap locals: org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 0
aload 1
aload 2
aload 6
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.insertReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
7: aload 2
aload 6
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$4(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokevirtual org.graalvm.compiler.nodes.ConstantNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;Ljava/util/function/Predicate;)V
8: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 9 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 9 2 node Lorg/graalvm/compiler/nodes/ConstantNode;
0 9 3 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
1 9 4 metaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
2 9 5 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
4 5 6 fixedReplacement Lorg/graalvm/compiler/nodes/FixedWithNextNode;
6 9 6 fixedReplacement Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
stateMapper
node
classInfo
private static boolean replaceWithLoad(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ConstantNode, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 3
start local 3 1: aload 3
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 4
start local 4 2: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aload 4
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.isArray:()Z
ifeq 5
aload 4
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.getComponentType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifne 6
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ConstantNode org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo jdk.vm.ci.hotspot.HotSpotMetaspaceConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType jdk.vm.ci.meta.ResolvedJavaType org.graalvm.compiler.nodes.ValueNode
StackMap stack:
5: aload 4
aload 2
getfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo.referenceType:Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.equals:(Ljava/lang/Object;)Z
ifeq 8
6: StackMap locals:
StackMap stack:
aload 0
new org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 6
7: goto 10
StackMap locals:
StackMap stack:
8: aload 4
aload 5
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.equals:(Ljava/lang/Object;)Z
ifne 9
aload 4
aload 5
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 10
aload 4
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.isInterface:()Z
ifne 10
9: StackMap locals:
StackMap stack:
aload 0
new org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 6
10: StackMap locals:
StackMap stack:
aload 6
ifnull 13
11: aload 1
aload 6
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$5(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokevirtual org.graalvm.compiler.nodes.ConstantNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;Ljava/util/function/Predicate;)V
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 14 1 node Lorg/graalvm/compiler/nodes/ConstantNode;
0 14 2 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
1 14 3 metaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
2 14 4 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
3 14 5 topMethodHolder Ljdk/vm/ci/meta/ResolvedJavaType;
4 14 6 replacement Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
node
classInfo
private void verifyFingerprint(org.graalvm.compiler.nodes.ConstantNode);
descriptor: (Lorg/graalvm/compiler/nodes/ConstantNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 2
start local 2 1: aload 2
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 3
start local 3 2: aload 3
ifnull 6
3: getstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.$assertionsDisabled:Z
ifne 4
aload 2
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.isCompressed:()Z
ifeq 4
new java.lang.AssertionError
dup
ldc "No support for replacing compressed metaspace constants"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: jdk.vm.ci.hotspot.HotSpotMetaspaceConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.verifyFingerprints:Z
ifeq 6
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.checkForBadFingerprint:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;)Z
ifeq 6
5: new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Type with bad fingerprint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
0 7 1 node Lorg/graalvm/compiler/nodes/ConstantNode;
1 7 2 metaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
2 7 3 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
MethodParameters:
Name Flags
node
private static void handleHotSpotMetaspaceConstant(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.ConstantNode, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 4
start local 4 1: aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 5
start local 5 2: aload 5
ifnull 6
3: aload 0
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.tryToReplaceWithExisting:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;)Z
ifne 7
aload 0
aload 2
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceWithLoad:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)Z
ifne 7
4: aload 0
aload 1
aload 2
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceWithResolution:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
5: goto 7
6: StackMap locals: jdk.vm.ci.hotspot.HotSpotMetaspaceConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported metaspace constant type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 8 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 8 2 node Lorg/graalvm/compiler/nodes/ConstantNode;
0 8 3 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
1 8 4 metaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
2 8 5 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
MethodParameters:
Name Flags
graph
stateMapper
node
classInfo
private static void handleHotSpotMetaspaceConstantWithoutResolution(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ConstantNode, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 3
start local 3 1: aload 3
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 4
start local 4 2: aload 4
ifnull 5
3: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceWithLoad:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)Z
pop
4: goto 6
5: StackMap locals: jdk.vm.ci.hotspot.HotSpotMetaspaceConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported metaspace constant type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 7 1 node Lorg/graalvm/compiler/nodes/ConstantNode;
0 7 2 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
1 7 3 metaspaceConstant Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
2 7 4 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
MethodParameters:
Name Flags
graph
node
classInfo
private static void handleHotSpotObjectConstant(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.ConstantNode, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
astore 4
start local 4 1: aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.getType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
astore 5
start local 5 2: aload 5
aload 3
getfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo.stringType:Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual jdk.vm.ci.hotspot.HotSpotResolvedJavaType.equals:(Ljava/lang/Object;)Z
ifeq 8
3: getstatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.$assertionsDisabled:Z
ifne 4
aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.isCompressed:()Z
ifeq 4
new java.lang.AssertionError
dup
ldc "No support for replacing compressed oop constants"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: jdk.vm.ci.hotspot.HotSpotObjectConstant jdk.vm.ci.hotspot.HotSpotResolvedJavaType
StackMap stack:
aload 0
new org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
dup
aload 2
invokespecial org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 6
start local 6 5: aload 0
aload 1
aload 2
aload 6
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.insertReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
6: aload 2
aload 6
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$6(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokevirtual org.graalvm.compiler.nodes.ConstantNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;Ljava/util/function/Predicate;)V
end local 6 7: goto 9
8: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported object constant type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 10 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 10 2 node Lorg/graalvm/compiler/nodes/ConstantNode;
0 10 3 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
1 10 4 constant Ljdk/vm/ci/hotspot/HotSpotObjectConstant;
2 10 5 type Ljdk/vm/ci/hotspot/HotSpotResolvedJavaType;
5 7 6 replacement Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
stateMapper
node
classInfo
private static void handleLoadMethodCounters(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 1: aload 3
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getStampProvider:()Lorg/graalvm/compiler/nodes/spi/StampProvider;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
invokeinterface org.graalvm.compiler.nodes.spi.StampProvider.createHubStamp:(Lorg/graalvm/compiler/core/common/type/ObjectStamp;)Lorg/graalvm/compiler/core/common/type/AbstractPointerStamp;
astore 5
start local 5 2: aload 3
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
astore 6
start local 6 3: aload 5
aload 6
aload 4
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asObjectHub:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/Constant;
aload 3
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
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 7
start local 7 4: aload 0
new org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode
dup
aload 2
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 7
invokespecial org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 8
start local 8 5: aload 0
aload 1
aload 2
aload 8
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.insertReplacement:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/calc/FloatingNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
6: aload 2
aload 8
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase.lambda$7(Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokevirtual org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;Ljava/util/function/Predicate;)V
7: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 8 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 8 2 node Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;
0 8 3 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
1 8 4 type Ljdk/vm/ci/meta/ResolvedJavaType;
2 8 5 hubStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 8 6 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
4 8 7 klassHint Lorg/graalvm/compiler/nodes/ConstantNode;
5 8 8 replacement Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
stateMapper
node
context
private static void replaceLoadMethodCounters(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.phases.schedule.SchedulePhase
dup
getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$SchedulingStrategy.LATEST_OUT_OF_LOOPS:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;
iconst_1
invokespecial org.graalvm.compiler.phases.schedule.SchedulePhase.<init>:(Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;Z)V
aload 0
iconst_0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Z)V
1: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode.getLoadMethodCountersNodes:(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 5
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure org.graalvm.compiler.nodes.spi.CoreProviders top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.nodes.aot.LoadMethodCountersNode
astore 3
start local 3 3: aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.anyUsagesNeedReplacement:(Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;)Z
ifeq 5
4: aload 0
aload 1
aload 3
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.handleLoadMethodCounters:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 7 1 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 7 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
3 5 3 node Lorg/graalvm/compiler/hotspot/nodes/aot/LoadMethodCountersNode;
MethodParameters:
Name Flags
graph
stateMapper
context
private void replaceKlassesAndObjects(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.graalvm.compiler.phases.schedule.SchedulePhase
dup
getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$SchedulingStrategy.LATEST_OUT_OF_LOOPS:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;
iconst_1
invokespecial org.graalvm.compiler.phases.schedule.SchedulePhase.<init>:(Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;Z)V
aload 1
iconst_0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Z)V
1: 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 5
goto 10
StackMap locals: org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 6
start local 6 4: aload 6
instanceof jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
ifeq 8
aload 4
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.anyUsagesNeedReplacement:(Lorg/graalvm/compiler/nodes/ConstantNode;)Z
ifeq 8
5: aload 0
aload 4
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.verifyFingerprint:(Lorg/graalvm/compiler/nodes/ConstantNode;)V
6: aload 1
aload 2
aload 4
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.handleHotSpotMetaspaceConstant:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
7: goto 10
StackMap locals: org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo org.graalvm.compiler.nodes.ConstantNode java.util.Iterator jdk.vm.ci.meta.Constant
StackMap stack:
8: aload 6
instanceof jdk.vm.ci.hotspot.HotSpotObjectConstant
ifeq 10
aload 4
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.anyUsagesNeedReplacement:(Lorg/graalvm/compiler/nodes/ConstantNode;)Z
ifeq 10
9: aload 1
aload 2
aload 4
aload 3
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.handleHotSpotObjectConstant:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
end local 6 end local 4 10: StackMap locals: org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
0 12 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 12 2 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
0 12 3 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
3 10 4 node Lorg/graalvm/compiler/nodes/ConstantNode;
4 10 6 constant Ljdk/vm/ci/meta/Constant;
MethodParameters:
Name Flags
graph
stateMapper
classInfo
private static void replaceKlassesWithoutResolution(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
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 3
goto 5
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.nodes.ConstantNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 4
start local 4 3: aload 4
instanceof jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
ifeq 5
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.anyUsagesNeedReplacement:(Lorg/graalvm/compiler/nodes/ConstantNode;)Z
ifeq 5
4: aload 0
aload 2
aload 1
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.handleHotSpotMetaspaceConstantWithoutResolution:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ConstantNode;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 7 1 classInfo Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;
2 5 2 node Lorg/graalvm/compiler/nodes/ConstantNode;
3 5 4 constant Ljdk/vm/ci/meta/Constant;
MethodParameters:
Name Flags
graph
classInfo
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=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.allowResolution:Z
ifeq 6
1: new org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 3
start local 3 2: aload 3
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
aconst_null
invokestatic org.graalvm.compiler.phases.graph.ReentrantNodeIterator.apply:(Lorg/graalvm/compiler/phases/graph/ReentrantNodeIterator$NodeIteratorClosure;Lorg/graalvm/compiler/nodes/FixedNode;Ljava/lang/Object;)V
3: aload 1
aload 3
aload 2
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceLoadMethodCounters:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
4: aload 0
aload 1
aload 3
new org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo
dup
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokespecial org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;)V
invokevirtual org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceKlassesAndObjects:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
end local 3 5: goto 7
6: StackMap locals:
StackMap stack:
aload 1
new org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo
dup
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokespecial org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;)V
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.replaceKlassesWithoutResolution:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$ClassInfo;)V
7: StackMap locals:
StackMap stack:
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/aot/ReplaceConstantNodesPhase;
0 8 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 8 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
2 5 3 stateMapper Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase$FrameStateMapperClosure;
MethodParameters:
Name Flags
graph
context
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_1
invokespecial org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.<init>:(ZZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
0 2 1 allowResolution Z
MethodParameters:
Name Flags
allowResolution
public void <init>(boolean, boolean);
descriptor: (ZZ)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
invokespecial org.graalvm.compiler.phases.BasePhase.<init>:()V
1: aload 0
iload 1
putfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.allowResolution:Z
2: aload 0
iload 2
putfield org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.verifyFingerprints:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/phases/aot/ReplaceConstantNodesPhase;
0 4 1 allowResolution Z
0 4 2 verifyFingerprints Z
MethodParameters:
Name Flags
allowResolution
verifyFingerprints
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.aot.ReplaceConstantNodesPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$0(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isReplacementNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$1(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$2(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isReplacementNode:(Lorg/graalvm/compiler/graph/Node;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$3(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isReplacementNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$4(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isReplacementNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$5(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase.isReplacementNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$6(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
private static boolean lambda$7(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.hotspot.nodes.aot.ResolveMethodAndLoadCountersNode
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n Lorg/graalvm/compiler/graph/Node;
}
Signature: Lorg/graalvm/compiler/phases/BasePhase<Lorg/graalvm/compiler/nodes/spi/CoreProviders;>;
SourceFile: "ReplaceConstantNodesPhase.java"
NestMembers:
org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
ClassInfo = org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$ClassInfo of org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase
private FrameStateMapperClosure = org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase$FrameStateMapperClosure of org.graalvm.compiler.hotspot.phases.aot.ReplaceConstantNodesPhase
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph
public abstract NodeIteratorClosure = org.graalvm.compiler.phases.graph.ReentrantNodeIterator$NodeIteratorClosure of org.graalvm.compiler.phases.graph.ReentrantNodeIterator
public final SchedulingStrategy = org.graalvm.compiler.phases.schedule.SchedulePhase$SchedulingStrategy of org.graalvm.compiler.phases.schedule.SchedulePhase