public final class org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider implements org.graalvm.compiler.bytecode.BytecodeProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
super_class: java.lang.Object
{
private final java.lang.ClassLoader loader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.vm.compiler.collections.EconomicMap<java.lang.Class<?>, org.graalvm.compiler.replacements.classfile.Classfile> classfiles;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/Class<*>;Lorg/graalvm/compiler/replacements/classfile/Classfile;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<java.lang.String, java.lang.Class<?>> classes;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/Class<*>;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<jdk.vm.ci.meta.ResolvedJavaType, org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache> fields;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljdk/vm/ci/meta/ResolvedJavaType;Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$FieldsCache;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<jdk.vm.ci.meta.ResolvedJavaType, org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache> methods;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Ljdk/vm/ci/meta/ResolvedJavaType;Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$MethodsCache;>;
final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0010) ACC_FINAL
final org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection;
descriptor: Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
flags: (0x0010) 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 Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
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.replacements.classfile.ClassfileBytecodeProvider.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.api.replacements.SnippetReflectionProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classfiles:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classes:Ljdk/internal/vm/compiler/collections/EconomicMap;
3: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.fields:Ljdk/internal/vm/compiler/collections/EconomicMap;
4: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.methods:Ljdk/internal/vm/compiler/collections/EconomicMap;
5: aload 0
aload 1
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
6: aload 0
aload 2
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
7: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 8: aload 0
aload 3
ifnonnull 9
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
goto 10
StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider java.lang.ClassLoader
StackMap stack: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
9: aload 3
StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider jdk.vm.ci.meta.MetaAccessProvider org.graalvm.compiler.api.replacements.SnippetReflectionProvider java.lang.ClassLoader
StackMap stack: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider java.lang.ClassLoader
10: putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.loader:Ljava/lang/ClassLoader;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 12 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 12 2 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
8 12 3 cl Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
metaAccess
snippetReflection
public void <init>(jdk.vm.ci.meta.MetaAccessProvider, org.graalvm.compiler.api.replacements.SnippetReflectionProvider, java.lang.ClassLoader);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljava/lang/ClassLoader;)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
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classfiles:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classes:Ljdk/internal/vm/compiler/collections/EconomicMap;
3: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.fields:Ljdk/internal/vm/compiler/collections/EconomicMap;
4: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.methods:Ljdk/internal/vm/compiler/collections/EconomicMap;
5: aload 0
aload 1
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
6: aload 0
aload 2
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.snippetReflection:Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
7: aload 0
aload 3
putfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.loader:Ljava/lang/ClassLoader;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 9 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 9 2 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
0 9 3 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
metaAccess
snippetReflection
loader
public org.graalvm.compiler.bytecode.Bytecode getBytecode(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/bytecode/Bytecode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.resolveToClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.getClassfile:(Ljava/lang/Class;)Lorg/graalvm/compiler/replacements/classfile/Classfile;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
invokeinterface jdk.vm.ci.meta.Signature.toMethodDescriptor:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.replacements.classfile.Classfile.getCode:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 2 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
1 2 2 classfile Lorg/graalvm/compiler/replacements/classfile/Classfile;
MethodParameters:
Name Flags
method
public boolean supportsInvokedynamic();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
public boolean shouldRecordMethodDependencies();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
private synchronized org.graalvm.compiler.replacements.classfile.Classfile getClassfile(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/graalvm/compiler/replacements/classfile/Classfile;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 1
aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classfiles:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.classfile.Classfile
astore 2
start local 2 3: aload 2
ifnonnull 23
4: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 5: aconst_null
astore 4
aconst_null
astore 5
6: aload 1
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getClassfileAsStream:(Ljava/lang/Class;)Ljava/io/InputStream;
astore 6
start local 6 7: aload 6
ifnull 14
8: new java.io.DataInputStream
dup
aload 6
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 7
start local 7 9: new org.graalvm.compiler.replacements.classfile.Classfile
dup
aload 3
aload 7
aload 0
invokespecial org.graalvm.compiler.replacements.classfile.Classfile.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/io/DataInputStream;Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;)V
astore 2
10: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classfiles:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 2
12: aload 6
ifnull 13
aload 6
invokevirtual java.io.InputStream.close:()V
13: StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider java.lang.Class org.graalvm.compiler.replacements.classfile.Classfile jdk.vm.ci.meta.ResolvedJavaType java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.DataInputStream
StackMap stack: org.graalvm.compiler.replacements.classfile.Classfile
areturn
end local 7 14: StackMap locals:
StackMap stack:
aload 6
ifnull 20
aload 6
invokevirtual java.io.InputStream.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 4
aload 6
ifnull 16
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
16: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 5
aload 4
ifnonnull 18
aload 5
astore 4
goto 19
StackMap locals:
StackMap stack:
18: aload 4
aload 5
if_acmpeq 19
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 4
athrow
20: StackMap locals:
StackMap stack:
new java.lang.NoClassDefFoundError
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
end local 3 21: StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider java.lang.Class org.graalvm.compiler.replacements.classfile.Classfile
StackMap stack: java.io.IOException
astore 3
start local 3 22: new java.lang.NoClassDefFoundError
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.NoClassDefFoundError.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.lang.NoClassDefFoundError
athrow
end local 3 23: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 24 1 c Ljava/lang/Class<*>;
3 24 2 classfile Lorg/graalvm/compiler/replacements/classfile/Classfile;
5 21 3 type Ljdk/vm/ci/meta/ResolvedJavaType;
7 16 6 in Ljava/io/InputStream;
9 14 7 stream Ljava/io/DataInputStream;
22 23 3 e Ljava/io/IOException;
Exception table:
from to target type
7 12 15 any
6 13 17 any
14 17 17 any
4 13 21 Class java.io.IOException
14 21 21 Class java.io.IOException
Signature: (Ljava/lang/Class<*>;)Lorg/graalvm/compiler/replacements/classfile/Classfile;
MethodParameters:
Name Flags
c
synchronized java.lang.Class<?> resolveToClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classes:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 1: aload 2
ifnonnull 18
2: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 5
3: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic jdk.vm.ci.meta.JavaKind.fromPrimitiveOrVoidTypeChar:(C)Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.toJavaClass:()Ljava/lang/Class;
astore 2
4: goto 18
5: StackMap locals: java.lang.Class
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 8
7: StackMap locals: int
StackMap stack:
iinc 3 1
8: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpeq 7
9: iload 3
ifne 12
aload 1
ldc "L"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
aload 1
ldc ";"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
10: aload 1
iconst_1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 11: goto 13
end local 4 12: StackMap locals:
StackMap stack:
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 13: StackMap locals: java.lang.String
StackMap stack:
aload 4
iconst_1
aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.loader:Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 2
14: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.classes:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: goto 18
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
16: pop
17: new java.lang.NoClassDefFoundError
dup
aload 1
invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 18: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 19 1 descriptor Ljava/lang/String;
1 19 2 c Ljava/lang/Class<*>;
6 18 3 dimensions I
11 12 4 name Ljava/lang/String;
13 18 4 name Ljava/lang/String;
Exception table:
from to target type
13 15 16 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
descriptor
private synchronized org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache getMethods(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$MethodsCache;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.methods:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache
dup
invokespecial org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache.<init>:()V
astore 2
3: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.methods:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 5 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
1 5 2 methodsCache Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$MethodsCache;
MethodParameters:
Name Flags
type
private synchronized org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache getFields(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$FieldsCache;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.fields:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache
dup
invokespecial org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache.<init>:()V
astore 2
3: aload 0
getfield org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.fields:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 5 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
1 5 2 fieldsCache Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$FieldsCache;
MethodParameters:
Name Flags
type
jdk.vm.ci.meta.ResolvedJavaField findField(jdk.vm.ci.meta.ResolvedJavaType, java.lang.String, java.lang.String, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/String;Ljava/lang/String;Z)Ljdk/vm/ci/meta/ResolvedJavaField;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.getFields:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$FieldsCache;
aload 1
aload 2
aload 3
iload 4
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache.lookup:(Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/String;Ljava/lang/String;Z)Ljdk/vm/ci/meta/ResolvedJavaField;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 1 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 1 2 name Ljava/lang/String;
0 1 3 fieldType Ljava/lang/String;
0 1 4 isStatic Z
MethodParameters:
Name Flags
type
name
fieldType
isStatic
jdk.vm.ci.meta.ResolvedJavaMethod findMethod(jdk.vm.ci.meta.ResolvedJavaType, java.lang.String, java.lang.String, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/String;Ljava/lang/String;Z)Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider.getMethods:(Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider$MethodsCache;
aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache.lookup:(Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/lang/String;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 5
start local 5 1: aload 5
ifnull 3
aload 5
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isStatic:()Z
iload 4
if_icmpne 3
2: aload 5
areturn
3: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod
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 4 0 this Lorg/graalvm/compiler/replacements/classfile/ClassfileBytecodeProvider;
0 4 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 4 2 name Ljava/lang/String;
0 4 3 descriptor Ljava/lang/String;
0 4 4 isStatic Z
1 4 5 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
type
name
descriptor
isStatic
}
SourceFile: "ClassfileBytecodeProvider.java"
NestMembers:
org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldKey org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodKey org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache
InnerClasses:
final FieldKey = org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldKey of org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
final FieldsCache = org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$FieldsCache of org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
final MethodKey = org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodKey of org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider
final MethodsCache = org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider$MethodsCache of org.graalvm.compiler.replacements.classfile.ClassfileBytecodeProvider