public class org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase extends org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.phases.tiers.PhaseContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase
super_class: org.graalvm.compiler.phases.BasePhase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.BasePhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/phases/aot/EliminateRedundantInitializationPhase;
private static void removeInitsAtStaticCalls(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.Invoke
astore 1
start local 1 2: aload 1
invokeinterface org.graalvm.compiler.nodes.Invoke.classInit:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
aconst_null
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
5: aload 0
aload 3
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.removeFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 3 end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 6 1 invoke Lorg/graalvm/compiler/nodes/Invoke;
3 6 3 classInit Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
private static void removeRedundantInits(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase.findRedundantInits:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List;
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.removeFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 6 1 redundantNodes Ljava/util/List<Lorg/graalvm/compiler/nodes/FixedWithNextNode;>;
3 4 2 n Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
graph
private static java.util.List<org.graalvm.compiler.nodes.FixedWithNextNode> findRedundantInits(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
new org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$InitializedTypes
dup
invokespecial org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$InitializedTypes.<init>:()V
invokespecial org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator.<init>:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/hotspot/phases/aot/EliminateRedundantInitializationPhase$InitializedTypes;)V
astore 1
start local 1 1: aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator.apply:()V
2: aload 1
invokevirtual org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator.getRedundantNodes:()Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 3 1 i Lorg/graalvm/compiler/hotspot/phases/aot/EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List<Lorg/graalvm/compiler/nodes/FixedWithNextNode;>;
MethodParameters:
Name Flags
graph
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase.removeInitsAtStaticCalls:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
1: aload 1
invokestatic org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase.removeRedundantInits:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/phases/aot/EliminateRedundantInitializationPhase;
0 3 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
MethodParameters:
Name Flags
graph
context
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.phases.tiers.PhaseContext
invokevirtual org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/BasePhase<Lorg/graalvm/compiler/phases/tiers/PhaseContext;>;
SourceFile: "EliminateRedundantInitializationPhase.java"
NestMembers:
org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$InitializedTypes
InnerClasses:
private EliminateRedundantInitializationIterator = org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$EliminateRedundantInitializationIterator of org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase
private InitializedTypes = org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase$InitializedTypes of org.graalvm.compiler.hotspot.phases.aot.EliminateRedundantInitializationPhase