public class org.graalvm.compiler.hotspot.HotSpotGraalCompiler implements org.graalvm.compiler.api.runtime.GraalJVMCICompiler, org.graalvm.compiler.nodes.Cancellable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.HotSpotGraalCompiler
super_class: java.lang.Object
{
private static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.vm.ci.hotspot.HotSpotJVMCIRuntime jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider graalRuntime;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.hotspot.CompilationCounters compilationCounters;
descriptor: Lorg/graalvm/compiler/hotspot/CompilationCounters;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.hotspot.BootstrapWatchDog bootstrapWatchDog;
descriptor: Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<org.graalvm.compiler.debug.DebugHandlersFactory> factories;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
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/hotspot/HotSpotGraalCompiler;
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.hotspot.HotSpotGraalCompiler.$assertionsDisabled:Z
3: invokestatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.getUnsafe:()Lsun/misc/Unsafe;
putstatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.UNSAFE:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntime, org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
2: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
3: aload 0
getstatic org.graalvm.compiler.hotspot.CompilationCounters$Options.CompilationCountLimit:Lorg/graalvm/compiler/options/OptionKey;
aload 3
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
ifle 4
new org.graalvm.compiler.hotspot.CompilationCounters
dup
aload 3
invokespecial org.graalvm.compiler.hotspot.CompilationCounters.<init>:(Lorg/graalvm/compiler/options/OptionValues;)V
goto 5
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.HotSpotGraalCompiler
4: aconst_null
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.hotspot.CompilationCounters
5: putfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compilationCounters:Lorg/graalvm/compiler/hotspot/CompilationCounters;
6: aload 0
aload 2
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.isBootstrapping:()Z
ifeq 7
getstatic org.graalvm.compiler.debug.DebugOptions.BootstrapInitializeOnly:Lorg/graalvm/compiler/options/OptionKey;
aload 3
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 7
aload 2
invokestatic org.graalvm.compiler.hotspot.BootstrapWatchDog.maybeCreate:(Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;)Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
goto 8
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.HotSpotGraalCompiler
7: aconst_null
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.hotspot.BootstrapWatchDog
8: putfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.bootstrapWatchDog:Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 10 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
0 10 2 graalRuntime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
0 10 3 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
jvmciRuntime
graalRuntime
options
public java.util.List<org.graalvm.compiler.debug.DebugHandlersFactory> getDebugHandlersFactories();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.factories:Ljava/util/List;
ifnonnull 2
1: aload 0
new org.graalvm.compiler.printer.GraalDebugHandlersFactory
dup
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
invokespecial org.graalvm.compiler.printer.GraalDebugHandlersFactory.<init>:(Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;)V
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.factories:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.factories:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
Signature: ()Ljava/util/List<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
public org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider getGraalRuntime();
descriptor: ()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
public jdk.vm.ci.code.CompilationRequestResult compileMethod(jdk.vm.ci.code.CompilationRequest);
descriptor: (Ljdk/vm/ci/code/CompilationRequest;)Ljdk/vm/ci/code/CompilationRequestResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileMethod:(Ljdk/vm/ci/code/CompilationRequest;ZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/CompilationRequestResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 1 1 request Ljdk/vm/ci/code/CompilationRequest;
MethodParameters:
Name Flags
request
jdk.vm.ci.code.CompilationRequestResult compileMethod(jdk.vm.ci.code.CompilationRequest, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/code/CompilationRequest;ZLorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/code/CompilationRequestResult;
flags: (0x0000)
Code:
stack=9, locals=21, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: aload 1
invokestatic org.graalvm.compiler.hotspot.HotSpotGraalServices.openLocalCompilationContext:(Ljava/lang/Object;)Lorg/graalvm/compiler/hotspot/CompilationContext;
astore 6
start local 6 2: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.isShutdown:()Z
ifeq 6
3: ldc "Shutdown entered"
iconst_0
anewarray java.lang.Object
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
iconst_1
invokestatic jdk.vm.ci.hotspot.HotSpotCompilationRequestResult.failure:(Ljava/lang/String;Z)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
4: aload 6
ifnull 5
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompilationContext.close:()V
5: StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext
StackMap stack: jdk.vm.ci.hotspot.HotSpotCompilationRequestResult
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.vm.ci.code.CompilationRequest.getMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 7
start local 7 7: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.isBootstrapping:()Z
ifeq 17
8: getstatic org.graalvm.compiler.debug.DebugOptions.BootstrapInitializeOnly:Lorg/graalvm/compiler/options/OptionKey;
aload 3
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 12
9: ldc "Skip compilation because %s is enabled"
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic org.graalvm.compiler.debug.DebugOptions.BootstrapInitializeOnly:Lorg/graalvm/compiler/options/OptionKey;
invokevirtual org.graalvm.compiler.options.OptionKey.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
iconst_1
invokestatic jdk.vm.ci.hotspot.HotSpotCompilationRequestResult.failure:(Ljava/lang/String;Z)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
10: aload 6
ifnull 11
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompilationContext.close:()V
11: StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: jdk.vm.ci.hotspot.HotSpotCompilationRequestResult
areturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.bootstrapWatchDog:Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
ifnull 17
13: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.bootstrapWatchDog:Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.hitCriticalCompilationRateOrTimeout:()Z
ifeq 17
14: ldc "hit critical bootstrap compilation rate or timeout"
iconst_1
invokestatic jdk.vm.ci.hotspot.HotSpotCompilationRequestResult.failure:(Ljava/lang/String;Z)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
15: aload 6
ifnull 16
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompilationContext.close:()V
16: StackMap locals:
StackMap stack: jdk.vm.ci.hotspot.HotSpotCompilationRequestResult
areturn
17: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.vm.ci.hotspot.HotSpotCompilationRequest
astore 8
start local 8 18: new org.graalvm.compiler.hotspot.CompilationTask
dup
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
aload 8
iconst_1
aload 0
aload 8
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getJvmciEnv:()J
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.shouldRetainLocalVariables:(J)Z
iload 2
invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZZ)V
astore 9
start local 9 19: aload 9
aload 3
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.filterOptions:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/options/OptionValues;
astore 10
start local 10 20: aconst_null
astore 11
aconst_null
astore 12
21: aload 7
aload 8
invokevirtual jdk.vm.ci.hotspot.HotSpotCompilationRequest.getId:()I
aload 10
invokestatic org.graalvm.compiler.hotspot.CompilationWatchDog.watch:(Ljdk/vm/ci/meta/ResolvedJavaMethod;ILorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/hotspot/CompilationWatchDog;
astore 13
start local 13 22: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.bootstrapWatchDog:Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
ifnonnull 23
aconst_null
goto 24
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.hotspot.CompilationTask org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationWatchDog
StackMap stack:
23: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.bootstrapWatchDog:Lorg/graalvm/compiler/hotspot/BootstrapWatchDog;
aload 1
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog.watch:(Ljdk/vm/ci/code/CompilationRequest;)Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch
24: astore 14
start local 14 25: aload 10
invokestatic org.graalvm.compiler.core.common.util.CompilationAlarm.trackCompilationPeriod:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
astore 15
start local 15 26: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compilationCounters:Lorg/graalvm/compiler/hotspot/CompilationCounters;
ifnull 28
27: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compilationCounters:Lorg/graalvm/compiler/hotspot/CompilationCounters;
aload 7
invokevirtual org.graalvm.compiler.hotspot.CompilationCounters.countCompilation:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)V
28: StackMap locals: org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch org.graalvm.compiler.core.common.util.CompilationAlarm
StackMap stack:
aconst_null
astore 16
start local 16 29: aconst_null
astore 17
aconst_null
astore 18
30: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
aload 10
aload 9
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.getCompilationIdentifier:()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
aload 7
aload 0
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getDebugHandlersFactories:()Ljava/util/List;
getstatic org.graalvm.compiler.debug.DebugContext.DEFAULT_LOG_STREAM:Ljava/io/PrintStream;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.openDebugContext:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Ljava/lang/Object;Ljava/lang/Iterable;Ljava/io/PrintStream;)Lorg/graalvm/compiler/debug/DebugContext;
astore 19
start local 19 31: aload 19
invokevirtual org.graalvm.compiler.debug.DebugContext.activate:()Lorg/graalvm/compiler/debug/DebugContext$Activation;
astore 20
start local 20 32: aload 9
aload 19
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:(Lorg/graalvm/compiler/debug/DebugContext;)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
astore 16
33: aload 20
ifnull 36
aload 20
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
goto 36
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.hotspot.CompilationTask org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationWatchDog org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch org.graalvm.compiler.core.common.util.CompilationAlarm jdk.vm.ci.code.CompilationRequestResult java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.debug.DebugContext$Activation
StackMap stack: java.lang.Throwable
34: astore 17
aload 20
ifnull 35
aload 20
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
end local 20 StackMap locals:
StackMap stack:
35: aload 17
athrow
StackMap locals:
StackMap stack:
36: aload 19
ifnull 44
aload 19
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
goto 44
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 18
aload 17
ifnonnull 38
aload 18
astore 17
goto 39
StackMap locals:
StackMap stack:
38: aload 17
aload 18
if_acmpeq 39
aload 17
aload 18
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
39: aload 19
ifnull 40
aload 19
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
end local 19 StackMap locals:
StackMap stack:
40: aload 17
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
41: astore 18
aload 17
ifnonnull 42
aload 18
astore 17
goto 43
StackMap locals:
StackMap stack:
42: aload 17
aload 18
if_acmpeq 43
aload 17
aload 18
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
43: aload 17
athrow
44: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.$assertionsDisabled:Z
ifne 45
aload 16
ifnonnull 45
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
45: StackMap locals:
StackMap stack:
aload 16
46: aload 15
ifnull 47
aload 15
invokevirtual org.graalvm.compiler.core.common.util.CompilationAlarm.close:()V
StackMap locals:
StackMap stack: jdk.vm.ci.code.CompilationRequestResult
47: aload 14
ifnull 48
aload 14
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.close:()V
StackMap locals:
StackMap stack: jdk.vm.ci.code.CompilationRequestResult
48: aload 13
ifnull 49
aload 13
invokevirtual org.graalvm.compiler.hotspot.CompilationWatchDog.close:()V
49: StackMap locals:
StackMap stack: jdk.vm.ci.code.CompilationRequestResult
aload 6
ifnull 50
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompilationContext.close:()V
50: StackMap locals:
StackMap stack: jdk.vm.ci.code.CompilationRequestResult
areturn
end local 16 StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.hotspot.HotSpotCompilationRequest org.graalvm.compiler.hotspot.CompilationTask org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationWatchDog org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch org.graalvm.compiler.core.common.util.CompilationAlarm
StackMap stack: java.lang.Throwable
51: astore 11
52: aload 15
ifnull 53
aload 15
invokevirtual org.graalvm.compiler.core.common.util.CompilationAlarm.close:()V
end local 15 StackMap locals:
StackMap stack:
53: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
54: astore 12
aload 11
ifnonnull 55
aload 12
astore 11
goto 56
StackMap locals:
StackMap stack:
55: aload 11
aload 12
if_acmpeq 56
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
56: aload 14
ifnull 57
aload 14
invokevirtual org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch.close:()V
end local 14 StackMap locals:
StackMap stack:
57: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
58: astore 12
aload 11
ifnonnull 59
aload 12
astore 11
goto 60
StackMap locals:
StackMap stack:
59: aload 11
aload 12
if_acmpeq 60
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
60: aload 13
ifnull 61
aload 13
invokevirtual org.graalvm.compiler.hotspot.CompilationWatchDog.close:()V
end local 13 StackMap locals:
StackMap stack:
61: aload 11
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
62: astore 12
aload 11
ifnonnull 63
aload 12
astore 11
goto 64
StackMap locals:
StackMap stack:
63: aload 11
aload 12
if_acmpeq 64
aload 11
aload 12
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
64: aload 11
athrow
end local 10 end local 9 end local 8 end local 7 StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler jdk.vm.ci.code.CompilationRequest int org.graalvm.compiler.options.OptionValues java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.CompilationContext
StackMap stack: java.lang.Throwable
65: astore 4
66: aload 6
ifnull 67
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompilationContext.close:()V
end local 6 StackMap locals:
StackMap stack:
67: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
68: astore 5
aload 4
ifnonnull 69
aload 5
astore 4
goto 70
StackMap locals:
StackMap stack:
69: aload 4
aload 5
if_acmpeq 70
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
70: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 71 1 request Ljdk/vm/ci/code/CompilationRequest;
0 71 2 installAsDefault Z
0 71 3 initialOptions Lorg/graalvm/compiler/options/OptionValues;
2 67 6 scope Lorg/graalvm/compiler/hotspot/CompilationContext;
7 65 7 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
18 65 8 hsRequest Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
19 65 9 task Lorg/graalvm/compiler/hotspot/CompilationTask;
20 65 10 options Lorg/graalvm/compiler/options/OptionValues;
22 61 13 w1 Lorg/graalvm/compiler/hotspot/CompilationWatchDog;
25 57 14 w2 Lorg/graalvm/compiler/hotspot/BootstrapWatchDog$Watch;
26 53 15 alarm Lorg/graalvm/compiler/core/common/util/CompilationAlarm;
29 51 16 r Ljdk/vm/ci/code/CompilationRequestResult;
31 40 19 debug Lorg/graalvm/compiler/debug/DebugContext;
32 35 20 a Lorg/graalvm/compiler/debug/DebugContext$Activation;
Exception table:
from to target type
32 33 34 any
31 36 37 any
30 41 41 any
26 46 51 any
25 47 54 any
51 54 54 any
22 48 58 any
51 58 58 any
21 49 62 any
51 62 62 any
2 4 65 any
6 10 65 any
12 15 65 any
17 49 65 any
51 65 65 any
1 5 68 any
6 11 68 any
12 16 68 any
17 50 68 any
51 68 68 any
MethodParameters:
Name Flags
request
installAsDefault
initialOptions
private boolean shouldRetainLocalVariables(long);
descriptor: (J)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 3
start local 3 1: lload 1
lconst_0
lcmp
ifne 3
2: iconst_0
ireturn
3: StackMap locals: org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack:
aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.jvmciCompileStateCanPopFrameOffset:I
ldc -2147483648
if_icmpeq 6
4: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.UNSAFE:Lsun/misc/Unsafe;
lload 1
aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.jvmciCompileStateCanPopFrameOffset:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.jvmciCompileStateCanAccessLocalVariablesOffset:I
ldc -2147483648
if_icmpeq 9
7: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.UNSAFE:Lsun/misc/Unsafe;
lload 1
aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.jvmciCompileStateCanAccessLocalVariablesOffset:I
i2l
ladd
invokevirtual sun.misc.Unsafe.getByte:(J)B
sipush 255
iand
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 10 1 envAddress J
1 10 3 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
envAddress
public boolean isCancelled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.isShutdown:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
public org.graalvm.compiler.nodes.StructuredGraph createGraph(jdk.vm.ci.meta.ResolvedJavaMethod, int, boolean, org.graalvm.compiler.core.common.CompilationIdentifier, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.debug.DebugContext);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, 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 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/hotspot/HotSpotBackend;
astore 7
start local 7 1: aload 7
invokevirtual org.graalvm.compiler.hotspot.HotSpotBackend.getProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
astore 8
start local 8 2: iload 2
iconst_m1
if_icmpeq 3
iconst_1
goto 4
StackMap locals: org.graalvm.compiler.hotspot.HotSpotBackend org.graalvm.compiler.hotspot.meta.HotSpotProviders
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 9
start local 9 5: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isNative:()Z
ifne 6
iload 9
ifeq 7
StackMap locals: int
StackMap stack:
6: aconst_null
goto 8
StackMap locals:
StackMap stack:
7: aload 8
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getReplacements:()Lorg/graalvm/compiler/nodes/spi/Replacements;
aload 1
aload 4
aload 6
aload 0
invokeinterface org.graalvm.compiler.nodes.spi.Replacements.getIntrinsicGraph:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/Cancellable;)Lorg/graalvm/compiler/nodes/StructuredGraph;
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.StructuredGraph
8: astore 10
start local 10 9: aload 10
ifnonnull 21
10: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSpeculationLog:()Ljdk/vm/ci/meta/SpeculationLog;
astore 11
start local 11 11: aload 11
ifnull 13
12: aload 11
invokeinterface jdk.vm.ci.meta.SpeculationLog.collectFailedSpeculations:()V
13: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.SpeculationLog
StackMap stack:
new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 5
aload 6
getstatic org.graalvm.compiler.core.common.GraalOptions.OptAssumptions:Lorg/graalvm/compiler/options/OptionKey;
aload 5
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
invokestatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.ifTrue:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)V
14: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
15: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.cancellable:(Lorg/graalvm/compiler/nodes/Cancellable;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
16: iload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.entryBCI:(I)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
17: aload 11
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.speculationLog:(Ljdk/vm/ci/meta/SpeculationLog;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
18: iload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.useProfilingInfo:(Z)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
19: aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.compilationId:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
20: astore 10
end local 11 21: StackMap locals:
StackMap stack:
aload 10
areturn
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 22 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 22 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 22 2 entryBCI I
0 22 3 useProfilingInfo Z
0 22 4 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
0 22 5 options Lorg/graalvm/compiler/options/OptionValues;
0 22 6 debug Lorg/graalvm/compiler/debug/DebugContext;
1 22 7 backend Lorg/graalvm/compiler/hotspot/HotSpotBackend;
2 22 8 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
5 22 9 isOSR Z
9 22 10 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
11 21 11 speculationLog Ljdk/vm/ci/meta/SpeculationLog;
MethodParameters:
Name Flags
method
entryBCI
useProfilingInfo
compilationId
options
debug
public org.graalvm.compiler.code.CompilationResult compileHelper(org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory, org.graalvm.compiler.code.CompilationResult, org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, int, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
aload 3
aload 4
iload 5
iload 6
iconst_0
aload 7
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileHelper:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IZZLorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/code/CompilationResult;
areturn
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 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 1 1 crbf Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
0 1 2 result Lorg/graalvm/compiler/code/CompilationResult;
0 1 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 1 4 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 1 5 entryBCI I
0 1 6 useProfilingInfo Z
0 1 7 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
crbf
result
graph
method
entryBCI
useProfilingInfo
options
public org.graalvm.compiler.code.CompilationResult compileHelper(org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory, org.graalvm.compiler.code.CompilationResult, org.graalvm.compiler.nodes.StructuredGraph, jdk.vm.ci.meta.ResolvedJavaMethod, int, boolean, boolean, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IZZLorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=19, args_size=9
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 0: getstatic org.graalvm.compiler.hotspot.HotSpotGraalCompiler.$assertionsDisabled:Z
ifne 1
aload 8
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
if_acmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.HotSpotGraalCompiler.graalRuntime:Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostBackend:()Lorg/graalvm/compiler/hotspot/HotSpotBackend;
astore 9
start local 9 2: aload 9
invokevirtual org.graalvm.compiler.hotspot.HotSpotBackend.getProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
astore 10
start local 10 3: iload 5
iconst_m1
if_icmpeq 4
iconst_1
goto 5
StackMap locals: org.graalvm.compiler.hotspot.HotSpotBackend org.graalvm.compiler.hotspot.meta.HotSpotProviders
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 11
start local 11 6: aload 0
aload 10
aload 8
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getSuites:(Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
astore 12
start local 12 7: aload 0
aload 10
aload 8
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getLIRSuites:(Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/lir/phases/LIRSuites;
astore 13
start local 13 8: iload 6
ifeq 11
aload 4
iload 11
ifeq 9
iconst_0
goto 10
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod int int int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.HotSpotBackend org.graalvm.compiler.hotspot.meta.HotSpotProviders int org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.lir.phases.LIRSuites
StackMap stack: jdk.vm.ci.meta.ResolvedJavaMethod
9: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory org.graalvm.compiler.code.CompilationResult org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaMethod int int int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.HotSpotBackend org.graalvm.compiler.hotspot.meta.HotSpotProviders int org.graalvm.compiler.phases.tiers.Suites org.graalvm.compiler.lir.phases.LIRSuites
StackMap stack: jdk.vm.ci.meta.ResolvedJavaMethod int
10: iload 11
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getProfilingInfo:(ZZ)Ljdk/vm/ci/meta/ProfilingInfo;
goto 12
StackMap locals:
StackMap stack:
11: getstatic jdk.vm.ci.meta.TriState.FALSE:Ljdk/vm/ci/meta/TriState;
invokestatic jdk.vm.ci.meta.DefaultProfilingInfo.get:(Ljdk/vm/ci/meta/TriState;)Ljdk/vm/ci/meta/ProfilingInfo;
StackMap locals:
StackMap stack: jdk.vm.ci.meta.ProfilingInfo
12: astore 14
start local 14 13: aload 0
aload 14
aload 8
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getOptimisticOpts:(Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/OptimisticOptimizations;
astore 15
start local 15 14: iload 11
ifeq 16
getstatic org.graalvm.compiler.hotspot.phases.OnStackReplacementPhase$Options.DeoptAfterOSR:Lorg/graalvm/compiler/options/OptionKey;
aload 8
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 16
15: aload 15
iconst_1
anewarray org.graalvm.compiler.phases.OptimisticOptimizations$Optimization
dup
iconst_0
getstatic org.graalvm.compiler.phases.OptimisticOptimizations$Optimization.RemoveNeverExecutedCode:Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;
aastore
invokevirtual org.graalvm.compiler.phases.OptimisticOptimizations.remove:([Lorg/graalvm/compiler/phases/OptimisticOptimizations$Optimization;)Lorg/graalvm/compiler/phases/OptimisticOptimizations;
pop
16: StackMap locals: jdk.vm.ci.meta.ProfilingInfo org.graalvm.compiler.phases.OptimisticOptimizations
StackMap stack:
aload 2
iload 5
invokevirtual org.graalvm.compiler.code.CompilationResult.setEntryBCI:(I)V
17: aload 10
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
invokevirtual jdk.vm.ci.hotspot.HotSpotCodeCacheProvider.shouldDebugNonSafepoints:()Z
istore 16
start local 16 18: aload 0
aload 10
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultGraphBuilderSuite:()Lorg/graalvm/compiler/phases/PhaseSuite;
iload 16
iload 7
iload 11
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.configGraphBuilderSuite:(Lorg/graalvm/compiler/phases/PhaseSuite;ZZZ)Lorg/graalvm/compiler/phases/PhaseSuite;
astore 17
start local 17 19: aload 3
aload 4
aload 10
aload 9
aload 17
aload 15
aload 14
aload 12
aload 13
aload 2
aload 1
iconst_1
invokestatic org.graalvm.compiler.core.GraalCompiler.compileGraph:(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;
pop
20: iload 11
ifne 23
iload 6
ifeq 23
21: aload 14
astore 18
start local 18 22: aload 18
ldc Lorg/graalvm/compiler/nodes/StructuredGraph;
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodeCount:()I
invokeinterface jdk.vm.ci.meta.ProfilingInfo.setCompilerIRSize:(Ljava/lang/Class;I)Z
pop
end local 18 23: StackMap locals: int org.graalvm.compiler.phases.PhaseSuite
StackMap stack:
aload 2
areturn
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 24 1 crbf Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
0 24 2 result Lorg/graalvm/compiler/code/CompilationResult;
0 24 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 24 4 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 24 5 entryBCI I
0 24 6 useProfilingInfo Z
0 24 7 shouldRetainLocalVariables Z
0 24 8 options Lorg/graalvm/compiler/options/OptionValues;
2 24 9 backend Lorg/graalvm/compiler/hotspot/HotSpotBackend;
3 24 10 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
6 24 11 isOSR Z
7 24 12 suites Lorg/graalvm/compiler/phases/tiers/Suites;
8 24 13 lirSuites Lorg/graalvm/compiler/lir/phases/LIRSuites;
13 24 14 profilingInfo Ljdk/vm/ci/meta/ProfilingInfo;
14 24 15 optimisticOpts Lorg/graalvm/compiler/phases/OptimisticOptimizations;
18 24 16 shouldDebugNonSafepoints Z
19 24 17 graphBuilderSuite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
22 23 18 profile Ljdk/vm/ci/meta/ProfilingInfo;
MethodParameters:
Name Flags
crbf
result
graph
method
entryBCI
useProfilingInfo
shouldRetainLocalVariables
options
public org.graalvm.compiler.code.CompilationResult compile(jdk.vm.ci.meta.ResolvedJavaMethod, int, boolean, boolean, org.graalvm.compiler.core.common.CompilationIdentifier, org.graalvm.compiler.debug.DebugContext);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;IZZLorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, 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 0
aload 1
iload 2
iload 3
aload 5
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
aload 6
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.createGraph:(Ljdk/vm/ci/meta/ResolvedJavaMethod;IZLorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 7
start local 7 1: new org.graalvm.compiler.code.CompilationResult
dup
aload 5
invokespecial org.graalvm.compiler.code.CompilationResult.<init>:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;)V
astore 8
start local 8 2: aload 0
getstatic org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory.Default:Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
aload 8
aload 7
aload 1
iload 2
iload 3
iload 4
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileHelper:(Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/nodes/StructuredGraph;Ljdk/vm/ci/meta/ResolvedJavaMethod;IZZLorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/code/CompilationResult;
areturn
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 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 3 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 3 2 entryBCI I
0 3 3 useProfilingInfo Z
0 3 4 shouldRetainLocalVariables Z
0 3 5 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
0 3 6 debug Lorg/graalvm/compiler/debug/DebugContext;
1 3 7 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 3 8 result Lorg/graalvm/compiler/code/CompilationResult;
MethodParameters:
Name Flags
method
entryBCI
useProfilingInfo
shouldRetainLocalVariables
compilationId
debug
protected org.graalvm.compiler.phases.OptimisticOptimizations getOptimisticOpts(jdk.vm.ci.meta.ProfilingInfo, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/OptimisticOptimizations;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.phases.OptimisticOptimizations
dup
aload 1
aload 2
invokespecial org.graalvm.compiler.phases.OptimisticOptimizations.<init>:(Ljdk/vm/ci/meta/ProfilingInfo;Lorg/graalvm/compiler/options/OptionValues;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 1 1 profilingInfo Ljdk/vm/ci/meta/ProfilingInfo;
0 1 2 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
profilingInfo
options
protected org.graalvm.compiler.phases.tiers.Suites getSuites(org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
aload 2
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 1 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 1 2 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
providers
options
protected org.graalvm.compiler.lir.phases.LIRSuites getLIRSuites(org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/lir/phases/LIRSuites;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
aload 2
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultLIRSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/lir/phases/LIRSuites;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 1 1 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 1 2 options Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
providers
options
protected org.graalvm.compiler.phases.PhaseSuite<org.graalvm.compiler.phases.tiers.HighTierContext> configGraphBuilderSuite(org.graalvm.compiler.phases.PhaseSuite<org.graalvm.compiler.phases.tiers.HighTierContext>, boolean, boolean, boolean);
descriptor: (Lorg/graalvm/compiler/phases/PhaseSuite;ZZZ)Lorg/graalvm/compiler/phases/PhaseSuite;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifne 1
iload 3
ifne 1
iload 4
ifeq 13
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.phases.PhaseSuite.copy:()Lorg/graalvm/compiler/phases/PhaseSuite;
astore 5
start local 5 2: aload 5
ldc Lorg/graalvm/compiler/java/GraphBuilderPhase;
invokevirtual org.graalvm.compiler.phases.PhaseSuite.findPhase:(Ljava/lang/Class;)Ljava/util/ListIterator;
invokeinterface java.util.ListIterator.previous:()Ljava/lang/Object;
checkcast org.graalvm.compiler.java.GraphBuilderPhase
astore 6
start local 6 3: aload 6
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase.getGraphBuilderConfig:()Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 7
start local 7 4: iload 2
ifeq 6
5: aload 7
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.withNodeSourcePosition:(Z)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 7
6: StackMap locals: org.graalvm.compiler.phases.PhaseSuite org.graalvm.compiler.java.GraphBuilderPhase org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration
StackMap stack:
iload 3
ifeq 8
7: aload 7
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.withRetainLocalVariables:(Z)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 7
8: StackMap locals:
StackMap stack:
new org.graalvm.compiler.java.GraphBuilderPhase
dup
aload 7
invokespecial org.graalvm.compiler.java.GraphBuilderPhase.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;)V
astore 8
start local 8 9: aload 5
ldc Lorg/graalvm/compiler/java/GraphBuilderPhase;
invokevirtual org.graalvm.compiler.phases.PhaseSuite.findPhase:(Ljava/lang/Class;)Ljava/util/ListIterator;
aload 8
invokeinterface java.util.ListIterator.set:(Ljava/lang/Object;)V
10: iload 4
ifeq 12
11: aload 5
new org.graalvm.compiler.hotspot.phases.OnStackReplacementPhase
dup
invokespecial org.graalvm.compiler.hotspot.phases.OnStackReplacementPhase.<init>:()V
invokevirtual org.graalvm.compiler.phases.PhaseSuite.appendPhase:(Lorg/graalvm/compiler/phases/BasePhase;)V
12: StackMap locals: org.graalvm.compiler.java.GraphBuilderPhase
StackMap stack:
aload 5
areturn
end local 8 end local 7 end local 6 end local 5 13: StackMap locals: org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.phases.PhaseSuite int int int
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 14 1 suite Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
0 14 2 shouldDebugNonSafepoints Z
0 14 3 shouldRetainLocalVariables Z
0 14 4 isOSR Z
2 13 5 newGbs Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
3 13 6 graphBuilderPhase Lorg/graalvm/compiler/java/GraphBuilderPhase;
4 13 7 graphBuilderConfig Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
9 13 8 newGraphBuilderPhase Lorg/graalvm/compiler/java/GraphBuilderPhase;
Signature: (Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;ZZZ)Lorg/graalvm/compiler/phases/PhaseSuite<Lorg/graalvm/compiler/phases/tiers/HighTierContext;>;
MethodParameters:
Name Flags
suite
shouldDebugNonSafepoints
shouldRetainLocalVariables
isOSR
static java.lang.String str(jdk.vm.ci.meta.JavaMethod);
descriptor: (Ljdk/vm/ci/meta/JavaMethod;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.JavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Ljdk/vm/ci/meta/JavaMethod;
MethodParameters:
Name Flags
method
static java.util.Formattable fmt(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/Formattable;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.hotspot.HotSpotGraalCompiler$1
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.HotSpotGraalCompiler$1.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public org.graalvm.compiler.api.runtime.GraalRuntime getGraalRuntime();
descriptor: ()Lorg/graalvm/compiler/api/runtime/GraalRuntime;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getGraalRuntime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "HotSpotGraalCompiler.java"
NestMembers:
org.graalvm.compiler.hotspot.HotSpotGraalCompiler$1
InnerClasses:
public Activation = org.graalvm.compiler.debug.DebugContext$Activation of org.graalvm.compiler.debug.DebugContext
Watch = org.graalvm.compiler.hotspot.BootstrapWatchDog$Watch of org.graalvm.compiler.hotspot.BootstrapWatchDog
public Options = org.graalvm.compiler.hotspot.CompilationCounters$Options of org.graalvm.compiler.hotspot.CompilationCounters
org.graalvm.compiler.hotspot.HotSpotGraalCompiler$1
public Options = org.graalvm.compiler.hotspot.phases.OnStackReplacementPhase$Options of org.graalvm.compiler.hotspot.phases.OnStackReplacementPhase
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph
public final Optimization = org.graalvm.compiler.phases.OptimisticOptimizations$Optimization of org.graalvm.compiler.phases.OptimisticOptimizations