public final class jdk.tools.jaotc.Main
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.Main
super_class: java.lang.Object
{
final jdk.tools.jaotc.Options options;
descriptor: Ljdk/tools/jaotc/Options;
flags: (0x0010) ACC_FINAL
private java.io.PrintWriter log;
descriptor: Ljava/io/PrintWriter;
flags: (0x0002) ACC_PRIVATE
jdk.tools.jaotc.LogPrinter printer;
descriptor: Ljdk/tools/jaotc/LogPrinter;
flags: (0x0000)
jdk.tools.jaotc.GraalFilters filters;
descriptor: Ljdk/tools/jaotc/GraalFilters;
flags: (0x0000)
private static final int EXIT_OK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int EXIT_CMDERR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int EXIT_ABNORMAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.lang.String PROGNAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jaotc"
private static final java.lang.String JVM_VERSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "java.runtime.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.tools.jaotc.Main.JVM_VERSION:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.tools.jaotc.Options
dup
invokespecial jdk.tools.jaotc.Options.<init>:()V
putfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/Main;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new jdk.tools.jaotc.Main
dup
invokespecial jdk.tools.jaotc.Main.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual jdk.tools.jaotc.Main.run:([Ljava/lang/String;)I
istore 2
start local 2 2: iload 2
invokestatic java.lang.System.exit:(I)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 args [Ljava/lang/String;
1 4 1 t Ljdk/tools/jaotc/Main;
2 4 2 exitCode I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
private int run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
new java.io.PrintWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
putfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
1: aload 0
new jdk.tools.jaotc.LogPrinter
dup
aload 0
aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokespecial jdk.tools.jaotc.LogPrinter.<init>:(Ljdk/tools/jaotc/Main;Ljava/io/PrintWriter;)V
putfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
2: aload 0
aload 1
invokestatic jdk.tools.jaotc.Options.handleOptions:(Ljdk/tools/jaotc/Main;[Ljava/lang/String;)V
3: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.help:Z
ifeq 7
4: aload 0
invokevirtual jdk.tools.jaotc.Main.showHelp:()V
5: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.version:Z
ifeq 11
8: aload 0
invokevirtual jdk.tools.jaotc.Main.showVersion:()V
9: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc "Compiling "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.outputName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "..."
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
12: invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 13: aload 0
invokevirtual jdk.tools.jaotc.Main.run:()Z
ifne 16
14: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
15: iconst_4
ireturn
16: StackMap locals: long
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 4
start local 4 17: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc "Total time: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
lload 2
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
18: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
19: iconst_0
ireturn
end local 4 end local 2 20: StackMap locals: jdk.tools.jaotc.Main java.lang.String[]
StackMap stack: jdk.tools.jaotc.Options$BadArgs
astore 2
start local 2 21: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
aload 2
getfield jdk.tools.jaotc.Options$BadArgs.key:Ljava/lang/String;
aload 2
getfield jdk.tools.jaotc.Options$BadArgs.args:[Ljava/lang/Object;
invokevirtual jdk.tools.jaotc.LogPrinter.reportError:(Ljava/lang/String;[Ljava/lang/Object;)V
22: aload 2
getfield jdk.tools.jaotc.Options$BadArgs.showUsage:Z
ifeq 24
23: aload 0
invokevirtual jdk.tools.jaotc.Main.showUsage:()V
24: StackMap locals: jdk.tools.jaotc.Options$BadArgs
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
25: iconst_2
ireturn
end local 2 26: StackMap locals: jdk.tools.jaotc.Main java.lang.String[]
StackMap stack: java.lang.Exception
astore 2
start local 2 27: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
28: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
29: iconst_4
ireturn
end local 2 30: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
31: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
32: aload 6
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Ljdk/tools/jaotc/Main;
0 33 1 args [Ljava/lang/String;
13 20 2 start J
17 20 4 end J
21 26 2 e Ljdk/tools/jaotc/Options$BadArgs;
27 30 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 20 Class jdk.tools.jaotc.Options$BadArgs
7 9 20 Class jdk.tools.jaotc.Options$BadArgs
11 14 20 Class jdk.tools.jaotc.Options$BadArgs
16 18 20 Class jdk.tools.jaotc.Options$BadArgs
2 5 26 Class java.lang.Exception
7 9 26 Class java.lang.Exception
11 14 26 Class java.lang.Exception
16 18 26 Class java.lang.Exception
2 5 30 any
7 9 30 any
11 14 30 any
16 18 30 any
20 24 30 any
26 28 30 any
MethodParameters:
Name Flags
args
private boolean run();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=27, args_size=1
start local 0 0: invokestatic jdk.tools.jaotc.LogPrinter.openLog:()V
1: new jdk.tools.jaotc.Linker
dup
aload 0
invokespecial jdk.tools.jaotc.Linker.<init>:(Ljdk/tools/jaotc/Main;)V
astore 1
start local 1 2: aload 1
invokevirtual jdk.tools.jaotc.Linker.objFile:()Ljava/lang/String;
astore 2
start local 2 3: new jdk.tools.jaotc.Collector
dup
aload 0
invokespecial jdk.tools.jaotc.Collector.<init>:(Ljdk/tools/jaotc/Main;)V
astore 3
start local 3 4: aconst_null
astore 5
aconst_null
astore 6
5: new jdk.tools.jaotc.Timer
dup
aload 0
ldc ""
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
astore 7
start local 7 6: aload 3
invokevirtual jdk.tools.jaotc.Collector.collectClassesToCompile:()Ljava/util/Set;
astore 4
start local 4 7: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
aload 4
invokeinterface java.util.Set.size:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " classes found"
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
8: aload 7
ifnull 14
aload 7
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 14
end local 4 StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector top java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
9: astore 5
aload 7
ifnull 10
aload 7
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 7 StackMap locals:
StackMap stack:
10: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 6
aload 5
ifnonnull 12
aload 6
astore 5
goto 13
StackMap locals:
StackMap stack:
12: aload 5
aload 6
if_acmpeq 13
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 5
athrow
start local 4 14: StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.HOTSPOT_OPTIONS:Lorg/graalvm/compiler/options/OptionValues;
astore 5
start local 5 15: getstatic org.graalvm.compiler.hotspot.meta.HotSpotAOTProfilingPlugin$Options.TieredAOT:Lorg/graalvm/compiler/options/OptionKey;
aload 5
invokevirtual org.graalvm.compiler.options.OptionKey.hasBeenSet:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifne 17
16: new org.graalvm.compiler.options.OptionValues
dup
aload 5
getstatic org.graalvm.compiler.hotspot.meta.HotSpotAOTProfilingPlugin$Options.TieredAOT:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.tiered:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_0
anewarray java.lang.Object
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
astore 5
17: StackMap locals: org.graalvm.compiler.options.OptionValues
StackMap stack:
new org.graalvm.compiler.options.OptionValues
dup
aload 5
getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_2
anewarray java.lang.Object
dup
iconst_0
getstatic org.graalvm.compiler.core.common.GraalOptions.ImmutableCode:Lorg/graalvm/compiler/options/OptionKey;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
astore 5
18: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
aload 5
aconst_null
aload 5
invokestatic org.graalvm.compiler.hotspot.CompilerConfigurationFactory.selectFactory:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory.createCompiler:(Ljdk/vm/ci/runtime/JVMCIRuntime;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/CompilerConfigurationFactory;)Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
astore 6
start local 6 19: aload 6
invokeinterface org.graalvm.compiler.api.runtime.GraalJVMCICompiler.getGraalRuntime:()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider
astore 7
start local 7 20: aload 7
ldc Lorg/graalvm/compiler/runtime/RuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getCapability:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.graalvm.compiler.runtime.RuntimeProvider
invokeinterface org.graalvm.compiler.runtime.RuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/core/target/Backend;
checkcast org.graalvm.compiler.hotspot.HotSpotHostBackend
astore 8
start local 8 21: aload 8
invokevirtual org.graalvm.compiler.hotspot.HotSpotHostBackend.getProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 9
start local 9 22: aload 0
new jdk.tools.jaotc.GraalFilters
dup
aload 9
invokespecial jdk.tools.jaotc.GraalFilters.<init>:(Ljdk/vm/ci/meta/MetaAccessProvider;)V
putfield jdk.tools.jaotc.Main.filters:Ljdk/tools/jaotc/GraalFilters;
23: aconst_null
astore 11
aconst_null
astore 12
24: new jdk.tools.jaotc.Timer
dup
aload 0
ldc ""
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
astore 13
start local 13 25: aload 3
aload 4
aload 9
invokevirtual jdk.tools.jaotc.Collector.collectMethodsToCompile:(Ljava/util/Set;Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
astore 10
start local 10 26: aload 13
ifnull 32
aload 13
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 32
end local 10 StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider top java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
27: astore 11
aload 13
ifnull 28
aload 13
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 13 StackMap locals:
StackMap stack:
28: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 12
aload 11
ifnonnull 30
aload 12
astore 11
goto 31
StackMap locals:
StackMap stack:
30: aload 11
aload 12
if_acmpeq 31
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 11
athrow
start local 10 32: StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List
StackMap stack:
aconst_null
astore 11
aconst_null
astore 12
33: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 34
new jdk.tools.jaotc.Timer
dup
aload 0
ldc "Freeing memory"
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
goto 35
StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
34: aconst_null
StackMap locals:
StackMap stack: jdk.tools.jaotc.Timer
35: astore 13
start local 13 36: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
invokevirtual jdk.tools.jaotc.LogPrinter.printMemoryUsage:()V
37: aconst_null
astore 4
38: invokestatic java.lang.System.gc:()V
39: aload 13
ifnull 45
aload 13
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 45
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
40: astore 11
aload 13
ifnull 41
aload 13
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 13 StackMap locals:
StackMap stack:
41: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
42: astore 12
aload 11
ifnonnull 43
aload 12
astore 11
goto 44
StackMap locals:
StackMap stack:
43: aload 11
aload 12
if_acmpeq 44
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
44: aload 11
athrow
45: StackMap locals:
StackMap stack:
new jdk.tools.jaotc.AOTDynamicTypeStore
dup
invokespecial jdk.tools.jaotc.AOTDynamicTypeStore.<init>:()V
astore 11
start local 11 46: aload 11
invokestatic jdk.tools.jaotc.AOTCompiledClass.setDynamicTypeStore:(Ljdk/tools/jaotc/AOTDynamicTypeStore;)V
47: new jdk.tools.jaotc.AOTBackend
dup
aload 0
aload 5
aload 8
new org.graalvm.compiler.hotspot.meta.HotSpotInvokeDynamicPlugin
dup
aload 11
invokespecial org.graalvm.compiler.hotspot.meta.HotSpotInvokeDynamicPlugin.<init>:(Lorg/graalvm/compiler/hotspot/meta/HotSpotInvokeDynamicPlugin$DynamicTypeStore;)V
invokespecial jdk.tools.jaotc.AOTBackend.<init>:(Ljdk/tools/jaotc/Main;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/HotSpotBackend;Lorg/graalvm/compiler/hotspot/meta/HotSpotInvokeDynamicPlugin;)V
astore 12
start local 12 48: aload 12
invokevirtual jdk.tools.jaotc.AOTBackend.getProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
astore 13
start local 13 49: new jdk.tools.jaotc.AOTCompiler
dup
aload 0
aload 5
aload 12
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.threads:I
invokespecial jdk.tools.jaotc.AOTCompiler.<init>:(Ljdk/tools/jaotc/Main;Lorg/graalvm/compiler/options/OptionValues;Ljdk/tools/jaotc/AOTBackend;I)V
astore 14
start local 14 50: aload 14
aload 10
invokevirtual jdk.tools.jaotc.AOTCompiler.compileClasses:(Ljava/util/List;)Ljava/util/List;
astore 10
51: aload 7
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 15
start local 15 52: aload 12
invokevirtual jdk.tools.jaotc.AOTBackend.getGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
astore 16
start local 16 53: aload 16
ldc Lorg/graalvm/compiler/java/GraphBuilderPhase;
invokevirtual org.graalvm.compiler.phases.PhaseSuite.findPhase:(Ljava/lang/Class;)Ljava/util/ListIterator;
astore 17
start local 17 54: aload 17
invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
checkcast org.graalvm.compiler.java.GraphBuilderPhase
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase.getGraphBuilderConfig:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 18
start local 18 55: aconst_null
astore 19
aconst_null
astore 20
56: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 57
new jdk.tools.jaotc.Timer
dup
aload 0
ldc "Freeing memory"
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
goto 58
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration java.lang.Throwable java.lang.Throwable
StackMap stack:
57: aconst_null
StackMap locals:
StackMap stack: jdk.tools.jaotc.Timer
58: astore 21
start local 21 59: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
invokevirtual jdk.tools.jaotc.LogPrinter.printMemoryUsage:()V
60: aconst_null
astore 12
61: aconst_null
astore 14
62: invokestatic java.lang.System.gc:()V
63: aload 21
ifnull 69
aload 21
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 69
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
64: astore 19
aload 21
ifnull 65
aload 21
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 21 StackMap locals:
StackMap stack:
65: aload 19
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
66: astore 20
aload 19
ifnonnull 67
aload 20
astore 19
goto 68
StackMap locals:
StackMap stack:
67: aload 19
aload 20
if_acmpeq 68
aload 19
aload 20
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
68: aload 19
athrow
69: StackMap locals:
StackMap stack:
new jdk.tools.jaotc.binformat.BinaryContainer
dup
aload 5
aload 15
aload 18
getstatic jdk.tools.jaotc.Main.JVM_VERSION:Ljava/lang/String;
invokespecial jdk.tools.jaotc.binformat.BinaryContainer.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Ljava/lang/String;)V
astore 19
start local 19 70: new jdk.tools.jaotc.DataBuilder
dup
aload 0
aload 8
aload 10
aload 19
invokespecial jdk.tools.jaotc.DataBuilder.<init>:(Ljdk/tools/jaotc/Main;Lorg/graalvm/compiler/hotspot/HotSpotHostBackend;Ljava/util/List;Ljdk/tools/jaotc/binformat/BinaryContainer;)V
astore 20
start local 20 71: aconst_null
astore 21
aconst_null
astore 22
72: aload 5
new org.graalvm.compiler.printer.GraalDebugHandlersFactory
dup
aload 13
invokespecial org.graalvm.compiler.printer.GraalDebugHandlersFactory.<init>:(Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
invokestatic org.graalvm.compiler.debug.DebugContext.create:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugHandlersFactory;)Lorg/graalvm/compiler/debug/DebugContext;
astore 23
start local 23 73: aload 23
invokevirtual org.graalvm.compiler.debug.DebugContext.activate:()Lorg/graalvm/compiler/debug/DebugContext$Activation;
astore 24
start local 24 74: aload 20
aload 23
invokevirtual jdk.tools.jaotc.DataBuilder.prepareData:(Lorg/graalvm/compiler/debug/DebugContext;)V
75: aload 24
ifnull 78
aload 24
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
goto 78
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.debug.DebugContext$Activation
StackMap stack: java.lang.Throwable
76: astore 21
aload 24
ifnull 77
aload 24
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
end local 24 StackMap locals:
StackMap stack:
77: aload 21
athrow
StackMap locals:
StackMap stack:
78: aload 23
ifnull 86
aload 23
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
goto 86
StackMap locals:
StackMap stack: java.lang.Throwable
79: astore 22
aload 21
ifnonnull 80
aload 22
astore 21
goto 81
StackMap locals:
StackMap stack:
80: aload 21
aload 22
if_acmpeq 81
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
81: aload 23
ifnull 82
aload 23
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
end local 23 StackMap locals:
StackMap stack:
82: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
83: astore 22
aload 21
ifnonnull 84
aload 22
astore 21
goto 85
StackMap locals:
StackMap stack:
84: aload 21
aload 22
if_acmpeq 85
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
85: aload 21
athrow
86: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
aload 19
invokevirtual jdk.tools.jaotc.LogPrinter.containersInfo:(Ljdk/tools/jaotc/binformat/BinaryContainer;)V
87: aconst_null
astore 21
aconst_null
astore 22
88: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 89
new jdk.tools.jaotc.Timer
dup
aload 0
ldc "Freeing memory"
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
goto 90
StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
89: aconst_null
StackMap locals:
StackMap stack: jdk.tools.jaotc.Timer
90: astore 23
start local 23 91: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
invokevirtual jdk.tools.jaotc.LogPrinter.printMemoryUsage:()V
92: aconst_null
astore 8
93: aload 10
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 25
goto 96
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer top java.util.Iterator
StackMap stack:
94: aload 25
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jaotc.AOTCompiledClass
astore 24
start local 24 95: aload 24
invokevirtual jdk.tools.jaotc.AOTCompiledClass.clear:()V
end local 24 96: StackMap locals:
StackMap stack:
aload 25
invokeinterface java.util.Iterator.hasNext:()Z
ifne 94
97: aload 10
invokeinterface java.util.List.clear:()V
98: aconst_null
astore 10
99: aconst_null
astore 20
100: aload 19
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.freeMemory:()V
101: invokestatic java.lang.System.gc:()V
102: aload 23
ifnull 108
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 108
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
103: astore 21
aload 23
ifnull 104
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 23 StackMap locals:
StackMap stack:
104: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
105: astore 22
aload 21
ifnonnull 106
aload 22
astore 21
goto 107
StackMap locals:
StackMap stack:
106: aload 21
aload 22
if_acmpeq 107
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
107: aload 21
athrow
108: StackMap locals:
StackMap stack:
aconst_null
astore 21
aconst_null
astore 22
109: new jdk.tools.jaotc.Timer
dup
aload 0
new java.lang.StringBuilder
dup
ldc "Creating binary: "
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;
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
astore 23
start local 23 110: aload 19
aload 2
invokevirtual jdk.tools.jaotc.binformat.BinaryContainer.createBinary:(Ljava/lang/String;)V
111: aload 23
ifnull 117
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 117
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
112: astore 21
aload 23
ifnull 113
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 23 StackMap locals:
StackMap stack:
113: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
114: astore 22
aload 21
ifnonnull 115
aload 22
astore 21
goto 116
StackMap locals:
StackMap stack:
115: aload 21
aload 22
if_acmpeq 116
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
116: aload 21
athrow
117: StackMap locals:
StackMap stack:
aconst_null
astore 21
aconst_null
astore 22
118: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 119
new jdk.tools.jaotc.Timer
dup
aload 0
ldc "Freeing memory"
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
goto 120
StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
119: aconst_null
StackMap locals:
StackMap stack: jdk.tools.jaotc.Timer
120: astore 23
start local 23 121: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
invokevirtual jdk.tools.jaotc.LogPrinter.printMemoryUsage:()V
122: aconst_null
astore 19
123: invokestatic java.lang.System.gc:()V
124: aload 23
ifnull 130
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 130
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
125: astore 21
aload 23
ifnull 126
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 23 StackMap locals:
StackMap stack:
126: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
127: astore 22
aload 21
ifnonnull 128
aload 22
astore 21
goto 129
StackMap locals:
StackMap stack:
128: aload 21
aload 22
if_acmpeq 129
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
129: aload 21
athrow
130: StackMap locals:
StackMap stack:
aconst_null
astore 21
aconst_null
astore 22
131: new jdk.tools.jaotc.Timer
dup
aload 0
new java.lang.StringBuilder
dup
ldc "Creating shared library: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual jdk.tools.jaotc.Linker.libFile:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial jdk.tools.jaotc.Timer.<init>:(Ljdk/tools/jaotc/Main;Ljava/lang/String;)V
astore 23
start local 23 132: aload 1
invokevirtual jdk.tools.jaotc.Linker.link:()V
133: aload 23
ifnull 139
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
goto 139
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Linker java.lang.String jdk.tools.jaotc.Collector java.util.Set org.graalvm.compiler.options.OptionValues org.graalvm.compiler.api.runtime.GraalJVMCICompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.hotspot.HotSpotHostBackend jdk.vm.ci.meta.MetaAccessProvider java.util.List jdk.tools.jaotc.AOTDynamicTypeStore jdk.tools.jaotc.AOTBackend org.graalvm.compiler.api.replacements.SnippetReflectionProvider jdk.tools.jaotc.AOTCompiler org.graalvm.compiler.hotspot.GraalHotSpotVMConfig org.graalvm.compiler.phases.PhaseSuite java.util.ListIterator org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration jdk.tools.jaotc.binformat.BinaryContainer jdk.tools.jaotc.DataBuilder java.lang.Throwable java.lang.Throwable jdk.tools.jaotc.Timer
StackMap stack: java.lang.Throwable
134: astore 21
aload 23
ifnull 135
aload 23
invokevirtual jdk.tools.jaotc.Timer.close:()V
end local 23 StackMap locals:
StackMap stack:
135: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
136: astore 22
aload 21
ifnonnull 137
aload 22
astore 21
goto 138
StackMap locals:
StackMap stack:
137: aload 21
aload 22
if_acmpeq 138
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
138: aload 21
athrow
139: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
ldc "Final memory "
invokevirtual jdk.tools.jaotc.LogPrinter.printVerbose:(Ljava/lang/String;)V
140: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
invokevirtual jdk.tools.jaotc.LogPrinter.printMemoryUsage:()V
141: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
ldc ""
invokevirtual jdk.tools.jaotc.LogPrinter.printlnVerbose:(Ljava/lang/String;)V
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 142: goto 146
StackMap locals: jdk.tools.jaotc.Main
StackMap stack: java.lang.Throwable
143: astore 26
144: invokestatic jdk.tools.jaotc.LogPrinter.closeLog:()V
145: aload 26
athrow
146: StackMap locals:
StackMap stack:
invokestatic jdk.tools.jaotc.LogPrinter.closeLog:()V
147: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 148 0 this Ljdk/tools/jaotc/Main;
2 142 1 linker Ljdk/tools/jaotc/Linker;
3 142 2 objectFileName Ljava/lang/String;
4 142 3 collector Ljdk/tools/jaotc/Collector;
7 9 4 classesToCompile Ljava/util/Set<Ljava/lang/Class<*>;>;
14 142 4 classesToCompile Ljava/util/Set<Ljava/lang/Class<*>;>;
6 10 7 t Ljdk/tools/jaotc/Timer;
15 142 5 graalOptions Lorg/graalvm/compiler/options/OptionValues;
19 142 6 graalCompiler Lorg/graalvm/compiler/api/runtime/GraalJVMCICompiler;
20 142 7 runtime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
21 142 8 backend Lorg/graalvm/compiler/hotspot/HotSpotHostBackend;
22 142 9 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
26 27 10 classes Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
32 142 10 classes Ljava/util/List<Ljdk/tools/jaotc/AOTCompiledClass;>;
25 28 13 t Ljdk/tools/jaotc/Timer;
36 41 13 t Ljdk/tools/jaotc/Timer;
46 142 11 dynoStore Ljdk/tools/jaotc/AOTDynamicTypeStore;
48 142 12 aotBackend Ljdk/tools/jaotc/AOTBackend;
49 142 13 snippetReflection Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
50 142 14 compiler Ljdk/tools/jaotc/AOTCompiler;
52 142 15 graalHotSpotVMConfig Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
53 142 16 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
54 142 17 iterator Ljava/util/ListIterator<Lorg/graalvm/compiler/phases/BasePhase<-Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;>;
55 142 18 graphBuilderConfig Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
59 65 21 t Ljdk/tools/jaotc/Timer;
70 142 19 binaryContainer Ljdk/tools/jaotc/binformat/BinaryContainer;
71 142 20 dataBuilder Ljdk/tools/jaotc/DataBuilder;
73 82 23 debug Lorg/graalvm/compiler/debug/DebugContext;
74 77 24 a Lorg/graalvm/compiler/debug/DebugContext$Activation;
91 104 23 t Ljdk/tools/jaotc/Timer;
95 96 24 aotCompClass Ljdk/tools/jaotc/AOTCompiledClass;
110 113 23 t Ljdk/tools/jaotc/Timer;
121 126 23 t Ljdk/tools/jaotc/Timer;
132 135 23 t Ljdk/tools/jaotc/Timer;
Exception table:
from to target type
6 8 9 any
5 11 11 any
25 26 27 any
24 29 29 any
36 39 40 any
33 42 42 any
59 63 64 any
56 66 66 any
74 75 76 any
73 78 79 any
72 83 83 any
91 102 103 any
88 105 105 any
110 111 112 any
109 114 114 any
121 124 125 any
118 127 127 any
132 133 134 any
131 136 136 any
1 143 143 any
Exceptions:
throws java.lang.Exception
void handleError(jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Throwable, java.lang.String);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Throwable;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic jdk.tools.jaotc.JavaMethodInfo.uniqueMethodName:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.debug:Z
ifeq 3
2: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc "Failed compilation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokestatic jdk.tools.jaotc.GraalFilters.shouldIgnoreException:(Ljava/lang/Throwable;)Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Failed compilation of method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
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
6: aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.debug:Z
ifne 8
7: aload 0
getfield jdk.tools.jaotc.Main.printer:Ljdk/tools/jaotc/LogPrinter;
new java.lang.StringBuilder
dup
ldc "Failed compilation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.verbose:Z
ifeq 10
9: aload 2
aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintWriter;)V
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.options:Ljdk/tools/jaotc/Options;
getfield jdk.tools.jaotc.Options.exitOnError:Z
ifeq 12
11: iconst_1
invokestatic java.lang.System.exit:(I)V
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/tools/jaotc/Main;
0 13 1 resolvedMethod Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 13 2 e Ljava/lang/Throwable;
0 13 3 message Ljava/lang/String;
1 13 4 methodName Ljava/lang/String;
MethodParameters:
Name Flags
resolvedMethod
e
message
void warning(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/Main;
0 3 1 key Ljava/lang/String;
0 3 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
private void showUsage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc "Usage: jaotc <options> list"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc "use --help for a list of possible options"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
2: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/Main;
private void showHelp();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc "Usage: jaotc <options> list"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
2: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc " list A : separated list of class names, modules, jar files"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
3: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc " or directories which contain class files."
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
4: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
5: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
ldc "where options include:"
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
6: getstatic jdk.tools.jaotc.Options.recognizedOptions:[Ljdk/tools/jaotc/Options$Option;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 16
StackMap locals: jdk.tools.jaotc.Main top int int jdk.tools.jaotc.Options$Option[]
StackMap stack:
7: aload 4
iload 2
aaload
astore 1
start local 1 8: aload 1
getfield jdk.tools.jaotc.Options$Option.aliases:[Ljava/lang/String;
iconst_0
aaload
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 9: aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 10
aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 11
StackMap locals: jdk.tools.jaotc.Main jdk.tools.jaotc.Options$Option int int jdk.tools.jaotc.Options$Option[] java.lang.String
StackMap stack:
10: aload 5
StackMap locals:
StackMap stack: java.lang.String
11: astore 5
12: aload 1
invokevirtual jdk.tools.jaotc.Options$Option.isHidden:()Z
ifne 15
aload 5
ldc "h"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
aload 1
getfield jdk.tools.jaotc.Options$Option.help:Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
end local 5 end local 1 15: StackMap locals: jdk.tools.jaotc.Main top int int jdk.tools.jaotc.Options$Option[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
16: iload 2
iload 3
if_icmplt 7
17: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.flush:()V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/tools/jaotc/Main;
8 15 1 o Ljdk/tools/jaotc/Options$Option;
9 15 5 name Ljava/lang/String;
private void showVersion();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.Main.log:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "jaotc "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.tools.jaotc.Main.JVM_VERSION:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/Main;
}
SourceFile: "Main.java"
InnerClasses:
BadArgs = jdk.tools.jaotc.Options$BadArgs of jdk.tools.jaotc.Options
abstract Option = jdk.tools.jaotc.Options$Option of jdk.tools.jaotc.Options
public Activation = org.graalvm.compiler.debug.DebugContext$Activation of org.graalvm.compiler.debug.DebugContext
public Options = org.graalvm.compiler.hotspot.meta.HotSpotAOTProfilingPlugin$Options of org.graalvm.compiler.hotspot.meta.HotSpotAOTProfilingPlugin
public abstract DynamicTypeStore = org.graalvm.compiler.hotspot.meta.HotSpotInvokeDynamicPlugin$DynamicTypeStore of org.graalvm.compiler.hotspot.meta.HotSpotInvokeDynamicPlugin