public class com.oracle.svm.hosted.code.HostedReplacements extends com.oracle.svm.core.graal.meta.SubstrateReplacements
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.code.HostedReplacements
super_class: com.oracle.svm.core.graal.meta.SubstrateReplacements
{
private final com.oracle.svm.hosted.meta.HostedUniverse hUniverse;
descriptor: Lcom/oracle/svm/hosted/meta/HostedUniverse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.svm.core.graal.meta.SubstrateReplacements aReplacements;
descriptor: Lcom/oracle/svm/core/graal/meta/SubstrateReplacements;
flags: (0x0012) ACC_PRIVATE, 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 Lcom/oracle/svm/hosted/code/HostedReplacements;
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 com.oracle.svm.hosted.code.HostedReplacements.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.svm.hosted.meta.HostedUniverse, org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, jdk.vm.ci.code.TargetDescription, com.oracle.graal.pointsto.meta.HostedProviders, org.graalvm.compiler.bytecode.BytecodeProvider, org.graalvm.compiler.word.WordTypes);
descriptor: (Lcom/oracle/svm/hosted/meta/HostedUniverse;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;Lcom/oracle/graal/pointsto/meta/HostedProviders;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Lorg/graalvm/compiler/word/WordTypes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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: aload 0
aload 2
aload 3
aload 6
aload 4
aload 7
aconst_null
invokespecial com.oracle.svm.core.graal.meta.SubstrateReplacements.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Lorg/graalvm/compiler/bytecode/BytecodeProvider;Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/word/WordTypes;Lcom/oracle/svm/core/graal/meta/SubstrateReplacements$GraphMakerFactory;)V
1: aload 0
aload 1
putfield com.oracle.svm.hosted.code.HostedReplacements.hUniverse:Lcom/oracle/svm/hosted/meta/HostedUniverse;
2: aload 0
aload 5
invokevirtual com.oracle.graal.pointsto.meta.HostedProviders.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
checkcast com.oracle.svm.core.graal.meta.SubstrateReplacements
putfield com.oracle.svm.hosted.code.HostedReplacements.aReplacements:Lcom/oracle/svm/core/graal/meta/SubstrateReplacements;
3: return
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 4 0 this Lcom/oracle/svm/hosted/code/HostedReplacements;
0 4 1 hUniverse Lcom/oracle/svm/hosted/meta/HostedUniverse;
0 4 2 providers Lorg/graalvm/compiler/phases/util/Providers;
0 4 3 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 4 4 target Ljdk/vm/ci/code/TargetDescription;
0 4 5 anaylysisProviders Lcom/oracle/graal/pointsto/meta/HostedProviders;
0 4 6 bytecodeProvider Lorg/graalvm/compiler/bytecode/BytecodeProvider;
0 4 7 wordTypes Lorg/graalvm/compiler/word/WordTypes;
MethodParameters:
Name Flags
hUniverse
providers
snippetReflection
target
anaylysisProviders
bytecodeProvider
wordTypes
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=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic com.oracle.svm.hosted.code.HostedReplacements.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.svm.hosted.code.HostedReplacements.aReplacements:Lcom/oracle/svm/core/graal/meta/SubstrateReplacements;
aload 1
checkcast com.oracle.svm.hosted.meta.HostedMethod
getfield com.oracle.svm.hosted.meta.HostedMethod.wrapped:Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
aconst_null
aconst_null
iload 4
aconst_null
aload 5
invokevirtual com.oracle.svm.core.graal.meta.SubstrateReplacements.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;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: 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 2 0 this Lcom/oracle/svm/hosted/code/HostedReplacements;
0 2 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 2 2 original Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 2 3 receiver Ljava/lang/Object;
0 2 4 trackNodeSourcePosition Z
0 2 5 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
method
original
receiver
trackNodeSourcePosition
options
public void encodeSnippets();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.oracle.svm.hosted.code.HostedReplacements.aReplacements:Lcom/oracle/svm/core/graal/meta/SubstrateReplacements;
aload 0
invokedynamic apply(Lcom/oracle/svm/hosted/code/HostedReplacements;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
com/oracle/svm/hosted/code/HostedReplacements.replaceAnalysisObjects(Ljava/lang/Object;)Ljava/lang/Object; (7)
(Ljava/lang/Object;)Ljava/lang/Object;
invokespecial com.oracle.svm.core.graal.meta.SubstrateReplacements.copyFrom:(Lcom/oracle/svm/core/graal/meta/SubstrateReplacements;Ljava/util/function/Function;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/hosted/code/HostedReplacements;
private java.lang.Object replaceAnalysisObjects(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.meta.JavaType
ifeq 4
3: aload 0
getfield com.oracle.svm.hosted.code.HostedReplacements.hUniverse:Lcom/oracle/svm/hosted/meta/HostedUniverse;
aload 1
checkcast jdk.vm.ci.meta.JavaType
invokevirtual com.oracle.svm.hosted.meta.HostedUniverse.lookup:(Ljdk/vm/ci/meta/JavaType;)Lcom/oracle/svm/hosted/meta/HostedType;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.meta.JavaMethod
ifeq 6
5: aload 0
getfield com.oracle.svm.hosted.code.HostedReplacements.hUniverse:Lcom/oracle/svm/hosted/meta/HostedUniverse;
aload 1
checkcast jdk.vm.ci.meta.JavaMethod
invokevirtual com.oracle.svm.hosted.meta.HostedUniverse.lookup:(Ljdk/vm/ci/meta/JavaMethod;)Lcom/oracle/svm/hosted/meta/HostedMethod;
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.vm.ci.meta.JavaField
ifeq 8
7: aload 0
getfield com.oracle.svm.hosted.code.HostedReplacements.hUniverse:Lcom/oracle/svm/hosted/meta/HostedUniverse;
aload 1
checkcast jdk.vm.ci.meta.JavaField
invokevirtual com.oracle.svm.hosted.meta.HostedUniverse.lookup:(Ljdk/vm/ci/meta/JavaField;)Lcom/oracle/svm/hosted/meta/HostedField;
areturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lorg/graalvm/compiler/core/common/type/ObjectStamp;
if_acmpne 13
9: aload 1
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
astore 2
start local 2 10: aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
ifnonnull 12
11: aload 1
areturn
12: StackMap locals: org.graalvm.compiler.core.common.type.ObjectStamp
StackMap stack:
new org.graalvm.compiler.core.common.type.ObjectStamp
dup
aload 0
aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual com.oracle.svm.hosted.code.HostedReplacements.replaceAnalysisObjects:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaType
aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.isExactType:()Z
aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.nonNull:()Z
aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.alwaysNull:()Z
aload 2
invokevirtual org.graalvm.compiler.core.common.type.ObjectStamp.isAlwaysArray:()Z
invokespecial org.graalvm.compiler.core.common.type.ObjectStamp.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;ZZZZ)V
areturn
end local 2 13: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lcom/oracle/svm/core/graal/nodes/SubstrateNarrowOopStamp;
if_acmpne 20
14: aload 1
checkcast com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp
astore 2
start local 2 15: aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
ifnonnull 17
16: aload 1
areturn
17: StackMap locals: com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp
StackMap stack:
new com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp
dup
aload 0
aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokevirtual com.oracle.svm.hosted.code.HostedReplacements.replaceAnalysisObjects:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaType
aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.isExactType:()Z
aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.nonNull:()Z
aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.alwaysNull:()Z
18: aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.isAlwaysArray:()Z
aload 2
invokevirtual com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.getEncoding:()Lorg/graalvm/compiler/core/common/CompressEncoding;
19: invokespecial com.oracle.svm.core.graal.nodes.SubstrateNarrowOopStamp.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;ZZZZLorg/graalvm/compiler/core/common/CompressEncoding;)V
areturn
end local 2 20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lorg/graalvm/compiler/nodes/PiNode$PlaceholderStamp;
if_acmpne 23
21: getstatic com.oracle.svm.hosted.code.HostedReplacements.$assertionsDisabled:Z
ifne 22
aload 1
checkcast org.graalvm.compiler.nodes.PiNode$PlaceholderStamp
invokevirtual org.graalvm.compiler.nodes.PiNode$PlaceholderStamp.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
ifnull 22
new java.lang.AssertionError
dup
ldc "PlaceholderStamp never references a type"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
22: StackMap locals:
StackMap stack:
aload 1
areturn
23: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.core.common.type.AbstractObjectStamp
ifeq 25
24: new java.lang.StringBuilder
dup
ldc "missing replacement of a subclass of AbstractObjectStamp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getTypeName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.svm.core.util.VMError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
25: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.code.HostedReplacements.$assertionsDisabled:Z
ifne 26
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "analysis"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 26
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
26: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.code.HostedReplacements.$assertionsDisabled:Z
ifne 27
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "pointsto"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
27: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/oracle/svm/hosted/code/HostedReplacements;
0 28 1 obj Ljava/lang/Object;
10 13 2 stamp Lorg/graalvm/compiler/core/common/type/ObjectStamp;
15 20 2 stamp Lcom/oracle/svm/core/graal/nodes/SubstrateNarrowOopStamp;
MethodParameters:
Name Flags
obj
}
SourceFile: "HostedReplacements.java"
InnerClasses:
public abstract GraphMakerFactory = com.oracle.svm.core.graal.meta.SubstrateReplacements$GraphMakerFactory of com.oracle.svm.core.graal.meta.SubstrateReplacements
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final PlaceholderStamp = org.graalvm.compiler.nodes.PiNode$PlaceholderStamp of org.graalvm.compiler.nodes.PiNode