public class org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker
super_class: java.lang.Object
{
protected final org.graalvm.compiler.replacements.ReplacementsImpl replacements;
descriptor: Lorg/graalvm/compiler/replacements/ReplacementsImpl;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.ResolvedJavaMethod method;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.ResolvedJavaMethod substitutedMethod;
descriptor: Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/ReplacementsImpl;
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.replacements.ReplacementsImpl$GraphMaker.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.replacements.ReplacementsImpl, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Lorg/graalvm/compiler/replacements/ReplacementsImpl;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
2: aload 0
aload 2
putfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
3: aload 0
aload 3
putfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.substitutedMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 5 1 replacements Lorg/graalvm/compiler/replacements/ReplacementsImpl;
0 5 2 substitute Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 5 3 substitutedMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
replacements
substitute
substitutedMethod
public org.graalvm.compiler.nodes.StructuredGraph makeGraph(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.bytecode.BytecodeProvider, java.lang.Object[], boolean, org.graalvm.compiler.graph.NodeSourcePosition);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/bytecode/BytecodeProvider;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aconst_null
astore 6
aconst_null
astore 7
1: aload 1
ldc "BuildSnippetGraph"
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 8
start local 8 2: getstatic org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
ifne 3
new java.lang.AssertionError
dup
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack:
aload 0
aload 1
aload 2
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 3
iload 4
aload 5
invokevirtual org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.buildInitialGraph:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 9
start local 9 4: aload 0
aload 9
invokevirtual org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.finalizeGraph:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
5: aload 1
iconst_2
aload 9
ldc "%s: Final"
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
6: aload 9
7: aload 8
ifnull 8
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
8: StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
areturn
end local 9 StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
9: astore 6
10: aload 8
ifnull 11
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 8 StackMap locals:
StackMap stack:
11: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 7
aload 6
ifnonnull 13
aload 7
astore 6
goto 14
StackMap locals:
StackMap stack:
13: aload 6
aload 7
if_acmpeq 14
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 6
athrow
StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition
StackMap stack: java.lang.Throwable
15: astore 6
start local 6 16: aload 1
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
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 17 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 17 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 17 2 bytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
0 17 3 args [Ljava/lang/Object;
0 17 4 trackNodeSourcePosition Z
0 17 5 replaceePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
2 11 8 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 9 9 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
16 17 6 e Ljava/lang/Throwable;
Exception table:
from to target type
2 7 9 any
1 8 12 any
9 12 12 any
0 8 15 Class java.lang.Throwable
9 15 15 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
bytecodeProvider
args
trackNodeSourcePosition
replaceePosition
protected void finalizeGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.core.common.GraalOptions.SnippetCounters:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.options:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 1
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
ldc Lorg/graalvm/compiler/replacements/SnippetCounterNode;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.isEmpty:()Z
ifeq 6
1: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 2: getstatic org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 0
invokedynamic apply(Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;)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/replacements/ReplacementsImpl$GraphMaker.lambda$0(Lorg/graalvm/compiler/graph/Node;)Z (7)
(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.count:()I
dup
istore 2
ifge 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
new org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase
dup
invokespecial org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.<init>:()V
aload 1
aconst_null
invokevirtual org.graalvm.compiler.phases.common.ConvertDeoptimizeToGuardPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
4: getstatic org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.$assertionsDisabled:Z
ifne 5
iload 2
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 0
invokedynamic apply(Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;)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/replacements/ReplacementsImpl$GraphMaker.lambda$1(Lorg/graalvm/compiler/graph/Node;)Z (7)
(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.count:()I
if_icmpeq 5
new java.lang.AssertionError
dup
ldc "deleted side effecting node"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
getstatic org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality.Required:Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:(Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;)V
aload 1
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 7 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 6 2 sideEffectCount I
MethodParameters:
Name Flags
graph
private boolean hasSideEffect(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.graalvm.compiler.nodes.StateSplit
ifeq 12
1: aload 1
checkcast org.graalvm.compiler.nodes.StateSplit
invokeinterface org.graalvm.compiler.nodes.StateSplit.hasSideEffect:()Z
ifeq 12
2: aload 1
instanceof org.graalvm.compiler.nodes.Invoke
ifeq 11
3: aload 1
checkcast org.graalvm.compiler.nodes.Invoke
invokeinterface org.graalvm.compiler.nodes.Invoke.callTarget:()Lorg/graalvm/compiler/nodes/CallTargetNode;
astore 2
start local 2 4: aload 2
instanceof org.graalvm.compiler.nodes.java.MethodCallTargetNode
ifeq 11
5: aload 2
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 3
start local 3 6: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isConstructor:()Z
ifeq 11
7: aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljava/lang/Throwable;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 8: aload 4
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 9
iconst_0
goto 10
StackMap locals: org.graalvm.compiler.nodes.CallTargetNode jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
9: iconst_1
StackMap locals:
StackMap stack: int
10: ireturn
end local 4 end local 3 end local 2 11: StackMap locals:
StackMap stack:
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 13 1 node Lorg/graalvm/compiler/graph/Node;
4 11 2 callTarget Lorg/graalvm/compiler/nodes/CallTargetNode;
6 11 3 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
8 11 4 throwableType Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
node
protected org.graalvm.compiler.nodes.StructuredGraph buildInitialGraph(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.bytecode.BytecodeProvider, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object[], boolean, org.graalvm.compiler.graph.NodeSourcePosition);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=18, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.options:Lorg/graalvm/compiler/options/OptionValues;
aload 1
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;)V
1: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
2: iload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.trackNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
3: aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.callerContext:(Lorg/graalvm/compiler/graph/NodeSourcePosition;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
4: iconst_1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.setIsSubstitution:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
5: invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
6: astore 7
start local 7 7: aload 7
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.disableUnsafeAccessTracking:()V
8: aconst_null
astore 8
aconst_null
astore 9
9: aload 1
ldc "buildInitialGraph"
aload 7
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 10
start local 10 10: aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 11
start local 11 11: new org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins
dup
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.graphBuilderPlugins:Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)V
astore 12
start local 12 12: aload 12
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getSnippetDefault:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 13
start local 13 13: aload 4
ifnull 15
14: aload 12
new org.graalvm.compiler.replacements.ConstantBindingParameterPlugin
dup
aload 4
aload 11
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokespecial org.graalvm.compiler.replacements.ConstantBindingParameterPlugin.<init>:([Ljava/lang/Object;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.prependParameterPlugin:(Lorg/graalvm/compiler/nodes/graphbuilderconf/ParameterPlugin;)V
15: StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
StackMap stack:
aconst_null
astore 14
start local 14 16: aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.graalvm.compiler.api.replacements.Snippet
astore 15
start local 15 17: aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc Lorg/graalvm/compiler/api/replacements/MethodSubstitution;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.graalvm.compiler.api.replacements.MethodSubstitution
astore 16
start local 16 18: aload 16
ifnonnull 21
aload 15
ifnonnull 21
19: new org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
dup
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.substitutedMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;)V
astore 14
20: goto 28
21: StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext org.graalvm.compiler.api.replacements.Snippet org.graalvm.compiler.api.replacements.MethodSubstitution
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.substitutedMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
ifnull 22
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.substitutedMethod:Ljdk/vm/ci/meta/ResolvedJavaMethod;
goto 23
StackMap locals:
StackMap stack:
22: aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
StackMap locals:
StackMap stack: jdk.vm.ci.meta.ResolvedJavaMethod
23: astore 17
start local 17 24: new org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
dup
aload 17
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.method:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
25: aload 15
ifnull 26
aload 15
invokeinterface org.graalvm.compiler.api.replacements.Snippet.allowPartialIntrinsicArgumentMismatch:()Z
goto 27
StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext org.graalvm.compiler.api.replacements.Snippet org.graalvm.compiler.api.replacements.MethodSubstitution jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: new 24 new 24 jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.bytecode.BytecodeProvider org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext
26: iconst_1
27: StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext org.graalvm.compiler.api.replacements.Snippet org.graalvm.compiler.api.replacements.MethodSubstitution jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: new 24 new 24 jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.bytecode.BytecodeProvider org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext int
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext.<init>:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Z)V
astore 14
end local 17 28: StackMap locals:
StackMap stack:
aload 0
aload 11
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getStampProvider:()Lorg/graalvm/compiler/nodes/spi/StampProvider;
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getConstantFieldProvider:()Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
aload 13
29: getstatic org.graalvm.compiler.phases.OptimisticOptimizations.NONE:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
aload 14
30: invokevirtual org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.createGraphBuilder:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/spi/StampProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;)Lorg/graalvm/compiler/java/GraphBuilderPhase$Instance;
31: aload 7
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase$Instance.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
32: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aload 7
new org.graalvm.compiler.phases.tiers.PhaseContext
dup
aload 0
getfield org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.replacements:Lorg/graalvm/compiler/replacements/ReplacementsImpl;
getfield org.graalvm.compiler.replacements.ReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokespecial org.graalvm.compiler.phases.tiers.PhaseContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;)V
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 33: aload 10
ifnull 41
aload 10
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 41
StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition org.graalvm.compiler.nodes.StructuredGraph java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
34: astore 8
aload 10
ifnull 35
aload 10
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 10 StackMap locals:
StackMap stack:
35: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 9
aload 8
ifnonnull 37
aload 9
astore 8
goto 38
StackMap locals:
StackMap stack:
37: aload 8
aload 9
if_acmpeq 38
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
38: aload 8
athrow
StackMap locals: org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.bytecode.BytecodeProvider jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] int org.graalvm.compiler.graph.NodeSourcePosition org.graalvm.compiler.nodes.StructuredGraph
StackMap stack: java.lang.Throwable
39: astore 8
start local 8 40: aload 1
aload 8
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 8 41: StackMap locals:
StackMap stack:
aload 7
areturn
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 42 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 42 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 42 2 bytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
0 42 3 methodToParse Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 42 4 args [Ljava/lang/Object;
0 42 5 trackNodeSourcePosition Z
0 42 6 replaceePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
7 42 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
10 35 10 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
11 33 11 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
12 33 12 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
13 33 13 config Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
16 33 14 initialIntrinsicContext Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;
17 33 15 snippetAnnotation Lorg/graalvm/compiler/api/replacements/Snippet;
18 33 16 methodAnnotation Lorg/graalvm/compiler/api/replacements/MethodSubstitution;
24 28 17 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
40 41 8 e Ljava/lang/Throwable;
Exception table:
from to target type
10 33 34 any
9 36 36 any
8 39 39 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
bytecodeProvider
methodToParse final
args
trackNodeSourcePosition
replaceePosition
protected org.graalvm.compiler.java.GraphBuilderPhase$Instance createGraphBuilder(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.nodes.spi.StampProvider, jdk.vm.ci.meta.ConstantReflectionProvider, org.graalvm.compiler.core.common.spi.ConstantFieldProvider, org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration, org.graalvm.compiler.phases.OptimisticOptimizations, org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/spi/StampProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;)Lorg/graalvm/compiler/java/GraphBuilderPhase$Instance;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new org.graalvm.compiler.java.GraphBuilderPhase$Instance
dup
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
1: aload 7
2: invokespecial org.graalvm.compiler.java.GraphBuilderPhase$Instance.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/spi/StampProvider;Ljdk/vm/ci/meta/ConstantReflectionProvider;Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;)V
areturn
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 3 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 3 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 3 2 stampProvider Lorg/graalvm/compiler/nodes/spi/StampProvider;
0 3 3 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
0 3 4 constantFieldProvider Lorg/graalvm/compiler/core/common/spi/ConstantFieldProvider;
0 3 5 graphBuilderConfig Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
0 3 6 optimisticOpts Lorg/graalvm/compiler/phases/OptimisticOptimizations;
0 3 7 initialIntrinsicContext Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;
MethodParameters:
Name Flags
metaAccess
stampProvider
constantReflection
constantFieldProvider
graphBuilderConfig
optimisticOpts
initialIntrinsicContext
private boolean lambda$0(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.hasSideEffect:(Lorg/graalvm/compiler/graph/Node;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 1 1 e Lorg/graalvm/compiler/graph/Node;
private boolean lambda$1(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker.hasSideEffect:(Lorg/graalvm/compiler/graph/Node;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/ReplacementsImpl$GraphMaker;
0 1 1 e Lorg/graalvm/compiler/graph/Node;
}
SourceFile: "ReplacementsImpl.java"
NestHost: org.graalvm.compiler.replacements.ReplacementsImpl
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public Instance = org.graalvm.compiler.java.GraphBuilderPhase$Instance of org.graalvm.compiler.java.GraphBuilderPhase
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
public final CompilationContext = org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext of org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext
public final Optionality = org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality of org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
public GraphMaker = org.graalvm.compiler.replacements.ReplacementsImpl$GraphMaker of org.graalvm.compiler.replacements.ReplacementsImpl