final class jdk.tools.jaotc.AOTCompiler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.AOTCompiler
super_class: java.lang.Object
{
private final jdk.tools.jaotc.Main main;
descriptor: Ljdk/tools/jaotc/Main;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.options.OptionValues graalOptions;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.tools.jaotc.AOTCompiler$CompileQueue compileQueue;
descriptor: Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
flags: (0x0002) ACC_PRIVATE
private final jdk.tools.jaotc.AOTBackend backend;
descriptor: Ljdk/tools/jaotc/AOTBackend;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.tools.jaotc.Main, org.graalvm.compiler.options.OptionValues, jdk.tools.jaotc.AOTBackend, int);
descriptor: (Ljdk/tools/jaotc/Main;Lorg/graalvm/compiler/options/OptionValues;Ljdk/tools/jaotc/AOTBackend;I)V
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
2: aload 0
aload 2
putfield jdk.tools.jaotc.AOTCompiler.graalOptions:Lorg/graalvm/compiler/options/OptionValues;
3: aload 0
new jdk.tools.jaotc.AOTCompiler$CompileQueue
dup
aload 0
iload 4
invokespecial jdk.tools.jaotc.AOTCompiler$CompileQueue.<init>:(Ljdk/tools/jaotc/AOTCompiler;I)V
putfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
4: aload 0
aload 3
putfield jdk.tools.jaotc.AOTCompiler.backend:Ljdk/tools/jaotc/AOTBackend;
5: return
end local 4 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/AOTCompiler;
0 6 1 main Ljdk/tools/jaotc/Main;
0 6 2 graalOptions Lorg/graalvm/compiler/options/OptionValues;
0 6 3 aotBackend Ljdk/tools/jaotc/AOTBackend;
0 6 4 threads I
MethodParameters:
Name Flags
main
graalOptions
aotBackend
threads final
java.util.List<jdk.tools.jaotc.AOTCompiledClass> compileClasses(java.util.List<jdk.tools.jaotc.AOTCompiledClass>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc "Compiling with "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.getCorePoolSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " threads"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jaotc.LogPrinter.printlnInfo:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
ldc "."
invokevirtual jdk.tools.jaotc.LogPrinter.printInfo:(Ljava/lang/String;)V
2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: jdk.tools.jaotc.AOTCompiler java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.AOTCompiledClass
astore 2
start local 2 4: aload 2
invokevirtual jdk.tools.jaotc.AOTCompiledClass.getMethods:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: jdk.tools.jaotc.AOTCompiler java.util.List jdk.tools.jaotc.AOTCompiledClass java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaMethod
astore 4
start local 4 6: aload 0
aload 2
aload 4
invokevirtual jdk.tools.jaotc.AOTCompiler.enqueueMethod:(Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 2 8: StackMap locals: jdk.tools.jaotc.AOTCompiler java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 0
getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.shutdown:()V
10: aload 0
getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
ldc 9223372036854775807
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
11: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 12: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: jdk.tools.jaotc.AOTCompiler java.util.List java.util.List top java.util.Iterator
StackMap stack:
13: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.AOTCompiledClass
astore 3
start local 3 14: aload 3
invokevirtual jdk.tools.jaotc.AOTCompiledClass.hasCompiledMethods:()Z
ifeq 16
15: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 16: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
17: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/tools/jaotc/AOTCompiler;
0 18 1 classes Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
4 8 2 c Ljdk/tools/jaotc/AOTCompiledClass;
6 7 4 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
12 18 2 compiledClasses Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
14 16 3 compiledClass Ljdk/tools/jaotc/AOTCompiledClass;
Exceptions:
throws java.lang.InterruptedException
Signature: (Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;)Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
MethodParameters:
Name Flags
classes
private void enqueueMethod(jdk.tools.jaotc.AOTCompiledClass, jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jaotc.AOTCompilationTask
dup
aload 0
getfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
aload 0
getfield jdk.tools.jaotc.AOTCompiler.graalOptions:Lorg/graalvm/compiler/options/OptionValues;
aload 1
aload 2
aload 0
getfield jdk.tools.jaotc.AOTCompiler.backend:Ljdk/tools/jaotc/AOTBackend;
invokespecial jdk.tools.jaotc.AOTCompilationTask.<init>:(Ljdk/tools/jaotc/Main;Lorg/graalvm/compiler/options/OptionValues;Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/tools/jaotc/AOTBackend;)V
astore 3
start local 3 1: aload 0
getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
aload 3
invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.execute:(Ljava/lang/Runnable;)V
2: goto 5
StackMap locals: jdk.tools.jaotc.AOTCompiler jdk.tools.jaotc.AOTCompiledClass jdk.vm.ci.meta.ResolvedJavaMethod jdk.tools.jaotc.AOTCompilationTask
StackMap stack: java.util.concurrent.RejectedExecutionException
3: astore 4
start local 4 4: aload 4
invokevirtual java.util.concurrent.RejectedExecutionException.printStackTrace:()V
end local 4 5: StackMap locals:
StackMap stack:
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/AOTCompiler;
0 6 1 aotClass Ljdk/tools/jaotc/AOTCompiledClass;
0 6 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
1 6 3 task Ljdk/tools/jaotc/AOTCompilationTask;
4 5 4 e Ljava/util/concurrent/RejectedExecutionException;
Exception table:
from to target type
1 2 3 Class java.util.concurrent.RejectedExecutionException
MethodParameters:
Name Flags
aotClass
method
static void logCompilation(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: 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 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.tools.jaotc.LogPrinter.writeLog:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 methodName Ljava/lang/String;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
methodName
message
}
SourceFile: "AOTCompiler.java"
NestMembers:
jdk.tools.jaotc.AOTCompiler$CompileQueue
InnerClasses:
private CompileQueue = jdk.tools.jaotc.AOTCompiler$CompileQueue of jdk.tools.jaotc.AOTCompiler