public class org.graalvm.compiler.hotspot.HotSpotReplacementsImpl extends org.graalvm.compiler.replacements.ReplacementsImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotReplacementsImpl
super_class: org.graalvm.compiler.replacements.ReplacementsImpl
{
private jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.meta.ResolvedJavaMethod> registeredSnippets;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
RuntimeVisibleAnnotations:
jdk.vm.ci.common.NativeImageReinitialize()
private boolean snippetRegistrationClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static volatile org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets encodedSnippets;
descriptor: Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static org.graalvm.compiler.hotspot.SymbolicSnippetEncoder snippetEncoder;
descriptor: Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
RuntimeVisibleAnnotations:
jdk.vm.ci.common.NativeImageReinitialize()
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/hotspot/HotSpotReplacementsImpl;
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.HotSpotReplacementsImpl.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, org.graalvm.compiler.bytecode.BytecodeProvider, jdk.vm.ci.code.TargetDescription);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/code/TargetDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new org.graalvm.compiler.printer.GraalDebugHandlersFactory
dup
aload 2
invokespecial org.graalvm.compiler.printer.GraalDebugHandlersFactory.<init>:(Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
aload 1
aload 2
aload 3
aload 4
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.<init>:(Lorg/graalvm/compiler/debug/DebugHandlersFactory;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:()Ljdk/internal/vm/compiler/collections/EconomicSet;
putfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registeredSnippets:Ljdk/internal/vm/compiler/collections/EconomicSet;
2: return
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/hotspot/HotSpotReplacementsImpl;
0 3 1 providers Lorg/graalvm/compiler/phases/util/Providers;
0 3 2 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 3 3 bytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
0 3 4 target Ljdk/vm/ci/code/TargetDescription;
MethodParameters:
Name Flags
providers
snippetReflection
bytecodeProvider
target
void <init>(org.graalvm.compiler.hotspot.HotSpotReplacementsImpl, org.graalvm.compiler.phases.util.Providers);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;Lorg/graalvm/compiler/phases/util/Providers;)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new org.graalvm.compiler.printer.GraalDebugHandlersFactory
dup
aload 1
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokespecial org.graalvm.compiler.printer.GraalDebugHandlersFactory.<init>:(Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
aload 2
aload 1
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
1: aload 1
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getDefaultReplacementBytecodeProvider:()Lorg/graalvm/compiler/bytecode/BytecodeProvider;
aload 1
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.target:Ljdk/vm/ci/code/TargetDescription;
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.<init>:(Lorg/graalvm/compiler/debug/DebugHandlersFactory;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/code/TargetDescription;)V
2: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:()Ljdk/internal/vm/compiler/collections/EconomicSet;
putfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registeredSnippets:Ljdk/internal/vm/compiler/collections/EconomicSet;
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/HotSpotReplacementsImpl;
0 4 1 replacements Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 4 2 providers Lorg/graalvm/compiler/phases/util/Providers;
MethodParameters:
Name Flags
replacements
providers
public java.lang.Class<? extends org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderPlugin> getIntrinsifyingPlugin(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/graalvm/compiler/hotspot/word/HotSpotOperation;
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 1
ldc Lorg/graalvm/compiler/hotspot/meta/HotSpotWordOperationPlugin;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.getIntrinsifyingPlugin:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/Class;
StackMap locals:
StackMap stack: java.lang.Class
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 3 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
Signature: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/Class<+Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderPlugin;>;
MethodParameters:
Name Flags
method
public void registerMethodSubstitution(org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 10
1: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifne 2
getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 4
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 10
2: StackMap locals:
StackMap stack:
ldc Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
dup
astore 5
monitorenter
3: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
ifnonnull 5
4: new org.graalvm.compiler.hotspot.SymbolicSnippetEncoder
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.<init>:(Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;)V
putstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
5: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
aload 1
aload 2
aload 3
aload 4
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.registerMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/options/OptionValues;)V
6: aload 5
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 5
monitorexit
9: athrow
10: 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 11 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 11 1 plugin Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 11 2 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 11 3 context Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
0 11 4 options Lorg/graalvm/compiler/options/OptionValues;
Exception table:
from to target type
3 7 8 any
8 9 8 any
MethodParameters:
Name Flags
plugin
original
context
options
public org.graalvm.compiler.nodes.StructuredGraph getIntrinsicGraph(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.core.common.CompilationIdentifier, org.graalvm.compiler.debug.DebugContext);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()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
istore 4
start local 4 1: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 2
iload 4
ifeq 12
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
checkcast org.graalvm.compiler.hotspot.HotSpotReplacementsImpl
astore 5
start local 5 3: aload 5
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.lookupInvocation:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
astore 6
start local 6 4: aload 6
instanceof org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
ifeq 11
5: aload 6
checkcast org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
astore 7
start local 7 6: iload 4
ifeq 8
7: aload 5
aload 7
aload 1
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.ROOT_COMPILATION:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registerMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/options/OptionValues;)V
8: StackMap locals: org.graalvm.compiler.hotspot.HotSpotReplacementsImpl org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
StackMap stack:
aload 5
aload 7
aload 1
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.ROOT_COMPILATION:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 8
start local 8 9: aload 8
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.resetDebug:(Lorg/graalvm/compiler/debug/DebugContext;)V
10: aload 8
areturn
end local 8 end local 7 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 6 end local 5 12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.getIntrinsicGraph:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 13 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 2 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
0 13 3 debug Lorg/graalvm/compiler/debug/DebugContext;
1 13 4 useEncodedGraphs Z
3 12 5 replacements Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
4 12 6 plugin Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
6 11 7 msp Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
9 11 8 methodSubstitution Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
method
compilationId
debug
public org.graalvm.compiler.nodes.StructuredGraph getSubstitution(jdk.vm.ci.meta.ResolvedJavaMethod, int, boolean, org.graalvm.compiler.graph.NodeSourcePosition, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 5
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
istore 6
start local 6 1: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 2
iload 6
ifeq 9
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getGraphBuilderPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.getInvocationPlugins:()Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;
aload 1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.lookupInvocation:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
astore 7
start local 7 3: aload 7
instanceof org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
ifeq 9
aload 7
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin.inlineOnly:()Z
ifeq 4
iload 2
iflt 9
4: StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin
StackMap stack:
aload 7
checkcast org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
astore 8
start local 8 5: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 7
iload 6
ifeq 7
6: aload 0
aload 8
aload 1
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
aload 5
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registerMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/options/OptionValues;)V
7: StackMap locals: org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin
StackMap stack:
aload 0
aload 8
aload 1
getstatic org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext.INLINE_AFTER_PARSING:Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 5
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getMethodSubstitution:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 9
start local 9 8: aload 9
areturn
end local 9 end local 8 end local 7 9: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.getSubstitution:(Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
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 10 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 10 1 targetMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 10 2 invokeBci I
0 10 3 trackNodeSourcePosition Z
0 10 4 replaceePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
0 10 5 options Lorg/graalvm/compiler/options/OptionValues;
1 10 6 useEncodedGraphs Z
3 9 7 plugin Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugin;
5 9 8 msPlugin Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
8 9 9 subst Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
targetMethod
invokeBci
trackNodeSourcePosition
replaceePosition
options
public void notifyNotInlined(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.Invoke);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/Invoke;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.parsingIntrinsic:()Z
ifeq 4
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
ifnull 4
1: aload 0
aload 2
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getIntrinsifyingPlugin:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/Class;
ifnull 4
2: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
aload 2
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.addDelayedInvocationPluginMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.notifyNotInlined:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/Invoke;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 6 1 b Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 6 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 6 3 invoke Lorg/graalvm/compiler/nodes/Invoke;
MethodParameters:
Name Flags
b
method
invoke
public void registerSnippet(jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;ZLorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 12
1: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetRegistrationClosed:Z
ifeq 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Cannot register snippet after registration is closed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registeredSnippets:Ljdk/internal/vm/compiler/collections/EconomicSet;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Cannot register snippet twice: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifne 4
getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 5
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 12
4: StackMap locals:
StackMap stack:
ldc Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
dup
astore 6
monitorenter
5: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
ifnonnull 7
6: new org.graalvm.compiler.hotspot.SymbolicSnippetEncoder
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.<init>:(Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;)V
putstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
7: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
aload 1
aload 2
aload 3
iload 4
aload 5
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.registerSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;ZLorg/graalvm/compiler/options/OptionValues;)V
8: aload 6
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 6
monitorexit
11: athrow
12: 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 13 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 13 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 2 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 3 receiver Ljava/lang/Object;
0 13 4 trackNodeSourcePosition Z
0 13 5 options Lorg/graalvm/compiler/options/OptionValues;
Exception table:
from to target type
5 9 10 any
10 11 10 any
MethodParameters:
Name Flags
method
original
receiver
trackNodeSourcePosition
options
public void closeSnippetRegistration();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetRegistrationClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
private static org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets getEncodedSnippets();
descriptor: ()Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.encodedSnippets:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set<jdk.vm.ci.meta.ResolvedJavaMethod> getSnippetMethods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
ifnull 2
1: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.getSnippetMethods:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
Signature: ()Ljava/util/Set<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
static void setEncodedSnippets(org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets);
descriptor: (Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.encodedSnippets:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 encodedSnippets Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
MethodParameters:
Name Flags
encodedSnippets
public boolean encode(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.encode:(Lorg/graalvm/compiler/options/OptionValues;)Z
ireturn
3: StackMap locals: org.graalvm.compiler.hotspot.SymbolicSnippetEncoder
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 4 1 options Lorg/graalvm/compiler/options/OptionValues;
1 4 2 encoder Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
MethodParameters:
Name Flags
options
public org.graalvm.compiler.nodes.StructuredGraph getSnippet(jdk.vm.ci.meta.ResolvedJavaMethod, jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object[], boolean, org.graalvm.compiler.graph.NodeSourcePosition, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, 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: aload 0
aload 1
aload 3
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
aload 6
invokevirtual org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getEncodedSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 7
start local 7 1: aload 7
ifnull 3
2: aload 7
areturn
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.$assertionsDisabled:Z
ifne 4
getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 4
new java.lang.AssertionError
dup
ldc "should be using encoded snippets"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 4
aload 5
aload 6
invokespecial org.graalvm.compiler.replacements.ReplacementsImpl.getSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;ZLorg/graalvm/compiler/graph/NodeSourcePosition;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
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 5 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 5 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 5 2 recursiveEntry Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 5 3 args [Ljava/lang/Object;
0 5 4 trackNodeSourcePosition Z
0 5 5 replaceePosition Lorg/graalvm/compiler/graph/NodeSourcePosition;
0 5 6 options Lorg/graalvm/compiler/options/OptionValues;
1 5 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
method
recursiveEntry
args
trackNodeSourcePosition
replaceePosition
options
private org.graalvm.compiler.nodes.StructuredGraph getEncodedSnippet(jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Object[], org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;[Ljava/lang/Object;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 4
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
istore 5
start local 5 1: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 2
iload 5
ifeq 14
2: StackMap locals: int
StackMap stack:
ldc Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
dup
astore 6
monitorenter
3: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 5
4: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
aload 4
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.encode:(Lorg/graalvm/compiler/options/OptionValues;)Z
pop
5: StackMap locals: java.lang.Class
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getEncodedSnippets:()Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
ifnonnull 7
6: ldc "encoded snippets not found"
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
7: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getEncodedSnippets:()Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
aload 1
aload 0
aload 2
aload 3
aload 4
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets.getEncodedSnippet:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/replacements/ReplacementsImpl;[Ljava/lang/Object;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 7
start local 7 8: aload 7
ifnonnull 10
9: new java.lang.StringBuilder
dup
ldc "snippet not found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
10: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 7
aload 6
monitorexit
11: areturn
end local 7 12: StackMap locals: org.graalvm.compiler.hotspot.HotSpotReplacementsImpl jdk.vm.ci.meta.ResolvedJavaMethod java.lang.Object[] org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions org.graalvm.compiler.options.OptionValues int java.lang.Class
StackMap stack: java.lang.Throwable
aload 6
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.$assertionsDisabled:Z
ifne 15
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registeredSnippets:Ljdk/internal/vm/compiler/collections/EconomicSet;
ifnull 15
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.registeredSnippets:Ljdk/internal/vm/compiler/collections/EconomicSet;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.contains:(Ljava/lang/Object;)Z
ifne 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Asking for snippet method that was never registered: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals:
StackMap stack:
aconst_null
areturn
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 16 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 16 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 16 2 args [Ljava/lang/Object;
0 16 3 allowAssumptions Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
0 16 4 options Lorg/graalvm/compiler/options/OptionValues;
1 16 5 useEncodedGraphs Z
8 12 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
Exception table:
from to target type
3 11 12 any
12 13 12 any
MethodParameters:
Name Flags
method
args
allowAssumptions
options
public org.graalvm.compiler.nodes.StructuredGraph getMethodSubstitution(org.graalvm.compiler.nodes.graphbuilderconf.MethodSubstitutionPlugin, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.nodes.graphbuilderconf.IntrinsicContext$CompilationContext, org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.graalvm.compiler.core.common.GraalOptions.UseEncodedGraphs:Lorg/graalvm/compiler/options/OptionKey;
aload 5
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
istore 6
start local 6 1: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 2
iload 6
ifeq 7
2: StackMap locals: int
StackMap stack:
getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 4
3: getstatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.snippetEncoder:Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder;
aload 5
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder.encode:(Lorg/graalvm/compiler/options/OptionValues;)Z
pop
4: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getEncodedSnippets:()Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
ifnonnull 6
5: ldc "encoded snippets not found"
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.HotSpotReplacementsImpl.getEncodedSnippets:()Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$EncodedSnippets;
aload 1
aload 2
aload 0
aload 3
aload 4
aload 5
invokevirtual org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets.getMethodSubstitutionGraph:(Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/replacements/ReplacementsImpl;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
areturn
7: StackMap locals:
StackMap stack:
aconst_null
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 8 0 this Lorg/graalvm/compiler/hotspot/HotSpotReplacementsImpl;
0 8 1 plugin Lorg/graalvm/compiler/nodes/graphbuilderconf/MethodSubstitutionPlugin;
0 8 2 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 8 3 context Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext$CompilationContext;
0 8 4 allowAssumptions Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
0 8 5 options Lorg/graalvm/compiler/options/OptionValues;
1 8 6 useEncodedGraphs Z
MethodParameters:
Name Flags
plugin
original
context
allowAssumptions
options
}
SourceFile: "HotSpotReplacementsImpl.java"
InnerClasses:
EncodedSnippets = org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$EncodedSnippets of org.graalvm.compiler.hotspot.SymbolicSnippetEncoder
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions 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