class jdk.tools.jaotc.AOTCompiler$CompileQueue extends java.util.concurrent.ThreadPoolExecutor
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jaotc.AOTCompiler$CompileQueue
super_class: java.util.concurrent.ThreadPoolExecutor
{
private final long startTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger successfulMethodCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicInteger failedMethodCount;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.tools.jaotc.AOTCompiler this$0;
descriptor: Ljdk/tools/jaotc/AOTCompiler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.tools.jaotc.AOTCompiler, int);
descriptor: (Ljdk/tools/jaotc/AOTCompiler;I)V
flags: (0x0000)
Code:
stack=8, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
1: aload 0
iload 2
iload 2
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new java.util.concurrent.PriorityBlockingQueue
dup
invokespecial java.util.concurrent.PriorityBlockingQueue.<init>:()V
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;)V
2: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield jdk.tools.jaotc.AOTCompiler$CompileQueue.successfulMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
3: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield jdk.tools.jaotc.AOTCompiler$CompileQueue.failedMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
4: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield jdk.tools.jaotc.AOTCompiler$CompileQueue.startTime:J
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
0 6 2 threads I
MethodParameters:
Name Flags
this$0 final
threads final
protected void afterExecute(java.lang.Runnable, java.lang.Throwable);
descriptor: (Ljava/lang/Runnable;Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast jdk.tools.jaotc.AOTCompilationTask
astore 3
start local 3 1: aload 3
invokevirtual jdk.tools.jaotc.AOTCompilationTask.getResult:()Ljdk/tools/jaotc/CompiledMethodInfo;
ifnull 9
2: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.successfulMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
istore 4
start local 4 3: iload 4
bipush 100
irem
ifne 5
4: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
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
5: StackMap locals: jdk.tools.jaotc.AOTCompilationTask int
StackMap stack:
aload 3
invokevirtual jdk.tools.jaotc.AOTCompilationTask.getResult:()Ljdk/tools/jaotc/CompiledMethodInfo;
astore 5
start local 5 6: aload 5
ifnull 13
7: aload 3
invokevirtual jdk.tools.jaotc.AOTCompilationTask.getHolder:()Ljdk/tools/jaotc/AOTCompiledClass;
aload 5
invokevirtual jdk.tools.jaotc.AOTCompiledClass.addCompiledMethod:(Ljdk/tools/jaotc/CompiledMethodInfo;)Z
pop
end local 5 end local 4 8: goto 13
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.failedMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
10: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
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.printlnVerbose:(Ljava/lang/String;)V
11: aload 3
invokevirtual jdk.tools.jaotc.AOTCompilationTask.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 4
start local 4 12: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
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 " failed "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
0 14 1 r Ljava/lang/Runnable;
0 14 2 t Ljava/lang/Throwable;
1 14 3 task Ljdk/tools/jaotc/AOTCompilationTask;
3 8 4 count I
6 8 5 result Ljdk/tools/jaotc/CompiledMethodInfo;
12 13 4 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
r
t
protected void terminated();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 1
start local 1 1: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.successfulMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 3
start local 3 2: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.failedMethodCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 4
start local 4 3: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
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.printlnInfo:(Ljava/lang/String;)V
4: aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.this$0:Ljdk/tools/jaotc/AOTCompiler;
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
iload 3
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " methods compiled, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " methods failed ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
aload 0
getfield jdk.tools.jaotc.AOTCompiler$CompileQueue.startTime:J
lsub
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " ms)"
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
5: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
1 6 1 endTime J
2 6 3 success I
3 6 4 failed I
}
SourceFile: "AOTCompiler.java"
NestHost: jdk.tools.jaotc.AOTCompiler
InnerClasses:
private CompileQueue = jdk.tools.jaotc.AOTCompiler$CompileQueue of jdk.tools.jaotc.AOTCompiler