public class org.graalvm.compiler.core.GraalCompiler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.GraalCompiler
super_class: java.lang.Object
{
private static final org.graalvm.compiler.debug.TimerKey CompilerTimer;
descriptor: Lorg/graalvm/compiler/debug/TimerKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.debug.TimerKey FrontEnd;
descriptor: Lorg/graalvm/compiler/debug/TimerKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/GraalCompiler;
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.GraalCompiler.$assertionsDisabled:Z
3: ldc "GraalCompiler"
invokestatic org.graalvm.compiler.debug.DebugContext.timer:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/TimerKey;
ldc "Time spent in compilation (excludes code installation)."
invokeinterface org.graalvm.compiler.debug.TimerKey.doc:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/TimerKey;
putstatic org.graalvm.compiler.core.GraalCompiler.CompilerTimer:Lorg/graalvm/compiler/debug/TimerKey;
4: ldc "FrontEnd"
invokestatic org.graalvm.compiler.debug.DebugContext.timer:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/TimerKey;
ldc "Time spent processing HIR."
invokeinterface org.graalvm.compiler.debug.TimerKey.doc:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/TimerKey;
putstatic org.graalvm.compiler.core.GraalCompiler.FrontEnd:Lorg/graalvm/compiler/debug/TimerKey;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/GraalCompiler;
public static <T extends org.graalvm.compiler.code.CompilationResult> T compileGraph(org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.core.target.Backend, org.graalvm.compiler.phases.PhaseSuite<org.graalvm.compiler.phases.tiers.HighTierContext>, org.graalvm.compiler.phases.OptimisticOptimizations, jdk.vm.ci.meta.ProfilingInfo, org.graalvm.compiler.phases.tiers.Suites, org.graalvm.compiler.lir.phases.LIRSuites, T, org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory, );
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;Lorg/graalvm/compiler/lir/phases/LIRSuites;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Z)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=14, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: new org.graalvm.compiler.core.GraalCompiler$Request
dup
aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 7
aload 8
aload 9
aload 10
1: iload 11
2: invokespecial org.graalvm.compiler.core.GraalCompiler$Request.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;Lorg/graalvm/compiler/lir/phases/LIRSuites;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Z)V
invokestatic org.graalvm.compiler.core.GraalCompiler.compile:(Lorg/graalvm/compiler/core/GraalCompiler$Request;)Lorg/graalvm/compiler/code/CompilationResult;
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 1 installedCodeOwner Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 2 providers Lorg/graalvm/compiler/phases/util/Providers;
0 3 3 backend Lorg/graalvm/compiler/core/target/Backend;
0 3 4 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
0 3 5 optimisticOpts Lorg/graalvm/compiler/phases/OptimisticOptimizations;
0 3 6 profilingInfo Ljdk/vm/ci/meta/ProfilingInfo;
0 3 7 suites Lorg/graalvm/compiler/phases/tiers/Suites;
0 3 8 lirSuites Lorg/graalvm/compiler/lir/phases/LIRSuites;
0 3 9 compilationResult TT;
0 3 10 factory Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
0 3 11 verifySourcePositions Z
Signature: <T:Lorg/graalvm/compiler/code/CompilationResult;>(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;Lorg/graalvm/compiler/lir/phases/LIRSuites;TT;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Z)TT;
MethodParameters:
Name Flags
graph
installedCodeOwner
providers
backend
graphBuilderSuite
optimisticOpts
profilingInfo
suites
lirSuites
compilationResult
factory
verifySourcePositions
public static <T extends org.graalvm.compiler.code.CompilationResult> T compile(org.graalvm.compiler.core.GraalCompiler$Request<T>);
descriptor: (Lorg/graalvm/compiler/core/GraalCompiler$Request;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.core.common.util.CompilationAlarm.trackCompilationPeriod:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
astore 4
start local 4 3: getstatic org.graalvm.compiler.core.GraalCompiler.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.isFrozen:()Z
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.graalvm.compiler.core.GraalCompiler$Request org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.core.common.util.CompilationAlarm
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
5: aload 1
ldc "GraalCompiler"
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getCodeCache:()Ljdk/vm/ci/code/CodeCacheProvider;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 7
start local 7 6: getstatic org.graalvm.compiler.core.GraalCompiler.CompilerTimer:Lorg/graalvm/compiler/debug/TimerKey;
aload 1
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 8
start local 8 7: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.providers:Lorg/graalvm/compiler/phases/util/Providers;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.backend:Lorg/graalvm/compiler/core/target/Backend;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graphBuilderSuite:Lorg/graalvm/compiler/phases/PhaseSuite;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.optimisticOpts:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.profilingInfo:Ljdk/vm/ci/meta/ProfilingInfo;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.suites:Lorg/graalvm/compiler/phases/tiers/Suites;
invokestatic org.graalvm.compiler.core.GraalCompiler.emitFrontEnd:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;)V
8: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.backend:Lorg/graalvm/compiler/core/target/Backend;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
aconst_null
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.installedCodeOwner:Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.compilationResult:Lorg/graalvm/compiler/code/CompilationResult;
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.factory:Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
aconst_null
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.lirSuites:Lorg/graalvm/compiler/lir/phases/LIRSuites;
invokevirtual org.graalvm.compiler.core.target.Backend.emitBackEnd:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Ljdk/vm/ci/code/RegisterConfig;Lorg/graalvm/compiler/lir/phases/LIRSuites;)V
9: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.verifySourcePositions:Z
ifeq 11
10: getstatic org.graalvm.compiler.core.GraalCompiler.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
iconst_1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.verifySourcePositions:(Z)Z
ifne 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.core.GraalCompiler$Request org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.core.common.util.CompilationAlarm java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.DebugCloseable
StackMap stack:
aload 8
ifnull 14
aload 8
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
aload 8
ifnull 13
aload 8
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 8 StackMap locals:
StackMap stack:
13: aload 5
athrow
StackMap locals:
StackMap stack:
14: aload 7
ifnull 24
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 7
ifnull 18
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
18: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 6
aload 5
ifnonnull 20
aload 6
astore 5
goto 21
StackMap locals:
StackMap stack:
20: aload 5
aload 6
if_acmpeq 21
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 5
athrow
StackMap locals: org.graalvm.compiler.core.GraalCompiler$Request org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.core.common.util.CompilationAlarm
StackMap stack: java.lang.Throwable
22: astore 5
start local 5 23: aload 1
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 24: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.core.GraalCompiler.checkForRequestedCrash:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
25: aload 0
getfield org.graalvm.compiler.core.GraalCompiler$Request.compilationResult:Lorg/graalvm/compiler/code/CompilationResult;
26: aload 4
ifnull 27
aload 4
invokevirtual org.graalvm.compiler.core.common.util.CompilationAlarm.close:()V
27: StackMap locals:
StackMap stack: org.graalvm.compiler.code.CompilationResult
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 2
29: aload 4
ifnull 30
aload 4
invokevirtual org.graalvm.compiler.core.common.util.CompilationAlarm.close:()V
end local 4 StackMap locals:
StackMap stack:
30: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 3
aload 2
ifnonnull 32
aload 3
astore 2
goto 33
StackMap locals:
StackMap stack:
32: aload 2
aload 3
if_acmpeq 33
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 r Lorg/graalvm/compiler/core/GraalCompiler$Request<TT;>;
1 34 1 debug Lorg/graalvm/compiler/debug/DebugContext;
3 30 4 alarm Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
6 18 7 s0 Lorg/graalvm/compiler/debug/DebugContext$Scope;
7 13 8 a Lorg/graalvm/compiler/debug/DebugCloseable;
23 24 5 e Ljava/lang/Throwable;
Exception table:
from to target type
7 11 12 any
6 14 15 any
5 19 19 any
4 22 22 Class java.lang.Throwable
3 26 28 any
2 27 31 any
28 31 31 any
Signature: <T:Lorg/graalvm/compiler/code/CompilationResult;>(Lorg/graalvm/compiler/core/GraalCompiler$Request<TT;>;)TT;
MethodParameters:
Name Flags
r
private static void checkForRequestedCrash(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.GraalCompilerOptions.CrashAt:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 1: aload 1
ifnull 28
2: iconst_0
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 1
astore 4
start local 4 5: aload 1
ldc ":Bailout"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
6: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
ldc ":Bailout"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
7: iconst_1
istore 2
8: goto 12
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.String int int java.lang.String
StackMap stack:
9: aload 1
ldc ":PermanentBailout"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
10: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
ldc ":PermanentBailout"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
11: iconst_1
istore 3
12: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 13: aload 0
getfield org.graalvm.compiler.nodes.StructuredGraph.name:Ljava/lang/String;
ifnull 15
aload 0
getfield org.graalvm.compiler.nodes.StructuredGraph.name:Ljava/lang/String;
aload 4
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 15
14: aload 0
getfield org.graalvm.compiler.nodes.StructuredGraph.name:Ljava/lang/String;
astore 5
15: StackMap locals: java.lang.String
StackMap stack:
aload 5
ifnonnull 20
16: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 6
start local 6 17: aload 4
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/MethodFilter;
astore 7
start local 7 18: aload 7
aload 6
invokevirtual org.graalvm.compiler.debug.MethodFilter.matches:(Ljdk/vm/ci/meta/JavaMethod;)Z
ifeq 20
19: aload 6
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
astore 5
end local 7 end local 6 20: StackMap locals:
StackMap stack:
aload 5
ifnull 28
21: new java.lang.StringBuilder
dup
ldc "Forced crash after compiling "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 22: aload 6
invokestatic org.graalvm.compiler.core.GraalCompiler.notifyCrash:(Ljava/lang/String;)V
23: iload 3
ifeq 25
24: new org.graalvm.compiler.core.common.PermanentBailoutException
dup
aload 6
invokespecial org.graalvm.compiler.core.common.PermanentBailoutException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals: java.lang.String
StackMap stack:
iload 2
ifeq 27
26: new org.graalvm.compiler.core.common.RetryableBailoutException
dup
aload 6
invokespecial org.graalvm.compiler.core.common.RetryableBailoutException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
aload 6
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 28: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 29 1 value Ljava/lang/String;
3 28 2 bailout Z
4 28 3 permanentBailout Z
5 28 4 methodPattern Ljava/lang/String;
13 28 5 crashLabel Ljava/lang/String;
17 20 6 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
18 20 7 filter Lorg/graalvm/compiler/debug/MethodFilter;
22 28 6 crashMessage Ljava/lang/String;
MethodParameters:
Name Flags
graph
private static void notifyCrash(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 crashMessage Ljava/lang/String;
MethodParameters:
Name Flags
crashMessage
public static void emitFrontEnd(org.graalvm.compiler.phases.util.Providers, org.graalvm.compiler.phases.tiers.TargetProvider, org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.PhaseSuite<org.graalvm.compiler.phases.tiers.HighTierContext>, org.graalvm.compiler.phases.OptimisticOptimizations, jdk.vm.ci.meta.ProfilingInfo, org.graalvm.compiler.phases.tiers.Suites);
descriptor: (Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=17, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 7
start local 7 1: aconst_null
astore 8
aconst_null
astore 9
2: aload 7
ldc "FrontEnd"
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 10
start local 10 3: getstatic org.graalvm.compiler.core.GraalCompiler.FrontEnd:Lorg/graalvm/compiler/debug/TimerKey;
aload 7
invokeinterface org.graalvm.compiler.debug.TimerKey.start:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugCloseable;
astore 11
start local 11 4: new org.graalvm.compiler.phases.tiers.HighTierContext
dup
aload 0
aload 3
aload 4
invokespecial org.graalvm.compiler.phases.tiers.HighTierContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/OptimisticOptimizations;)V
astore 12
start local 12 5: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
ifnonnull 17
6: aconst_null
astore 13
aconst_null
astore 14
7: aload 7
ldc "Parsing"
invokevirtual org.graalvm.compiler.debug.DebugContext.enterCompilerPhase:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugContext$CompilerPhaseScope;
astore 15
start local 15 8: aload 3
aload 2
aload 12
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
9: new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
getstatic org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality.Optional:Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:(Lorg/graalvm/compiler/phases/common/DeadCodeEliminationPhase$Optionality;)V
aload 2
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
10: aload 7
iconst_1
aload 2
ldc "After parsing"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
11: aload 15
ifnull 18
aload 15
invokeinterface org.graalvm.compiler.debug.DebugContext$CompilerPhaseScope.close:()V
goto 18
StackMap locals: org.graalvm.compiler.phases.util.Providers org.graalvm.compiler.phases.tiers.TargetProvider org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.phases.OptimisticOptimizations jdk.vm.ci.meta.ProfilingInfo org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.phases.tiers.HighTierContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$CompilerPhaseScope
StackMap stack: java.lang.Throwable
12: astore 13
aload 15
ifnull 13
aload 15
invokeinterface org.graalvm.compiler.debug.DebugContext$CompilerPhaseScope.close:()V
end local 15 StackMap locals:
StackMap stack:
13: aload 13
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 14
aload 13
ifnonnull 15
aload 14
astore 13
goto 16
StackMap locals:
StackMap stack:
15: aload 13
aload 14
if_acmpeq 16
aload 13
aload 14
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 13
athrow
17: StackMap locals:
StackMap stack:
aload 7
iconst_2
aload 2
ldc "initial state"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.phases.tiers.Suites.getHighTier:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 2
aload 12
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
19: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.maybeCompress:()Z
pop
20: aload 7
iconst_1
aload 2
ldc "After high tier"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
21: new org.graalvm.compiler.phases.tiers.MidTierContext
dup
aload 0
aload 1
aload 4
aload 5
invokespecial org.graalvm.compiler.phases.tiers.MidTierContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;)V
astore 13
start local 13 22: aload 6
invokevirtual org.graalvm.compiler.phases.tiers.Suites.getMidTier:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 2
aload 13
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
23: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.maybeCompress:()Z
pop
24: aload 7
iconst_1
aload 2
ldc "After mid tier"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
25: new org.graalvm.compiler.phases.tiers.LowTierContext
dup
aload 0
aload 1
invokespecial org.graalvm.compiler.phases.tiers.LowTierContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;)V
astore 14
start local 14 26: aload 6
invokevirtual org.graalvm.compiler.phases.tiers.Suites.getLowTier:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 2
aload 14
invokevirtual org.graalvm.compiler.phases.PhaseSuite.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
27: aload 7
iconst_1
aload 2
ldc "After low tier"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
28: aload 7
iconst_1
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
ldc "Final HIR schedule"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
29: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.logInliningTree:()V
end local 14 end local 13 end local 12 30: aload 11
ifnull 33
aload 11
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
goto 33
StackMap locals: org.graalvm.compiler.phases.util.Providers org.graalvm.compiler.phases.tiers.TargetProvider org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.phases.OptimisticOptimizations jdk.vm.ci.meta.ProfilingInfo org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
31: astore 8
aload 11
ifnull 32
aload 11
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 11 StackMap locals:
StackMap stack:
32: aload 8
athrow
StackMap locals:
StackMap stack:
33: aload 10
ifnull 46
aload 10
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 9
aload 8
ifnonnull 35
aload 9
astore 8
goto 36
StackMap locals:
StackMap stack:
35: aload 8
aload 9
if_acmpeq 36
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
36: aload 10
ifnull 37
aload 10
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 10 StackMap locals:
StackMap stack:
37: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
38: astore 9
aload 8
ifnonnull 39
aload 9
astore 8
goto 40
StackMap locals:
StackMap stack:
39: aload 8
aload 9
if_acmpeq 40
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
40: aload 8
athrow
StackMap locals: org.graalvm.compiler.phases.util.Providers org.graalvm.compiler.phases.tiers.TargetProvider org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.phases.OptimisticOptimizations jdk.vm.ci.meta.ProfilingInfo org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
41: astore 8
start local 8 42: aload 7
aload 8
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 8 43: StackMap locals:
StackMap stack: java.lang.Throwable
astore 16
44: aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.checkCancellation:()V
45: aload 16
athrow
46: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.checkCancellation:()V
47: return
end local 7 end local 6 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 48 0 providers Lorg/graalvm/compiler/phases/util/Providers;
0 48 1 target Lorg/graalvm/compiler/phases/tiers/TargetProvider;
0 48 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 48 3 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
0 48 4 optimisticOpts Lorg/graalvm/compiler/phases/OptimisticOptimizations;
0 48 5 profilingInfo Ljdk/vm/ci/meta/ProfilingInfo;
0 48 6 suites Lorg/graalvm/compiler/phases/tiers/Suites;
1 48 7 debug Lorg/graalvm/compiler/debug/DebugContext;
3 37 10 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
4 32 11 a Lorg/graalvm/compiler/debug/DebugCloseable;
5 30 12 highTierContext Lorg/graalvm/compiler/phases/tiers/HighTierContext;
8 13 15 cps Lorg/graalvm/compiler/debug/DebugContext$CompilerPhaseScope;
22 30 13 midTierContext Lorg/graalvm/compiler/phases/tiers/MidTierContext;
26 30 14 lowTierContext Lorg/graalvm/compiler/phases/tiers/LowTierContext;
42 43 8 e Ljava/lang/Throwable;
Exception table:
from to target type
8 11 12 any
7 14 14 any
4 30 31 any
3 33 34 any
2 38 38 any
1 41 41 Class java.lang.Throwable
1 43 43 any
Signature: (Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/phases/tiers/TargetProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/phases/tiers/Suites;)V
MethodParameters:
Name Flags
providers
target
graph
graphBuilderSuite
optimisticOpts
profilingInfo
suites
protected static <T extends org.graalvm.compiler.code.CompilationResult> java.lang.String getCompilationUnitName(org.graalvm.compiler.nodes.StructuredGraph, T);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/code/CompilationResult;)Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getName:()Ljava/lang/String;
ifnull 2
1: aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getName:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: ldc "<unknown>"
areturn
5: StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack:
aload 2
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 6 1 compilationResult TT;
3 6 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
Signature: <T:Lorg/graalvm/compiler/code/CompilationResult;>(Lorg/graalvm/compiler/nodes/StructuredGraph;TT;)Ljava/lang/String;
MethodParameters:
Name Flags
graph
compilationResult
}
SourceFile: "GraalCompiler.java"
NestMembers:
org.graalvm.compiler.core.GraalCompiler$Request
InnerClasses:
public Request = org.graalvm.compiler.core.GraalCompiler$Request of org.graalvm.compiler.core.GraalCompiler
public abstract CompilerPhaseScope = org.graalvm.compiler.debug.DebugContext$CompilerPhaseScope of org.graalvm.compiler.debug.DebugContext
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph
public final Optionality = org.graalvm.compiler.phases.common.DeadCodeEliminationPhase$Optionality of org.graalvm.compiler.phases.common.DeadCodeEliminationPhase