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
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 Ljdk/tools/jaotc/Collector;
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 jdk.tools.jaotc.Collector.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
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;
aload 0
invokedynamic accept(Ljdk/tools/jaotc/Collector;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
jdk/tools/jaotc/Collector.handleLoadingError(Ljava/lang/String;Ljava/lang/Throwable;)V (7)
(Ljava/lang/String;Ljava/lang/Throwable;)V
invokevirtual jdk.tools.jaotc.collect.ClassSearch.search:(Ljava/util/List;Ljdk/tools/jaotc/collect/SearchPath;Ljava/util/function/BiConsumer;)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=5, 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:
getstatic jdk.tools.jaotc.Collector.$assertionsDisabled:Z
ifne 7
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getFingerprint:()J
lconst_0
lcmp
ifne 7
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "no fingerprint for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual jdk.tools.jaotc.AOTCompiledClass.addMethod:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
8: 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
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jaotc/Collector;
0 10 1 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
0 10 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 10 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 32
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 32
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 16
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
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 11
invokevirtual jdk.tools.jaotc.Collector.handleLoadingError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 11 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 11
start local 11 17: 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
18: iload 3
aload 11
arraylength
iadd
istore 3
end local 11 19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 11
start local 11 21: aload 0
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 11
invokevirtual jdk.tools.jaotc.Collector.handleLoadingError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 11 22: StackMap locals:
StackMap stack:
aload 9
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getClassInitializer:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 11
start local 11 23: aload 11
ifnull 29
24: 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
25: iinc 3 1
end local 11 26: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 11
start local 11 28: aload 0
aload 7
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 11
invokevirtual jdk.tools.jaotc.Collector.handleLoadingError:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 11 29: StackMap locals:
StackMap stack:
aload 10
invokevirtual jdk.tools.jaotc.AOTCompiledClass.hasMethods:()Z
ifeq 32
30: aload 5
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: iload 4
aload 10
invokevirtual jdk.tools.jaotc.AOTCompiledClass.getMethodCount:()I
iadd
istore 4
end local 10 end local 9 end local 7 32: 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
33: 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
34: 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 35 0 this Ljdk/tools/jaotc/Collector;
0 35 1 classesToCompile Ljava/util/Set<Ljava/lang/Class<*>;>;
0 35 2 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
1 35 3 total I
2 35 4 count I
3 35 5 classes Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
4 35 6 compilationRestrictions Ljdk/tools/jaotc/CompilationSpec;
6 32 7 c Ljava/lang/Class<*>;
7 32 9 resolvedJavaType Ljdk/vm/ci/meta/ResolvedJavaType;
9 32 10 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
11 13 11 ctors [Ljdk/vm/ci/meta/ResolvedJavaMethod;
15 16 11 e Ljava/lang/Throwable;
17 19 11 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
21 22 11 e Ljava/lang/Throwable;
23 26 11 clinit Ljdk/vm/ci/meta/ResolvedJavaMethod;
28 29 11 e Ljava/lang/Throwable;
Exception table:
from to target type
10 13 14 Class java.lang.Throwable
16 19 20 Class java.lang.Throwable
22 26 27 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
private void handleLoadingError(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: 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 3
1: 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 1
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 2
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
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
aload 2
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/Collector;
0 5 1 name Ljava/lang/String;
0 5 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
name
t
}
SourceFile: "Collector.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles