public class org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider implements jdk.vm.ci.meta.ConstantReflectionProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider
super_class: java.lang.Object
{
private final jdk.vm.ci.meta.ConstantReflectionProvider constantReflection;
descriptor: Ljdk/vm/ci/meta/ConstantReflectionProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
java.util.HashSet<jdk.vm.ci.meta.JavaConstant> safeConstants;
descriptor: Ljava/util/HashSet;
flags: (0x0000)
Signature: Ljava/util/HashSet<Ljdk/vm/ci/meta/JavaConstant;>;
void <init>(jdk.vm.ci.meta.ConstantReflectionProvider);
descriptor: (Ljdk/vm/ci/meta/ConstantReflectionProvider;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.safeConstants:Ljava/util/HashSet;
2: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 4 1 constantReflection Ljdk/vm/ci/meta/ConstantReflectionProvider;
MethodParameters:
Name Flags
constantReflection
public java.lang.Boolean constantEquals(jdk.vm.ci.meta.Constant, jdk.vm.ci.meta.Constant);
descriptor: (Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/Constant;)Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
aload 2
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.constantEquals:(Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/Constant;)Ljava/lang/Boolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 x Ljdk/vm/ci/meta/Constant;
0 1 2 y Ljdk/vm/ci/meta/Constant;
MethodParameters:
Name Flags
x
y
public java.lang.Integer readArrayLength(jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Integer;
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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.readArrayLength:(Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Integer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 array Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
array
public jdk.vm.ci.meta.JavaConstant readArrayElement(jdk.vm.ci.meta.JavaConstant, int);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;I)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
iload 2
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.readArrayElement:(Ljdk/vm/ci/meta/JavaConstant;I)Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 array Ljdk/vm/ci/meta/JavaConstant;
0 1 2 index I
MethodParameters:
Name Flags
array
index
public jdk.vm.ci.meta.JavaConstant readFieldValue(jdk.vm.ci.meta.ResolvedJavaField, jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
aload 2
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.readFieldValue:(Ljdk/vm/ci/meta/ResolvedJavaField;Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/JavaConstant;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.safeConstants:Ljava/util/HashSet;
aload 2
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifne 4
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "graalvm"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 4
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
ldc "jdk/vm/ci/"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 4
2: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaField.getName:()Ljava/lang/String;
ldc "TYPE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aconst_null
areturn
4: StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
aload 3
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 6
5: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.safeConstants:Ljava/util/HashSet;
aload 3
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 7 1 field Ljdk/vm/ci/meta/ResolvedJavaField;
0 7 2 receiver Ljdk/vm/ci/meta/JavaConstant;
1 7 3 javaConstant Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
field
receiver
public jdk.vm.ci.meta.JavaConstant boxPrimitive(jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;)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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.boxPrimitive:(Ljdk/vm/ci/meta/JavaConstant;)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/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 source Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
source
public jdk.vm.ci.meta.JavaConstant unboxPrimitive(jdk.vm.ci.meta.JavaConstant);
descriptor: (Ljdk/vm/ci/meta/JavaConstant;)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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.unboxPrimitive:(Ljdk/vm/ci/meta/JavaConstant;)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/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 source Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
source
public jdk.vm.ci.meta.JavaConstant forString(java.lang.String);
descriptor: (Ljava/lang/String;)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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.forString:(Ljava/lang/String;)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/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public jdk.vm.ci.meta.ResolvedJavaType asJavaType(jdk.vm.ci.meta.Constant);
descriptor: (Ljdk/vm/ci/meta/Constant;)Ljdk/vm/ci/meta/ResolvedJavaType;
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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaType:(Ljdk/vm/ci/meta/Constant;)Ljdk/vm/ci/meta/ResolvedJavaType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 constant Ljdk/vm/ci/meta/Constant;
MethodParameters:
Name Flags
constant
public jdk.vm.ci.meta.MethodHandleAccessProvider getMethodHandleAccess();
descriptor: ()Ljdk/vm/ci/meta/MethodHandleAccessProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.getMethodHandleAccess:()Ljdk/vm/ci/meta/MethodHandleAccessProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
public jdk.vm.ci.meta.MemoryAccessProvider getMemoryAccessProvider();
descriptor: ()Ljdk/vm/ci/meta/MemoryAccessProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.getMemoryAccessProvider:()Ljdk/vm/ci/meta/MemoryAccessProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
public jdk.vm.ci.meta.JavaConstant asJavaClass(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asJavaClass:(Ljdk/vm/ci/meta/ResolvedJavaType;)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/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
type
public jdk.vm.ci.meta.Constant asObjectHub(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/Constant;
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.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider.constantReflection:Ljdk/vm/ci/meta/ConstantReflectionProvider;
aload 1
invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.asObjectHub:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/Constant;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider;
0 1 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
type
}
SourceFile: "SymbolicSnippetEncoder.java"
NestHost: org.graalvm.compiler.hotspot.SymbolicSnippetEncoder
InnerClasses:
public HotSpotSubstrateConstantReflectionProvider = org.graalvm.compiler.hotspot.SymbolicSnippetEncoder$HotSpotSubstrateConstantReflectionProvider of org.graalvm.compiler.hotspot.SymbolicSnippetEncoder