public abstract class org.graalvm.compiler.core.CompilationWrapper<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.core.CompilationWrapper
super_class: java.lang.Object
{
private final org.graalvm.compiler.debug.DiagnosticsOutputDirectory outputDirectory;
descriptor: Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<org.graalvm.compiler.core.CompilationWrapper$ExceptionAction, java.lang.Integer> problemsHandledPerAction;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;Ljava/lang/Integer;>;
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 Lorg/graalvm/compiler/core/CompilationWrapper;
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 org.graalvm.compiler.core.CompilationWrapper.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.debug.DiagnosticsOutputDirectory, java.util.Map<org.graalvm.compiler.core.CompilationWrapper$ExceptionAction, java.lang.Integer>);
descriptor: (Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.core.CompilationWrapper.outputDirectory:Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;
2: aload 0
aload 2
putfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/CompilationWrapper<TT;>;
0 4 1 outputDirectory Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;
0 4 2 problemsHandledPerAction Ljava/util/Map<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;Ljava/lang/Integer;>;
Signature: (Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;Ljava/util/Map<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
outputDirectory
problemsHandledPerAction
protected abstract T handleException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Ljava/lang/Throwable;)TT;
MethodParameters:
Name Flags
t
protected org.graalvm.compiler.core.CompilationWrapper$ExceptionAction lookupAction(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.options.EnumOptionKey<org.graalvm.compiler.core.CompilationWrapper$ExceptionAction>, java.lang.Throwable);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey;Ljava/lang/Throwable;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
if_acmpne 10
1: getstatic org.graalvm.compiler.core.GraalCompilerOptions.ExitVMOnException:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
2: getstatic org.graalvm.compiler.core.CompilationWrapper.$assertionsDisabled:Z
ifne 3
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getDefaultValue:()Ljava/lang/Object;
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.CompilationWrapper.$assertionsDisabled:Z
ifne 4
getstatic org.graalvm.compiler.core.GraalCompilerOptions.ExitVMOnException:Lorg/graalvm/compiler/options/OptionKey;
invokevirtual org.graalvm.compiler.options.OptionKey.getDefaultValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.EnumOptionKey.hasBeenSet:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 9
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpeq 9
5: ldc "WARNING: Ignoring %s=%s since %s=true has been explicitly specified.%n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
6: getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
aastore
dup
iconst_2
7: getstatic org.graalvm.compiler.core.GraalCompilerOptions.ExitVMOnException:Lorg/graalvm/compiler/options/OptionKey;
invokevirtual org.graalvm.compiler.options.OptionKey.getName:()Ljava/lang/String;
aastore
8: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
areturn
10: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.CompilationWrapper$ExceptionAction
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/core/CompilationWrapper<TT;>;
0 11 1 options Lorg/graalvm/compiler/options/OptionValues;
0 11 2 actionKey Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;
0 11 3 cause Ljava/lang/Throwable;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;Ljava/lang/Throwable;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
MethodParameters:
Name Flags
options
actionKey
cause
protected abstract T performCompilation(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/graalvm/compiler/debug/DebugContext;)TT;
MethodParameters:
Name Flags
debug
public abstract java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
protected abstract org.graalvm.compiler.debug.DebugContext createRetryDebugContext(org.graalvm.compiler.options.OptionValues, java.io.PrintStream);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/io/PrintStream;)Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
options
logStream
public final T run(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=24, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.CompilationWrapper.performCompilation:(Lorg/graalvm/compiler/debug/DebugContext;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 3: aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 3
start local 3 4: ldc "failure"
astore 4
start local 4 5: aload 2
instanceof jdk.vm.ci.code.BailoutException
ifeq 9
6: getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationBailoutAction:Lorg/graalvm/compiler/options/EnumOptionKey;
astore 5
start local 5 7: ldc "bailout"
astore 4
8: goto 11
end local 5 9: StackMap locals: java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String
StackMap stack:
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
astore 5
start local 5 10: ldc "failure"
astore 4
11: StackMap locals: org.graalvm.compiler.options.EnumOptionKey
StackMap stack:
getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
dup
astore 6
monitorenter
12: aload 0
aload 3
aload 5
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.lookupAction:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey;Ljava/lang/Throwable;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
astore 7
start local 7 13: aload 0
aload 3
aload 5
aload 7
invokevirtual org.graalvm.compiler.core.CompilationWrapper.adjustAction:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey;Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
astore 7
14: aload 7
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpne 17
15: aload 0
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.handleException:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 6
monitorexit
16: areturn
17: StackMap locals: org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction
StackMap stack:
aload 7
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Print:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpne 43
18: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 8
start local 8 19: aconst_null
astore 9
aconst_null
astore 10
20: new java.io.PrintStream
dup
aload 8
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 11
start local 11 21: aload 11
ldc "%s: Compilation of %s failed: "
iconst_2
anewarray java.lang.Object
dup
iconst_0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aastore
dup
iconst_1
aload 0
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
22: aload 2
aload 11
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
23: aload 11
ldc "To disable compilation %s notifications, set %s to %s (e.g., -Dgraal.%s=%s).%n"
iconst_5
anewarray java.lang.Object
dup
iconst_0
24: aload 4
aastore
dup
iconst_1
25: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_3
26: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_4
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
27: invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
28: aload 11
ldc "To capture more information for diagnosing or reporting a compilation %s, set %s to %s or %s (e.g., -Dgraal.%s=%s).%n"
bipush 6
anewarray java.lang.Object
dup
iconst_0
29: aload 4
aastore
dup
iconst_1
30: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Diagnose:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_3
31: getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_4
32: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_5
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Diagnose:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
33: invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
34: aload 11
ifnull 40
aload 11
invokevirtual java.io.PrintStream.close:()V
goto 40
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.ByteArrayOutputStream java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack: java.lang.Throwable
35: astore 9
aload 11
ifnull 36
aload 11
invokevirtual java.io.PrintStream.close:()V
end local 11 StackMap locals:
StackMap stack:
36: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 10
aload 9
ifnonnull 38
aload 10
astore 9
goto 39
StackMap locals:
StackMap stack:
38: aload 9
aload 10
if_acmpeq 39
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
39: aload 9
athrow
40: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.print:(Ljava/lang/String;)V
41: aload 0
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.handleException:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 6
monitorexit
42: areturn
end local 8 43: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugOptions.Dump:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.hasBeenSet:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 46
44: aload 0
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.handleException:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 6
monitorexit
45: areturn
46: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 47: aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.outputDirectory:Lorg/graalvm/compiler/debug/DiagnosticsOutputDirectory;
invokevirtual org.graalvm.compiler.debug.DiagnosticsOutputDirectory.getPath:()Ljava/lang/String;
astore 9
start local 9 48: aload 9
ifnull 59
49: aload 0
invokevirtual org.graalvm.compiler.core.CompilationWrapper.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.PathUtilities.sanitizeFileName:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 50: new java.io.File
dup
aload 9
aload 10
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
51: aload 8
invokevirtual java.io.File.mkdirs:()Z
pop
52: aload 8
invokevirtual java.io.File.exists:()Z
ifne 59
53: new java.lang.StringBuilder
dup
ldc "Warning: could not create diagnostics directory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
54: aconst_null
astore 8
end local 10 end local 9 55: goto 59
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File
StackMap stack: java.lang.Throwable
56: astore 9
start local 9 57: ldc "Warning: could not create Graal diagnostic directory"
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
58: aload 9
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
end local 9 59: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 10
start local 10 60: aconst_null
astore 11
aconst_null
astore 12
61: new java.io.PrintStream
dup
aload 10
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 13
start local 13 62: aload 13
ldc "%s: Compilation of %s failed:%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aastore
dup
iconst_1
aload 0
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
63: aload 2
aload 13
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
64: aload 13
ldc "To disable compilation %s notifications, set %s to %s (e.g., -Dgraal.%s=%s).%n"
iconst_5
anewarray java.lang.Object
dup
iconst_0
65: aload 4
aastore
dup
iconst_1
66: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_3
67: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_4
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
68: invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
69: aload 13
ldc "To print a message for a compilation %s without retrying the compilation, set %s to %s (e.g., -Dgraal.%s=%s).%n"
iconst_5
anewarray java.lang.Object
dup
iconst_0
70: aload 4
aastore
dup
iconst_1
71: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Print:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_3
72: aload 5
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getName:()Ljava/lang/String;
aastore
dup
iconst_4
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Print:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
73: invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
74: aload 8
ifnull 77
75: aload 13
new java.lang.StringBuilder
dup
ldc "Retrying compilation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
76: goto 78
77: StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File top java.io.ByteArrayOutputStream java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack:
aload 13
new java.lang.StringBuilder
dup
ldc "Not retrying compilation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " as the dump path could not be created."
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
78: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
astore 9
start local 9 79: aload 13
ifnull 85
aload 13
invokevirtual java.io.PrintStream.close:()V
goto 85
end local 9 StackMap locals:
StackMap stack: java.lang.Throwable
80: astore 11
aload 13
ifnull 81
aload 13
invokevirtual java.io.PrintStream.close:()V
end local 13 StackMap locals:
StackMap stack:
81: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
82: astore 12
aload 11
ifnonnull 83
aload 12
astore 11
goto 84
StackMap locals:
StackMap stack:
83: aload 11
aload 12
if_acmpeq 84
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
84: aload 11
athrow
start local 9 85: StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream
StackMap stack:
aload 9
invokestatic org.graalvm.compiler.debug.TTY.print:(Ljava/lang/String;)V
86: aload 8
ifnonnull 89
87: aload 0
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.handleException:(Ljava/lang/Throwable;)Ljava/lang/Object;
aload 6
monitorexit
88: areturn
89: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 8
ldc "retry.log"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 11
start local 11 90: aconst_null
astore 12
aconst_null
astore 13
91: new java.io.PrintStream
dup
new java.io.FileOutputStream
dup
aload 11
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 14
start local 14 92: aload 14
aload 9
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
93: aload 14
ifnull 101
aload 14
invokevirtual java.io.PrintStream.close:()V
goto 101
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintStream
StackMap stack: java.lang.Throwable
94: astore 12
aload 14
ifnull 95
aload 14
invokevirtual java.io.PrintStream.close:()V
end local 14 StackMap locals:
StackMap stack:
95: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
96: astore 13
aload 12
ifnonnull 97
aload 13
astore 12
goto 98
StackMap locals:
StackMap stack:
97: aload 12
aload 13
if_acmpeq 98
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
98: aload 12
athrow
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File
StackMap stack: java.io.IOException
99: astore 12
start local 12 100: ldc "Error writing to %s: %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
dup
iconst_1
aload 12
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 12 101: StackMap locals:
StackMap stack:
new org.graalvm.compiler.options.OptionValues
dup
aload 3
102: getstatic org.graalvm.compiler.debug.DebugOptions.Dump:Lorg/graalvm/compiler/options/OptionKey;
ldc ":3"
iconst_4
anewarray java.lang.Object
dup
iconst_0
103: getstatic org.graalvm.compiler.debug.DebugOptions.MethodFilter:Lorg/graalvm/compiler/options/OptionKey;
aastore
dup
iconst_1
aconst_null
aastore
dup
iconst_2
104: getstatic org.graalvm.compiler.debug.DebugOptions.DumpPath:Lorg/graalvm/compiler/options/OptionKey;
aastore
dup
iconst_3
aload 8
invokevirtual java.io.File.getPath:()Ljava/lang/String;
105: 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 12
start local 12 106: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 13
start local 13 107: new java.io.PrintStream
dup
aload 13
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 14
start local 14 108: aconst_null
astore 15
aconst_null
astore 16
109: aload 0
aload 12
aload 14
invokevirtual org.graalvm.compiler.core.CompilationWrapper.createRetryDebugContext:(Lorg/graalvm/compiler/options/OptionValues;Ljava/io/PrintStream;)Lorg/graalvm/compiler/debug/DebugContext;
astore 17
start local 17 110: aload 0
aload 17
invokevirtual org.graalvm.compiler.core.CompilationWrapper.performCompilation:(Lorg/graalvm/compiler/debug/DebugContext;)Ljava/lang/Object;
astore 18
start local 18 111: aload 14
ldc "There was no exception during retry."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
112: aload 0
aload 7
invokevirtual org.graalvm.compiler.core.CompilationWrapper.maybeExitVM:(Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)V
113: aload 18
astore 20
114: aload 17
ifnull 115
aload 17
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
115: StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext java.lang.Object top java.lang.Object
StackMap stack:
aload 14
invokevirtual java.io.PrintStream.close:()V
116: aconst_null
astore 21
aconst_null
astore 22
117: new java.io.FileOutputStream
dup
aload 11
iconst_1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;Z)V
astore 23
start local 23 118: aload 23
aload 13
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.io.FileOutputStream.write:([B)V
119: aload 23
ifnull 127
aload 23
invokevirtual java.io.FileOutputStream.close:()V
goto 127
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext java.lang.Object top java.lang.Object java.lang.Throwable java.lang.Throwable java.io.FileOutputStream
StackMap stack: java.lang.Throwable
120: astore 21
aload 23
ifnull 121
aload 23
invokevirtual java.io.FileOutputStream.close:()V
end local 23 StackMap locals:
StackMap stack:
121: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
122: astore 22
aload 21
ifnonnull 123
aload 22
astore 21
goto 124
StackMap locals:
StackMap stack:
123: aload 21
aload 22
if_acmpeq 124
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
124: aload 21
athrow
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext java.lang.Object top java.lang.Object
StackMap stack: java.lang.Throwable
125: astore 21
start local 21 126: ldc "Error writing to %s: %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
dup
iconst_1
aload 21
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 21 127: StackMap locals:
StackMap stack:
aload 6
monitorexit
128: aload 20
areturn
end local 18 StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
129: astore 15
130: aload 17
ifnull 131
aload 17
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
end local 17 StackMap locals:
StackMap stack:
131: aload 15
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
132: astore 16
aload 15
ifnonnull 133
aload 16
astore 15
goto 134
StackMap locals:
StackMap stack:
133: aload 15
aload 16
if_acmpeq 134
aload 15
aload 16
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
134: aload 15
athrow
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream
StackMap stack: java.lang.Throwable
135: astore 15
start local 15 136: aload 14
ldc "Exception during retry:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
137: aload 15
aload 14
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
138: aload 0
aload 2
invokevirtual org.graalvm.compiler.core.CompilationWrapper.handleException:(Ljava/lang/Throwable;)Ljava/lang/Object;
astore 16
start local 16 139: aload 0
aload 7
invokevirtual org.graalvm.compiler.core.CompilationWrapper.maybeExitVM:(Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)V
140: aload 16
astore 20
141: aload 14
invokevirtual java.io.PrintStream.close:()V
142: aconst_null
astore 21
aconst_null
astore 22
143: new java.io.FileOutputStream
dup
aload 11
iconst_1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;Z)V
astore 23
start local 23 144: aload 23
aload 13
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.io.FileOutputStream.write:([B)V
145: aload 23
ifnull 153
aload 23
invokevirtual java.io.FileOutputStream.close:()V
goto 153
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Object top top top java.lang.Object java.lang.Throwable java.lang.Throwable java.io.FileOutputStream
StackMap stack: java.lang.Throwable
146: astore 21
aload 23
ifnull 147
aload 23
invokevirtual java.io.FileOutputStream.close:()V
end local 23 StackMap locals:
StackMap stack:
147: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
148: astore 22
aload 21
ifnonnull 149
aload 22
astore 21
goto 150
StackMap locals:
StackMap stack:
149: aload 21
aload 22
if_acmpeq 150
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
150: aload 21
athrow
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream java.lang.Throwable java.lang.Object top top top java.lang.Object
StackMap stack: java.lang.Throwable
151: astore 21
start local 21 152: ldc "Error writing to %s: %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
dup
iconst_1
aload 21
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 21 153: StackMap locals:
StackMap stack:
aload 6
monitorexit
154: aload 20
areturn
end local 16 end local 15 155: StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream
StackMap stack: java.lang.Throwable
astore 19
156: aload 14
invokevirtual java.io.PrintStream.close:()V
157: aconst_null
astore 21
aconst_null
astore 22
158: new java.io.FileOutputStream
dup
aload 11
iconst_1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;Z)V
astore 23
start local 23 159: aload 23
aload 13
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokevirtual java.io.FileOutputStream.write:([B)V
160: aload 23
ifnull 168
aload 23
invokevirtual java.io.FileOutputStream.close:()V
goto 168
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream top top top top java.lang.Throwable top java.lang.Throwable java.lang.Throwable java.io.FileOutputStream
StackMap stack: java.lang.Throwable
161: astore 21
aload 23
ifnull 162
aload 23
invokevirtual java.io.FileOutputStream.close:()V
end local 23 StackMap locals:
StackMap stack:
162: aload 21
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
163: astore 22
aload 21
ifnonnull 164
aload 22
astore 21
goto 165
StackMap locals:
StackMap stack:
164: aload 21
aload 22
if_acmpeq 165
aload 21
aload 22
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
165: aload 21
athrow
StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.core.CompilationWrapper$ExceptionAction java.io.File java.lang.String java.io.ByteArrayOutputStream java.io.File org.graalvm.compiler.options.OptionValues java.io.ByteArrayOutputStream java.io.PrintStream top top top top java.lang.Throwable
StackMap stack: java.lang.Throwable
166: astore 21
start local 21 167: ldc "Error writing to %s: %s%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 11
aastore
dup
iconst_1
aload 21
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 21 168: StackMap locals:
StackMap stack:
aload 19
athrow
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 169: StackMap locals: org.graalvm.compiler.core.CompilationWrapper org.graalvm.compiler.debug.DebugContext java.lang.Throwable org.graalvm.compiler.options.OptionValues java.lang.String org.graalvm.compiler.options.EnumOptionKey org.graalvm.compiler.options.EnumOptionKey
StackMap stack: java.lang.Throwable
aload 6
monitorexit
170: athrow
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 171 0 this Lorg/graalvm/compiler/core/CompilationWrapper<TT;>;
0 171 1 initialDebug Lorg/graalvm/compiler/debug/DebugContext;
3 171 2 cause Ljava/lang/Throwable;
4 171 3 initialOptions Lorg/graalvm/compiler/options/OptionValues;
5 171 4 causeType Ljava/lang/String;
7 9 5 actionKey Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;
10 171 5 actionKey Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;
13 169 7 action Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
19 43 8 baos Ljava/io/ByteArrayOutputStream;
21 36 11 ps Ljava/io/PrintStream;
47 169 8 dumpPath Ljava/io/File;
48 55 9 dir Ljava/lang/String;
50 55 10 dumpName Ljava/lang/String;
57 59 9 t Ljava/lang/Throwable;
79 80 9 message Ljava/lang/String;
85 169 9 message Ljava/lang/String;
60 169 10 baos Ljava/io/ByteArrayOutputStream;
62 81 13 ps Ljava/io/PrintStream;
90 169 11 retryLogFile Ljava/io/File;
92 95 14 ps Ljava/io/PrintStream;
100 101 12 ioe Ljava/io/IOException;
106 169 12 retryOptions Lorg/graalvm/compiler/options/OptionValues;
107 169 13 logBaos Ljava/io/ByteArrayOutputStream;
108 169 14 ps Ljava/io/PrintStream;
110 131 17 retryDebug Lorg/graalvm/compiler/debug/DebugContext;
111 129 18 res TT;
136 155 15 e Ljava/lang/Throwable;
139 155 16 res TT;
118 121 23 fos Ljava/io/FileOutputStream;
144 147 23 fos Ljava/io/FileOutputStream;
159 162 23 fos Ljava/io/FileOutputStream;
126 127 21 e Ljava/lang/Throwable;
152 153 21 e Ljava/lang/Throwable;
167 168 21 e Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
21 34 35 any
20 37 37 any
47 55 56 Class java.lang.Throwable
62 79 80 any
61 82 82 any
92 93 94 any
91 96 96 any
90 99 99 Class java.io.IOException
118 119 120 any
117 122 122 any
116 125 125 Class java.lang.Throwable
110 114 129 any
109 115 132 any
129 132 132 any
108 115 135 Class java.lang.Throwable
129 135 135 Class java.lang.Throwable
144 145 146 any
143 148 148 any
142 151 151 Class java.lang.Throwable
108 115 155 any
129 141 155 any
159 160 161 any
158 163 163 any
157 166 166 Class java.lang.Throwable
12 16 169 any
17 42 169 any
43 45 169 any
46 88 169 any
89 128 169 any
129 154 169 any
155 170 169 any
Signature: (Lorg/graalvm/compiler/debug/DebugContext;)TT;
MethodParameters:
Name Flags
initialDebug
private void maybeExitVM(org.graalvm.compiler.core.CompilationWrapper$ExceptionAction);
descriptor: (Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpne 3
1: new java.lang.StringBuilder
dup
ldc "Exiting VM after retry compilation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
2: iconst_m1
invokestatic java.lang.System.exit:(I)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/core/CompilationWrapper<TT;>;
0 4 1 action Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
Signature: (Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)V
MethodParameters:
Name Flags
action
private org.graalvm.compiler.core.CompilationWrapper$ExceptionAction adjustAction(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.options.EnumOptionKey<org.graalvm.compiler.core.CompilationWrapper$ExceptionAction>, org.graalvm.compiler.core.CompilationWrapper$ExceptionAction);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey;Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
astore 4
start local 4 1: getstatic org.graalvm.compiler.core.GraalCompilerOptions.MaxCompilationProblemsPerAction:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 2: aload 4
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.ExitVM:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpeq 19
3: aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
dup
astore 6
monitorenter
4: goto 13
5: StackMap locals: org.graalvm.compiler.core.CompilationWrapper$ExceptionAction int java.util.Map
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
aload 4
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 7
start local 7 6: iload 7
iload 5
if_icmplt 14
7: iload 7
iload 5
if_icmpne 12
8: ldc "Warning: adjusting %s from %s to %s after %s (%d) failed compilations%n"
iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 4
aastore
dup
iconst_2
aload 4
invokevirtual org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.quieter:()Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
aastore
dup
iconst_3
9: getstatic org.graalvm.compiler.core.GraalCompilerOptions.MaxCompilationProblemsPerAction:Lorg/graalvm/compiler/options/OptionKey;
aastore
dup
iconst_4
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
11: aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
aload 4
iload 7
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals: int
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.quieter:()Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
astore 4
end local 7 13: StackMap locals:
StackMap stack:
aload 4
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Silent:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
if_acmpne 5
14: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
aload 4
aload 0
getfield org.graalvm.compiler.core.CompilationWrapper.problemsHandledPerAction:Ljava/util/Map;
aload 4
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 6
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 6
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
aload 4
areturn
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 20 0 this Lorg/graalvm/compiler/core/CompilationWrapper<TT;>;
0 20 1 initialOptions Lorg/graalvm/compiler/options/OptionValues;
0 20 2 actionKey Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;
0 20 3 initialAction Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
1 20 4 action Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
2 20 5 maxProblems I
6 13 7 problems I
Exception table:
from to target type
4 16 17 any
17 18 17 any
Signature: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/EnumOptionKey<Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;>;Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;)Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
MethodParameters:
Name Flags
initialOptions
actionKey
initialAction
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "CompilationWrapper.java"
NestMembers:
org.graalvm.compiler.core.CompilationWrapper$ExceptionAction
InnerClasses:
public final ExceptionAction = org.graalvm.compiler.core.CompilationWrapper$ExceptionAction of org.graalvm.compiler.core.CompilationWrapper