public class org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider implements org.graalvm.compiler.api.replacements.SnippetReflectionProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider
super_class: java.lang.Object
{
private final org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider runtime;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider constantReflection;
descriptor: Ljdk/vm/ci/hotspot/HotSpotConstantReflectionProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.word.WordTypes wordTypes;
descriptor: Lorg/graalvm/compiler/word/WordTypes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Class<?> wordTypesType;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private java.lang.Class<?> runtimeType;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private java.lang.Class<?> configType;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
public void <init>(org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider, jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider, org.graalvm.compiler.word.WordTypes);
descriptor: (Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;Ljdk/vm/ci/hotspot/HotSpotConstantReflectionProvider;Lorg/graalvm/compiler/word/WordTypes;)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.hotspot.meta.HotSpotSnippetReflectionProvider.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
2: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.constantReflection:Ljdk/vm/ci/hotspot/HotSpotConstantReflectionProvider;
3: aload 0
aload 3
putfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
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/hotspot/meta/HotSpotSnippetReflectionProvider;
0 5 1 runtime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
0 5 2 constantReflection Ljdk/vm/ci/hotspot/HotSpotConstantReflectionProvider;
0 5 3 wordTypes Lorg/graalvm/compiler/word/WordTypes;
MethodParameters:
Name Flags
runtime
constantReflection
wordTypes
public jdk.vm.ci.meta.JavaConstant forObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.constantReflection:Ljdk/vm/ci/hotspot/HotSpotConstantReflectionProvider;
aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotConstantReflectionProvider.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotSnippetReflectionProvider;
0 1 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public <T> T asObject(java.lang.Class<T>, jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljava/lang/Class;Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface jdk.vm.ci.meta.JavaConstant.isNull:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
instanceof jdk.vm.ci.hotspot.HotSpotObjectConstant
ifeq 5
3: aload 2
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstant
astore 3
start local 3 4: aload 3
aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotObjectConstant.asObject:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 3 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotSnippetReflectionProvider;
0 6 1 type Ljava/lang/Class<TT;>;
0 6 2 constant Ljdk/vm/ci/meta/JavaConstant;
4 5 3 hsConstant Ljdk/vm/ci/hotspot/HotSpotObjectConstant;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljdk/vm/ci/meta/JavaConstant;)TT;
MethodParameters:
Name Flags
type
constant
public jdk.vm.ci.meta.JavaConstant forBoxed(jdk.vm.ci.meta.JavaKind, java.lang.Object);
descriptor: (Ljdk/vm/ci/meta/JavaKind;Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 2
1: aload 0
aload 2
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.vm.ci.meta.JavaConstant.forBoxedPrimitive:(Ljava/lang/Object;)Ljdk/vm/ci/meta/PrimitiveConstant;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotSnippetReflectionProvider;
0 3 1 kind Ljdk/vm/ci/meta/JavaKind;
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
kind
value
public <T> T getInjectedNodeIntrinsicParameter(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.configType:Ljava/lang/Class;
ifnull 2
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypesType:Ljava/lang/Class;
ifnull 2
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtimeType:Ljava/lang/Class;
ifnonnull 5
2: StackMap locals: org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypesType:Ljava/lang/Class;
3: aload 0
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtimeType:Ljava/lang/Class;
4: aload 0
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.configType:Ljava/lang/Class;
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypesType:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
6: aload 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.wordTypes:Lorg/graalvm/compiler/word/WordTypes;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtimeType:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
8: aload 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.runtime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.hotspot.meta.HotSpotSnippetReflectionProvider.configType:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 11
10: aload 1
aload 2
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotSnippetReflectionProvider;
0 12 1 type Ljava/lang/Class<TT;>;
1 12 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
type
public java.lang.Class<?> originalClass(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getMirror:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotSnippetReflectionProvider;
0 1 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
Signature: (Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
type
}
SourceFile: "HotSpotSnippetReflectionProvider.java"