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