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 // jdk.tools.jaotc.AOTCompiler this
        start local 1 // jdk.tools.jaotc.Main main
        start local 2 // org.graalvm.compiler.options.OptionValues graalOptions
        start local 3 // jdk.tools.jaotc.AOTBackend aotBackend
        start local 4 // int threads
         0: .line 113
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 114
            aload 0 /* this */
            aload 1 /* main */
            putfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
         2: .line 115
            aload 0 /* this */
            aload 2 /* graalOptions */
            putfield jdk.tools.jaotc.AOTCompiler.graalOptions:Lorg/graalvm/compiler/options/OptionValues;
         3: .line 116
            aload 0 /* this */
            new jdk.tools.jaotc.AOTCompiler$CompileQueue
            dup
            aload 0 /* this */
            iload 4 /* threads */
            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: .line 117
            aload 0 /* this */
            aload 3 /* aotBackend */
            putfield jdk.tools.jaotc.AOTCompiler.backend:Ljdk/tools/jaotc/AOTBackend;
         5: .line 118
            return
        end local 4 // int threads
        end local 3 // jdk.tools.jaotc.AOTBackend aotBackend
        end local 2 // org.graalvm.compiler.options.OptionValues graalOptions
        end local 1 // jdk.tools.jaotc.Main main
        end local 0 // jdk.tools.jaotc.AOTCompiler this
      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 // jdk.tools.jaotc.AOTCompiler this
        start local 1 // java.util.List classes
         0: .line 127
            aload 0 /* this */
            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 /* this */
            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: .line 128
            aload 0 /* this */
            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: .line 130
            aload 1 /* classes */
            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 /* c */
        start local 2 // jdk.tools.jaotc.AOTCompiledClass c
         4: .line 131
            aload 2 /* c */
            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 /* m */
        start local 4 // jdk.vm.ci.meta.ResolvedJavaMethod m
         6: .line 132
            aload 0 /* this */
            aload 2 /* c */
            aload 4 /* m */
            invokevirtual jdk.tools.jaotc.AOTCompiler.enqueueMethod:(Ljdk/tools/jaotc/AOTCompiledClass;Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
        end local 4 // jdk.vm.ci.meta.ResolvedJavaMethod m
         7: .line 131
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        end local 2 // jdk.tools.jaotc.AOTCompiledClass c
         8: .line 130
      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: .line 137
            aload 0 /* this */
            getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
            invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.shutdown:()V
        10: .line 138
            aload 0 /* this */
            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: .line 140
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* compiledClasses */
        start local 2 // java.util.List compiledClasses
        12: .line 141
            aload 1 /* classes */
            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 /* compiledClass */
        start local 3 // jdk.tools.jaotc.AOTCompiledClass compiledClass
        14: .line 142
            aload 3 /* compiledClass */
            invokevirtual jdk.tools.jaotc.AOTCompiledClass.hasCompiledMethods:()Z
            ifeq 16
        15: .line 143
            aload 2 /* compiledClasses */
            aload 3 /* compiledClass */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // jdk.tools.jaotc.AOTCompiledClass compiledClass
        16: .line 141
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 13
        17: .line 146
            aload 2 /* compiledClasses */
            areturn
        end local 2 // java.util.List compiledClasses
        end local 1 // java.util.List classes
        end local 0 // jdk.tools.jaotc.AOTCompiler this
      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 // jdk.tools.jaotc.AOTCompiler this
        start local 1 // jdk.tools.jaotc.AOTCompiledClass aotClass
        start local 2 // jdk.vm.ci.meta.ResolvedJavaMethod method
         0: .line 155
            new jdk.tools.jaotc.AOTCompilationTask
            dup
            aload 0 /* this */
            getfield jdk.tools.jaotc.AOTCompiler.main:Ljdk/tools/jaotc/Main;
            aload 0 /* this */
            getfield jdk.tools.jaotc.AOTCompiler.graalOptions:Lorg/graalvm/compiler/options/OptionValues;
            aload 1 /* aotClass */
            aload 2 /* method */
            aload 0 /* this */
            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 /* task */
        start local 3 // jdk.tools.jaotc.AOTCompilationTask task
         1: .line 157
            aload 0 /* this */
            getfield jdk.tools.jaotc.AOTCompiler.compileQueue:Ljdk/tools/jaotc/AOTCompiler$CompileQueue;
            aload 3 /* task */
            invokevirtual jdk.tools.jaotc.AOTCompiler$CompileQueue.execute:(Ljava/lang/Runnable;)V
         2: .line 158
            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 /* e */
        start local 4 // java.util.concurrent.RejectedExecutionException e
         4: .line 159
            aload 4 /* e */
            invokevirtual java.util.concurrent.RejectedExecutionException.printStackTrace:()V
        end local 4 // java.util.concurrent.RejectedExecutionException e
         5: .line 161
      StackMap locals:
      StackMap stack:
            return
        end local 3 // jdk.tools.jaotc.AOTCompilationTask task
        end local 2 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 1 // jdk.tools.jaotc.AOTCompiledClass aotClass
        end local 0 // jdk.tools.jaotc.AOTCompiler this
      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 // java.lang.String methodName
        start local 1 // java.lang.String message
         0: .line 164
            new java.lang.StringBuilder
            dup
            aload 1 /* message */
            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 /* methodName */
            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: .line 165
            return
        end local 1 // java.lang.String message
        end local 0 // java.lang.String methodName
      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