class org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy
super_class: java.lang.Object
{
private static final java.util.List<jdk.vm.ci.meta.ResolvedJavaField> embeddableFields;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaField;>;
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=4, locals=6, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/meta/HotSpotGraalConstantFieldProvider;
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.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
4: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
invokeinterface jdk.vm.ci.runtime.JVMCIRuntime.getHostJVMCIBackend:()Ljdk/vm/ci/runtime/JVMCIBackend;
invokevirtual jdk.vm.ci.runtime.JVMCIBackend.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 0
start local 0 5: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
ldc Ljava/lang/Boolean;
ldc "TRUE"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
ldc Ljava/lang/Boolean;
ldc "FALSE"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: ldc Ljava/lang/Character;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
astore 1
start local 1 8: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 9
ldc "java.lang.Character$CharacterCache"
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
aload 1
ldc "cache"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: ldc Ljava/lang/Byte;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
astore 2
start local 2 11: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 12
ldc "java.lang.Byte$ByteCache"
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
aload 2
ldc "cache"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: ldc Ljava/lang/Short;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
astore 3
start local 3 14: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 15
ldc "java.lang.Short$ShortCache"
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
aload 3
ldc "cache"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: ldc Ljava/lang/Integer;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
astore 4
start local 4 17: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 18
ldc "java.lang.Integer$IntegerCache"
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
aload 4
ldc "cache"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: ldc Ljava/lang/Long;
invokevirtual java.lang.Class.getDeclaredClasses:()[Ljava/lang/Class;
iconst_0
aaload
astore 5
start local 5 20: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 21
ldc "java.lang.Long$LongCache"
aload 5
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
21: StackMap locals: java.lang.Class
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
aload 5
ldc "cache"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
ldc Ljava/lang/Throwable;
ldc "UNASSIGNED_STACK"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
ldc Ljava/lang/Throwable;
ldc "SUPPRESSED_SENTINEL"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 24: goto 27
StackMap locals:
StackMap stack: java.lang.Exception
25: astore 0
start local 0 26: new org.graalvm.compiler.debug.GraalError
dup
aload 0
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 27: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
5 24 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
8 24 1 characterCacheClass Ljava/lang/Class<*>;
11 24 2 byteCacheClass Ljava/lang/Class<*>;
14 24 3 shortCacheClass Ljava/lang/Class<*>;
17 24 4 integerCacheClass Ljava/lang/Class<*>;
20 24 5 longCacheClass Ljava/lang/Class<*>;
26 27 0 e Ljava/lang/Exception;
Exception table:
from to target type
4 24 25 Class java.lang.SecurityException
4 24 25 Class java.lang.NoSuchFieldException
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotGraalConstantFieldProvider$ImmutableCodeLazy;
static boolean isCalledForSnippets(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 1
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 3
start local 3 4: aload 0
ldc Lorg/graalvm/compiler/replacements/ReplacementsImpl;
ldc "makeGraph"
iconst_3
anewarray java.lang.Class
dup
iconst_0
aload 3
aastore
dup
iconst_1
ldc [Ljava/lang/Object;
aastore
dup
iconst_2
aload 3
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 1
5: aload 0
ldc Lorg/graalvm/compiler/replacements/SnippetTemplate$AbstractTemplates;
ldc "template"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
end local 3 6: goto 9
StackMap locals: jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: java.lang.Exception
7: astore 3
start local 3 8: new org.graalvm.compiler.debug.GraalError
dup
aload 3
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 9: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 3
start local 3 10: aload 2
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
astore 4
start local 4 11: new java.lang.Exception
dup
invokespecial java.lang.Exception.<init>:()V
invokevirtual java.lang.Exception.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 5
start local 5 12: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 17
StackMap locals: jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod java.lang.StackTraceElement java.lang.StackTraceElement java.lang.StackTraceElement[] top int int java.lang.StackTraceElement[]
StackMap stack:
13: aload 9
iload 7
aaload
astore 6
start local 6 14: aload 3
aload 6
invokestatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider.equalsIgnoringLine:(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
ifne 15
aload 4
aload 6
invokestatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider.equalsIgnoringLine:(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
ifeq 16
15: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod java.lang.StackTraceElement java.lang.StackTraceElement java.lang.StackTraceElement[] java.lang.StackTraceElement int int java.lang.StackTraceElement[]
StackMap stack:
iconst_1
ireturn
end local 6 16: StackMap locals: jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaMethod java.lang.StackTraceElement java.lang.StackTraceElement java.lang.StackTraceElement[] top int int java.lang.StackTraceElement[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 8
if_icmplt 13
18: iconst_0
ireturn
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 19 0 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
2 19 1 makeGraphMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 19 2 initMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 6 3 rjm Ljava/lang/Class<*>;
8 9 3 e Ljava/lang/Exception;
10 19 3 makeGraphSTE Ljava/lang/StackTraceElement;
11 19 4 initSTE Ljava/lang/StackTraceElement;
12 19 5 stackTrace [Ljava/lang/StackTraceElement;
14 16 6 element Ljava/lang/StackTraceElement;
Exception table:
from to target type
3 6 7 Class java.lang.NoSuchMethodException
3 6 7 Class java.lang.SecurityException
MethodParameters:
Name Flags
metaAccess
static boolean isEmbeddable(jdk.vm.ci.meta.ResolvedJavaField);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaField;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.$assertionsDisabled:Z
ifne 1
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy.embeddableFields:Ljava/util/List;
aload 0
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 field Ljdk/vm/ci/meta/ResolvedJavaField;
MethodParameters:
Name Flags
field
}
SourceFile: "HotSpotGraalConstantFieldProvider.java"
NestHost: org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider
InnerClasses:
ImmutableCodeLazy = org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider$ImmutableCodeLazy of org.graalvm.compiler.hotspot.meta.HotSpotGraalConstantFieldProvider
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate