final class jdk.tools.jaotc.Collector
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.Collector
super_class: java.lang.Object
{
private final jdk.tools.jaotc.Main main;
descriptor: Ljdk/tools/jaotc/Main;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.tools.jaotc.Main);
descriptor: (Ljdk/tools/jaotc/Main;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/Collector;
0 3 1 main Ljdk/tools/jaotc/Main;
MethodParameters:
Name Flags
main
java.util.Set<java.lang.Class<?>> collectClassesToCompile();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: new jdk.tools.jaotc.collect.FileSupport
dup
invokespecial jdk.tools.jaotc.collect.FileSupport.<init>:()V
astore 2
start local 2 2: new jdk.tools.jaotc.collect.ClassSearch
dup
invokespecial jdk.tools.jaotc.collect.ClassSearch.<init>:()V
astore 3
start local 3 3: aload 3
new jdk.tools.jaotc.collect.module.ModuleSourceProvider
dup
invokespecial jdk.tools.jaotc.collect.module.ModuleSourceProvider.<init>:()V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.addProvider:(Ljdk/tools/jaotc/collect/SourceProvider;)V
4: aload 3
new jdk.tools.jaotc.collect.classname.ClassNameSourceProvider
dup
aload 2
invokespecial jdk.tools.jaotc.collect.classname.ClassNameSourceProvider.<init>:(Ljdk/tools/jaotc/collect/FileSupport;)V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.addProvider:(Ljdk/tools/jaotc/collect/SourceProvider;)V
5: aload 3
new jdk.tools.jaotc.collect.jar.JarSourceProvider
dup
invokespecial jdk.tools.jaotc.collect.jar.JarSourceProvider.<init>:()V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.addProvider:(Ljdk/tools/jaotc/collect/SourceProvider;)V
6: aload 3
new jdk.tools.jaotc.collect.directory.DirectorySourceProvider
dup
aload 2
invokespecial jdk.tools.jaotc.collect.directory.DirectorySourceProvider.<init>:(Ljdk/tools/jaotc/collect/FileSupport;)V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.addProvider:(Ljdk/tools/jaotc/collect/SourceProvider;)V
7: aconst_null
astore 4
start local 4 8: aload 3
aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.files:Ljava/util/List;
aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.searchPath:Ljdk/tools/jaotc/collect/SearchPath;
invokevirtual jdk.tools.jaotc.collect.ClassSearch.search:(Ljava/util/List;Ljdk/tools/jaotc/collect/SearchPath;)Ljava/util/List;
astore 4
9: goto 13
StackMap locals: jdk.tools.jaotc.Collector java.util.Set jdk.tools.jaotc.collect.FileSupport jdk.tools.jaotc.collect.ClassSearch java.util.List
StackMap stack: java.lang.InternalError
10: astore 5
start local 5 11: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
aload 5
invokevirtual jdk.tools.jaotc.LogPrinter.reportError:(Ljava/lang/Throwable;)V
12: aconst_null
areturn
end local 5 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: jdk.tools.jaotc.Collector java.util.Set jdk.tools.jaotc.collect.FileSupport jdk.tools.jaotc.collect.ClassSearch java.util.List top java.util.Iterator
StackMap stack:
14: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.LoadedClass
astore 5
start local 5 15: aload 1
aload 5
invokevirtual jdk.tools.jaotc.LoadedClass.getLoadedClass:()Ljava/lang/Class;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 16: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/tools/jaotc/Collector;
1 18 1 classesToCompile Ljava/util/Set<Ljava/lang/Class<*>;>;
2 18 2 fileSupport Ljdk/tools/jaotc/collect/FileSupport;
3 18 3 lookup Ljdk/tools/jaotc/collect/ClassSearch;
8 18 4 foundClasses Ljava/util/List<Ljdk/tools/jaotc/LoadedClass;>;
11 13 5 e Ljava/lang/InternalError;
15 16 5 loadedClass Ljdk/tools/jaotc/LoadedClass;
Exception table:
from to target type
8 9 10 Class java.lang.InternalError
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
private void addMethods(jdk.tools.jaotc.AOTCompiledClass, jdk.vm.ci.meta.ResolvedJavaMethod[], jdk.tools.jaotc.CompilationSpec);
descriptor: (Ljdk/tools/jaotc/AOTCompiledClass;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 4
StackMap locals: jdk.tools.jaotc.Collector jdk.tools.jaotc.AOTCompiledClass jdk.vm.ci.meta.ResolvedJavaMethod[] jdk.tools.jaotc.CompilationSpec top int int jdk.vm.ci.meta.ResolvedJavaMethod[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: aload 0
aload 1
aload 4
aload 3
invokevirtual jdk.tools.jaotc.Collector.addMethod:(Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
end local 4 3: iinc 5 1
StackMap locals:
StackMap stack:
4: iload 5
iload 6
if_icmplt 1
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jaotc/Collector;
0 6 1 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
0 6 2 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 6 3 compilationRestrictions Ljdk/tools/jaotc/CompilationSpec;
2 3 4 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
aotClass
methods
compilationRestrictions
private void addMethod(jdk.tools.jaotc.AOTCompiledClass, jdk.vm.ci.meta.ResolvedJavaMethod, jdk.tools.jaotc.CompilationSpec);
descriptor: (Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.hasBytecodes:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual jdk.tools.jaotc.CompilationSpec.shouldCompileMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.filters:Ljdk/tools/jaotc/GraalFilters;
aload 2
invokevirtual jdk.tools.jaotc.GraalFilters.shouldCompileMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual jdk.tools.jaotc.AOTCompiledClass.addMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
7: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc " added "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
invokeinterface jdk.vm.ci.meta.Signature.toMethodDescriptor:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printlnVerbose:(Ljava/lang/String;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/tools/jaotc/Collector;
0 9 1 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
0 9 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 9 3 compilationRestrictions Ljdk/tools/jaotc/CompilationSpec;
MethodParameters:
Name Flags
aotClass
method
compilationRestrictions
java.util.List<jdk.tools.jaotc.AOTCompiledClass> collectMethodsToCompile(java.util.Set<java.lang.Class<?>>, jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljava/util/Set;Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: aload 0
invokevirtual jdk.tools.jaotc.Collector.collectSpecifiedMethods:()Ljdk/tools/jaotc/CompilationSpec;
astore 6
start local 6 4: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 41
StackMap locals: jdk.tools.jaotc.Collector java.util.Set jdk.vm.ci.meta.MetaAccessProvider int int java.util.List jdk.tools.jaotc.CompilationSpec top java.util.Iterator
StackMap stack:
5: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 7
start local 7 6: aload 2
aload 7
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 9
start local 9 7: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.filters:Ljdk/tools/jaotc/GraalFilters;
aload 9
invokevirtual jdk.tools.jaotc.GraalFilters.shouldCompileAnyMethodInClass:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 41
8: new jdk.tools.jaotc.AOTCompiledClass
dup
aload 9
invokespecial jdk.tools.jaotc.AOTCompiledClass.<init>:(Ljdk/vm/ci/meta/ResolvedJavaType;)V
astore 10
start local 10 9: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc " Scanning "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printlnVerbose:(Ljava/lang/String;)V
10: aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredConstructors:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 11
start local 11 11: aload 0
aload 10
aload 11
aload 6
invokevirtual jdk.tools.jaotc.Collector.addMethods:(Ljdk/tools/jaotc/AOTCompiledClass;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
12: iload 3
aload 11
arraylength
iadd
istore 3
end local 11 13: goto 19
StackMap locals: jdk.tools.jaotc.Collector java.util.Set jdk.vm.ci.meta.MetaAccessProvider int int java.util.List jdk.tools.jaotc.CompilationSpec java.lang.Class java.util.Iterator jdk.vm.ci.meta.ResolvedJavaType jdk.tools.jaotc.AOTCompiledClass
StackMap stack: java.lang.Throwable
14: astore 11
start local 11 15: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.ignoreClassLoadingErrors:Z
ifeq 18
16: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printError:(Ljava/lang/String;)V
17: goto 19
18: StackMap locals: java.lang.Throwable
StackMap stack:
new java.lang.InternalError
dup
aload 11
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 19: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 11
start local 11 20: aload 0
aload 10
aload 11
aload 6
invokevirtual jdk.tools.jaotc.Collector.addMethods:(Ljdk/tools/jaotc/AOTCompiledClass;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
21: iload 3
aload 11
arraylength
iadd
istore 3
end local 11 22: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 11
start local 11 24: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.ignoreClassLoadingErrors:Z
ifeq 27
25: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printError:(Ljava/lang/String;)V
26: goto 28
27: StackMap locals: java.lang.Throwable
StackMap stack:
new java.lang.InternalError
dup
aload 11
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 28: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getClassInitializer:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 11
start local 11 29: aload 11
ifnull 38
30: aload 0
aload 10
aload 11
aload 6
invokevirtual jdk.tools.jaotc.Collector.addMethod:(Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/CompilationSpec;)V
31: iinc 3 1
end local 11 32: goto 38
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 11
start local 11 34: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.ignoreClassLoadingErrors:Z
ifeq 37
35: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printError:(Ljava/lang/String;)V
36: goto 38
37: StackMap locals: java.lang.Throwable
StackMap stack:
new java.lang.InternalError
dup
aload 11
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 38: StackMap locals:
StackMap stack:
aload 10
invokevirtual jdk.tools.jaotc.AOTCompiledClass.hasMethods:()Z
ifeq 41
39: aload 5
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
40: iload 4
aload 10
invokevirtual jdk.tools.jaotc.AOTCompiledClass.getMethodCount:()I
iadd
istore 4
end local 10 end local 9 end local 7 41: StackMap locals: jdk.tools.jaotc.Collector java.util.Set jdk.vm.ci.meta.MetaAccessProvider int int java.util.List jdk.tools.jaotc.CompilationSpec top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
42: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
iload 3
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " methods total, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " methods to compile"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printInfo:(Ljava/lang/String;)V
43: aload 5
areturn
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 44 0 this Ljdk/tools/jaotc/Collector;
0 44 1 classesToCompile Ljava/util/Set<Ljava/lang/Class<*>;>;
0 44 2 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
1 44 3 total I
2 44 4 count I
3 44 5 classes Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
4 44 6 compilationRestrictions Ljdk/tools/jaotc/CompilationSpec;
6 41 7 c Ljava/lang/Class<*>;
7 41 9 resolvedJavaType Ljdk/vm/ci/meta/ResolvedJavaType;
9 41 10 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
11 13 11 ctors [Ljdk/vm/ci/meta/ResolvedJavaMethod;
15 19 11 e Ljava/lang/Throwable;
20 22 11 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
24 28 11 e Ljava/lang/Throwable;
29 32 11 clinit Ljdk/vm/ci/meta/ResolvedJavaMethod;
34 38 11 e Ljava/lang/Throwable;
Exception table:
from to target type
10 13 14 Class java.lang.Throwable
19 22 23 Class java.lang.Throwable
28 32 33 Class java.lang.Throwable
Signature: (Ljava/util/Set<Ljava/lang/Class<*>;>;Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
MethodParameters:
Name Flags
classesToCompile
metaAccess
private jdk.tools.jaotc.CompilationSpec collectSpecifiedMethods();
descriptor: ()Ljdk/tools/jaotc/CompilationSpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=1
start local 0 0: new jdk.tools.jaotc.CompilationSpec
dup
invokespecial jdk.tools.jaotc.CompilationSpec.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.tools.jaotc.Collector.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.methodList:Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 31
aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
3: new java.io.FileReader
dup
aload 2
invokespecial java.io.FileReader.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: new java.io.BufferedReader
dup
aload 3
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: goto 24
7: StackMap locals: jdk.tools.jaotc.Collector jdk.tools.jaotc.CompilationSpec java.lang.String java.io.FileReader java.io.BufferedReader java.lang.String
StackMap stack:
aload 5
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
start local 6 8: aload 6
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 24
9: aload 6
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 10: aload 7
arraylength
iconst_2
if_icmpne 22
11: aload 7
iconst_0
aaload
astore 8
start local 8 12: aload 7
iconst_1
aaload
astore 9
start local 9 13: aload 8
dup
astore 10
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-2074174337: 14
-1321148966: 15
default: 20
}
StackMap locals: jdk.tools.jaotc.Collector jdk.tools.jaotc.CompilationSpec java.lang.String java.io.FileReader java.io.BufferedReader java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String
StackMap stack:
14: aload 10
ldc "compileOnly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 20
StackMap locals:
StackMap stack:
15: aload 10
ldc "exclude"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 20
16: StackMap locals:
StackMap stack:
aload 1
aload 9
invokevirtual jdk.tools.jaotc.CompilationSpec.addCompileOnlyPattern:(Ljava/lang/String;)V
17: goto 24
18: StackMap locals:
StackMap stack:
aload 1
aload 9
invokevirtual jdk.tools.jaotc.CompilationSpec.addExcludePattern:(Ljava/lang/String;)V
19: goto 24
20: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Unrecognized command "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Ignoring\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n encountered in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 9 end local 8 21: goto 24
22: StackMap locals:
StackMap stack:
aload 6
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 24
23: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Ignoring malformed line:\n\t "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 end local 6 24: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 5
ifnonnull 7
25: aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 5 end local 4 end local 3 26: goto 31
StackMap locals: jdk.tools.jaotc.Collector jdk.tools.jaotc.CompilationSpec java.lang.String
StackMap stack: java.io.FileNotFoundException
27: astore 3
start local 3 28: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unable to open method list file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 29: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 30: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unable to read method list file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 31: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/tools/jaotc/Collector;
1 32 1 compilationRestrictions Ljdk/tools/jaotc/CompilationSpec;
2 32 2 methodListFileName Ljava/lang/String;
4 26 3 methListFile Ljava/io/FileReader;
5 26 4 readBuf Ljava/io/BufferedReader;
6 26 5 line Ljava/lang/String;
8 24 6 trimmedLine Ljava/lang/String;
10 24 7 components [Ljava/lang/String;
12 21 8 directive Ljava/lang/String;
13 21 9 pattern Ljava/lang/String;
28 29 3 e Ljava/io/FileNotFoundException;
30 31 3 e Ljava/io/IOException;
Exception table:
from to target type
3 26 27 Class java.io.FileNotFoundException
3 26 29 Class java.io.IOException
}
SourceFile: "Collector.java"