public abstract class org.graalvm.compiler.hotspot.stubs.Stub
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.hotspot.stubs.Stub
super_class: java.lang.Object
{
protected final org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage linkage;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected jdk.vm.ci.code.InstalledCode code;
descriptor: Ljdk/vm/ci/code/InstalledCode;
flags: (0x0004) ACC_PROTECTED
private jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register> destroyedCallerRegisters;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
protected final org.graalvm.compiler.options.OptionValues options;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.hotspot.meta.HotSpotProviders providers;
descriptor: Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static final java.util.concurrent.atomic.AtomicInteger nextStubId;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
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/hotspot/stubs/Stub;
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.stubs.Stub.$assertionsDisabled:Z
3: new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putstatic org.graalvm.compiler.hotspot.stubs.Stub.nextStubId:Ljava/util/concurrent/atomic/AtomicInteger;
return
LocalVariableTable:
Start End Slot Name Signature
private static boolean checkRegisterSetEquivalency(jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register>, jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register>);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;Ljdk/internal/vm/compiler/collections/EconomicSet;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.size:()I
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.size:()I
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokedynamic test(Ljdk/internal/vm/compiler/collections/EconomicSet;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/hotspot/stubs/Stub.lambda$0(Ljdk/internal/vm/compiler/collections/EconomicSet;Ljdk/vm/ci/code/Register;)Z (6)
(Ljdk/vm/ci/code/Register;)Z
invokestatic org.graalvm.util.CollectionsUtil.allMatch:(Ljava/lang/Iterable;Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
0 5 1 b Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
Signature: (Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;)Z
MethodParameters:
Name Flags
a
b
public void initDestroyedCallerRegisters(jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register>);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
ifnull 2
aload 1
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
invokestatic org.graalvm.compiler.hotspot.stubs.Stub.checkRegisterSetEquivalency:(Ljdk/internal/vm/compiler/collections/EconomicSet;Ljdk/internal/vm/compiler/collections/EconomicSet;)Z
ifne 2
new java.lang.AssertionError
dup
ldc "cannot redefine"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 4 1 registers Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
Signature: (Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;)V
MethodParameters:
Name Flags
registers
public jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register> getDestroyedCallerRegisters();
descriptor: ()Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
ifnonnull 1
new java.lang.AssertionError
dup
ldc "not yet initialized"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
Signature: ()Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
public boolean preservesRegisters();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
public void <init>(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.meta.HotSpotProviders, org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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 3
putfield org.graalvm.compiler.hotspot.stubs.Stub.linkage:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
2: aload 0
new org.graalvm.compiler.options.OptionValues
dup
aload 1
getstatic org.graalvm.compiler.core.common.GraalOptions.TraceInlining:Lorg/graalvm/compiler/options/OptionKey;
getstatic org.graalvm.compiler.core.common.GraalOptions.TraceInliningForStubsAndSnippets:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionKey;Ljava/lang/Object;[Ljava/lang/Object;)V
putfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
3: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 5 1 options Lorg/graalvm/compiler/options/OptionValues;
0 5 2 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 5 3 linkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
options
providers
linkage
public org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage getLinkage();
descriptor: ()Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.linkage:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
public jdk.vm.ci.code.RegisterConfig getRegisterConfig();
descriptor: ()Ljdk/vm/ci/code/RegisterConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
protected abstract org.graalvm.compiler.nodes.StructuredGraph getGraph(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.common.CompilationIdentifier);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
debug
compilationId
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Stub<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.linkage:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
protected abstract jdk.vm.ci.meta.ResolvedJavaMethod getInstalledCodeOwner();
descriptor: ()Ljdk/vm/ci/meta/ResolvedJavaMethod;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.lang.Object debugScopeContext();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
private org.graalvm.compiler.debug.DebugContext openDebugContext(org.graalvm.compiler.debug.DebugContext);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.debug.DebugOptions.DebugStubsAndSnippets:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
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 3
1: new org.graalvm.compiler.debug.DebugContext$Description
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.linkage:Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
new java.lang.StringBuilder
dup
ldc "Stub_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.graalvm.compiler.hotspot.stubs.Stub.nextStubId:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.graalvm.compiler.debug.DebugContext$Description.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
astore 2
start local 2 2: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
aload 2
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.getGlobalMetrics:()Lorg/graalvm/compiler/debug/GlobalMetrics;
getstatic org.graalvm.compiler.debug.DebugContext.DEFAULT_LOG_STREAM:Ljava/io/PrintStream;
new org.graalvm.compiler.printer.GraalDebugHandlersFactory
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers: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;
invokestatic org.graalvm.compiler.debug.DebugContext.create:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext$Description;Lorg/graalvm/compiler/debug/GlobalMetrics;Ljava/io/PrintStream;Ljava/lang/Iterable;)Lorg/graalvm/compiler/debug/DebugContext;
areturn
end local 2 3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.debug.DebugContext.DISABLED:Lorg/graalvm/compiler/debug/DebugContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 4 1 outer Lorg/graalvm/compiler/debug/DebugContext;
2 3 2 description Lorg/graalvm/compiler/debug/DebugContext$Description;
MethodParameters:
Name Flags
outer
public synchronized jdk.vm.ci.code.InstalledCode getCode(org.graalvm.compiler.core.target.Backend);
descriptor: (Lorg/graalvm/compiler/core/target/Backend;)Ljdk/vm/ci/code/InstalledCode;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=15, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.code:Ljdk/vm/ci/code/InstalledCode;
ifnonnull 41
1: aconst_null
astore 2
aconst_null
astore 3
2: aload 0
invokestatic org.graalvm.compiler.debug.DebugContext.forCurrentThread:()Lorg/graalvm/compiler/debug/DebugContext;
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.openDebugContext:(Lorg/graalvm/compiler/debug/DebugContext;)Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 3: aconst_null
astore 5
aconst_null
astore 6
4: aload 4
ldc "CompilingStub"
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.debugScopeContext:()Ljava/lang/Object;
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 5: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
astore 8
start local 8 6: aload 0
aload 4
aload 1
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.buildCompilationResult:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/target/Backend;)Lorg/graalvm/compiler/code/CompilationResult;
astore 9
start local 9 7: aconst_null
astore 10
aconst_null
astore 11
8: aload 4
ldc "CodeInstall"
aload 9
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 12
start local 12 9: aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.activate:()Lorg/graalvm/compiler/debug/DebugContext$Activation;
astore 13
start local 13 10: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.destroyedCallerRegisters:Ljdk/internal/vm/compiler/collections/EconomicSet;
ifnonnull 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.core.target.Backend java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.debug.DebugContext$Activation
StackMap stack:
aload 8
aconst_null
aconst_null
aload 9
invokestatic org.graalvm.compiler.hotspot.HotSpotCompiledCodeBuilder.createCompiledCode:(Ljdk/vm/ci/code/CodeCacheProvider;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;Lorg/graalvm/compiler/code/CompilationResult;)Ljdk/vm/ci/hotspot/HotSpotCompiledCode;
astore 14
start local 14 12: aload 0
aload 8
aconst_null
aload 14
aconst_null
aconst_null
iconst_0
invokeinterface jdk.vm.ci.code.CodeCacheProvider.installCode:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljdk/vm/ci/code/CompiledCode;Ljdk/vm/ci/code/InstalledCode;Ljdk/vm/ci/meta/SpeculationLog;Z)Ljdk/vm/ci/code/InstalledCode;
putfield org.graalvm.compiler.hotspot.stubs.Stub.code:Ljdk/vm/ci/code/InstalledCode;
end local 14 13: aload 13
ifnull 16
aload 13
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 10
aload 13
ifnull 15
aload 13
invokevirtual org.graalvm.compiler.debug.DebugContext$Activation.close:()V
end local 13 StackMap locals:
StackMap stack:
15: aload 10
athrow
StackMap locals:
StackMap stack:
16: aload 12
ifnull 26
aload 12
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 11
aload 10
ifnonnull 18
aload 11
astore 10
goto 19
StackMap locals:
StackMap stack:
18: aload 10
aload 11
if_acmpeq 19
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 12
ifnull 20
aload 12
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 12 StackMap locals:
StackMap stack:
20: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 11
aload 10
ifnonnull 22
aload 11
astore 10
goto 23
StackMap locals:
StackMap stack:
22: aload 10
aload 11
if_acmpeq 23
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 10
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.core.target.Backend java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope jdk.vm.ci.code.CodeCacheProvider org.graalvm.compiler.code.CompilationResult
StackMap stack: java.lang.Throwable
24: astore 10
start local 10 25: aload 4
aload 10
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 10 end local 9 end local 8 26: StackMap locals:
StackMap stack:
aload 7
ifnull 34
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 5
aload 7
ifnull 28
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
28: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 6
aload 5
ifnonnull 30
aload 6
astore 5
goto 31
StackMap locals:
StackMap stack:
30: aload 5
aload 6
if_acmpeq 31
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 5
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.core.target.Backend java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext
StackMap stack: java.lang.Throwable
32: astore 5
start local 5 33: aload 4
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 34: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 35
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.code:Ljdk/vm/ci/code/InstalledCode;
ifnonnull 35
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "error installing stub "
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;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
35: StackMap locals:
StackMap stack:
aload 4
ifnull 41
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
goto 41
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 2
aload 4
ifnull 37
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.close:()V
end local 4 StackMap locals:
StackMap stack:
37: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
38: astore 3
aload 2
ifnonnull 39
aload 3
astore 2
goto 40
StackMap locals:
StackMap stack:
39: aload 2
aload 3
if_acmpeq 40
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
40: aload 2
athrow
41: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.code:Ljdk/vm/ci/code/InstalledCode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 42 1 backend Lorg/graalvm/compiler/core/target/Backend;
3 37 4 debug Lorg/graalvm/compiler/debug/DebugContext;
5 28 7 d Lorg/graalvm/compiler/debug/DebugContext$Scope;
6 26 8 codeCache Ljdk/vm/ci/code/CodeCacheProvider;
7 26 9 compResult Lorg/graalvm/compiler/code/CompilationResult;
9 20 12 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
10 15 13 a Lorg/graalvm/compiler/debug/DebugContext$Activation;
12 13 14 compiledCode Ljdk/vm/ci/hotspot/HotSpotCompiledCode;
25 26 10 e Ljava/lang/Throwable;
33 34 5 e Ljava/lang/Throwable;
Exception table:
from to target type
10 13 14 any
9 16 17 any
8 21 21 any
7 24 24 Class java.lang.Throwable
5 26 27 any
4 29 29 any
3 32 32 Class java.lang.Throwable
3 35 36 any
2 38 38 any
MethodParameters:
Name Flags
backend final
private org.graalvm.compiler.code.CompilationResult buildCompilationResult(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.target.Backend);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/target/Backend;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.getStubCompilationId:()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.getGraph:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/CompilationIdentifier;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 2: new org.graalvm.compiler.code.CompilationResult
dup
aload 3
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.toString:()Ljava/lang/String;
getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
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
invokespecial org.graalvm.compiler.code.CompilationResult.<init>:(Lorg/graalvm/compiler/core/common/CompilationIdentifier;Ljava/lang/String;Z)V
astore 5
start local 5 3: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 4
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
ifnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.code.CompilationResult
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
instanceof org.graalvm.compiler.hotspot.nodes.StubStartNode
ifne 8
5: aload 4
new org.graalvm.compiler.hotspot.nodes.StubStartNode
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.nodes.StubStartNode.<init>:(Lorg/graalvm/compiler/hotspot/stubs/Stub;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.hotspot.nodes.StubStartNode
astore 6
start local 6 6: aload 6
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
invokevirtual org.graalvm.compiler.nodes.StartNode.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
invokevirtual org.graalvm.compiler.hotspot.nodes.StubStartNode.setStateAfter:(Lorg/graalvm/compiler/nodes/FrameState;)V
7: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/graph/Node;)V
end local 6 8: StackMap locals:
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
9: aload 1
ldc "StubCompilation"
aload 4
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 8
start local 8 10: aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.createSuites:()Lorg/graalvm/compiler/phases/tiers/Suites;
astore 9
start local 9 11: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
aload 2
aload 4
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
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;
getstatic org.graalvm.compiler.phases.OptimisticOptimizations.ALL:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
getstatic jdk.vm.ci.meta.TriState.UNKNOWN:Ljdk/vm/ci/meta/TriState;
invokestatic jdk.vm.ci.meta.DefaultProfilingInfo.get:(Ljdk/vm/ci/meta/TriState;)Ljdk/vm/ci/meta/ProfilingInfo;
aload 9
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
12: aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.createLIRSuites:()Lorg/graalvm/compiler/lir/phases/LIRSuites;
astore 10
start local 10 13: aload 4
aload 0
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.getInstalledCodeOwner:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
aload 5
getstatic org.graalvm.compiler.lir.asm.CompilationResultBuilderFactory.Default:Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.getRegisterConfig:()Ljdk/vm/ci/code/RegisterConfig;
aload 10
invokestatic org.graalvm.compiler.core.GraalCompiler.emitBackEnd:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/target/Backend;Lorg/graalvm/compiler/code/CompilationResult;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilderFactory;Ljdk/vm/ci/code/RegisterConfig;Lorg/graalvm/compiler/lir/phases/LIRSuites;)V
14: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 15
aload 0
aload 5
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.checkStubInvariants:(Lorg/graalvm/compiler/code/CompilationResult;)Z
ifne 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 10 end local 9 15: StackMap locals: java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack:
aload 8
ifnull 23
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 6
aload 8
ifnull 17
aload 8
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 8 StackMap locals:
StackMap stack:
17: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 7
aload 6
ifnonnull 19
aload 7
astore 6
goto 20
StackMap locals:
StackMap stack:
19: aload 6
aload 7
if_acmpeq 20
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 6
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.target.Backend org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.code.CompilationResult
StackMap stack: java.lang.Throwable
21: astore 6
start local 6 22: aload 1
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 6 23: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 24 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 24 2 backend Lorg/graalvm/compiler/core/target/Backend;
1 24 3 compilationId Lorg/graalvm/compiler/core/common/CompilationIdentifier;
2 24 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 24 5 compResult Lorg/graalvm/compiler/code/CompilationResult;
6 8 6 newStart Lorg/graalvm/compiler/hotspot/nodes/StubStartNode;
10 17 8 s0 Lorg/graalvm/compiler/debug/DebugContext$Scope;
11 15 9 suites Lorg/graalvm/compiler/phases/tiers/Suites;
13 15 10 lirSuites Lorg/graalvm/compiler/lir/phases/LIRSuites;
22 23 6 e Ljava/lang/Throwable;
Exception table:
from to target type
10 15 16 any
9 18 18 any
8 21 21 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
backend final
public org.graalvm.compiler.code.CompilationResult getCompilationResult(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.target.Backend);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/target/Backend;)Lorg/graalvm/compiler/code/CompilationResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 1
ldc "CompilingStub"
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
aload 0
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.debugScopeContext:()Ljava/lang/Object;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 5
start local 5 2: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.hotspot.stubs.Stub.buildCompilationResult:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/target/Backend;)Lorg/graalvm/compiler/code/CompilationResult;
3: aload 5
ifnull 4
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
4: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.target.Backend java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: org.graalvm.compiler.code.CompilationResult
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 5
ifnull 7
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
7: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 4
aload 3
ifnonnull 9
aload 4
astore 3
goto 10
StackMap locals:
StackMap stack:
9: aload 3
aload 4
if_acmpeq 10
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 3
athrow
StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.target.Backend
StackMap stack: java.lang.Throwable
11: astore 3
start local 3 12: aload 1
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 13 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 13 2 backend Lorg/graalvm/compiler/core/target/Backend;
2 7 5 d Lorg/graalvm/compiler/debug/DebugContext$Scope;
12 13 3 e Ljava/lang/Throwable;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
0 4 11 Class java.lang.Throwable
5 11 11 Class java.lang.Throwable
MethodParameters:
Name Flags
debug
backend final
public org.graalvm.compiler.core.common.CompilationIdentifier getStubCompilationId();
descriptor: ()Lorg/graalvm/compiler/core/common/CompilationIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.hotspot.stubs.StubCompilationIdentifier
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.stubs.StubCompilationIdentifier.<init>:(Lorg/graalvm/compiler/hotspot/stubs/Stub;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
private boolean checkStubInvariants(org.graalvm.compiler.code.CompilationResult);
descriptor: (Lorg/graalvm/compiler/code/CompilationResult;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getExceptionHandlers:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
aload 0
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getAssumptions:()[Ljdk/vm/ci/meta/Assumptions$Assumption;
ifnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "stubs should not use assumptions: "
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;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getDataPatches:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.code.CompilationResult top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.DataPatch
astore 2
start local 2 4: aload 2
getfield jdk.vm.ci.code.site.DataPatch.reference:Ljdk/vm/ci/code/site/Reference;
instanceof jdk.vm.ci.code.site.ConstantReference
ifeq 10
5: aload 2
getfield jdk.vm.ci.code.site.DataPatch.reference:Ljdk/vm/ci/code/site/Reference;
checkcast jdk.vm.ci.code.site.ConstantReference
astore 4
start local 4 6: aload 4
invokevirtual jdk.vm.ci.code.site.ConstantReference.getConstant:()Ljdk/vm/ci/meta/VMConstant;
instanceof jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
ifeq 10
7: aload 4
invokevirtual jdk.vm.ci.code.site.ConstantReference.getConstant:()Ljdk/vm/ci/meta/VMConstant;
checkcast jdk.vm.ci.hotspot.HotSpotMetaspaceConstant
astore 5
start local 5 8: aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
ifnull 10
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotMetaspaceConstant.asResolvedJavaType:()Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getName:()Ljava/lang/String;
ldc "[I"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: goto 11
end local 5 end local 4 10: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.code.CompilationResult jdk.vm.ci.code.site.DataPatch java.util.Iterator
StackMap stack:
getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 11
aload 2
getfield jdk.vm.ci.code.site.DataPatch.reference:Ljdk/vm/ci/code/site/Reference;
instanceof jdk.vm.ci.code.site.ConstantReference
ifeq 11
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " cannot have embedded object or metadata constant: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
getfield jdk.vm.ci.code.site.DataPatch.reference:Ljdk/vm/ci/code/site/Reference;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 11: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.code.CompilationResult top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
12: aload 1
invokevirtual org.graalvm.compiler.code.CompilationResult.getInfopoints:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 19
StackMap locals:
StackMap stack:
13: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.code.site.Infopoint
astore 2
start local 2 14: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 15
aload 2
instanceof jdk.vm.ci.code.site.Call
ifne 15
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " cannot have non-call infopoint: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
15: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.code.CompilationResult jdk.vm.ci.code.site.Infopoint java.util.Iterator
StackMap stack:
aload 2
checkcast jdk.vm.ci.code.site.Call
astore 4
start local 4 16: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 17
aload 4
getfield jdk.vm.ci.code.site.Call.target:Ljdk/vm/ci/meta/InvokeTarget;
instanceof org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
ifne 17
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " cannot have non runtime call: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
getfield jdk.vm.ci.code.site.Call.target:Ljdk/vm/ci/meta/InvokeTarget;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
17: StackMap locals: jdk.vm.ci.code.site.Call
StackMap stack:
aload 4
getfield jdk.vm.ci.code.site.Call.target:Ljdk/vm/ci/meta/InvokeTarget;
checkcast org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage
astore 5
start local 5 18: getstatic org.graalvm.compiler.hotspot.stubs.Stub.$assertionsDisabled:Z
ifne 19
aload 5
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.isCompiledStub:()Z
ifeq 19
aload 5
invokeinterface org.graalvm.compiler.hotspot.HotSpotForeignCallLinkage.getDescriptor:()Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
getstatic org.graalvm.compiler.hotspot.HotSpotHostBackend.UNCOMMON_TRAP_HANDLER:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
invokevirtual org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.equals:(Ljava/lang/Object;)Z
ifne 19
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " cannot call compiled stub "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 end local 4 end local 2 19: StackMap locals: org.graalvm.compiler.hotspot.stubs.Stub org.graalvm.compiler.code.CompilationResult top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
20: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
0 21 1 compResult Lorg/graalvm/compiler/code/CompilationResult;
4 11 2 data Ljdk/vm/ci/code/site/DataPatch;
6 10 4 ref Ljdk/vm/ci/code/site/ConstantReference;
8 10 5 c Ljdk/vm/ci/hotspot/HotSpotMetaspaceConstant;
14 19 2 infopoint Ljdk/vm/ci/code/site/Infopoint;
16 19 4 call Ljdk/vm/ci/code/site/Call;
18 19 5 callLinkage Lorg/graalvm/compiler/hotspot/HotSpotForeignCallLinkage;
MethodParameters:
Name Flags
compResult
protected org.graalvm.compiler.phases.tiers.Suites createSuites();
descriptor: ()Lorg/graalvm/compiler/phases/tiers/Suites;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/phases/tiers/Suites;
astore 1
start local 1 1: new org.graalvm.compiler.phases.tiers.Suites
dup
new org.graalvm.compiler.phases.PhaseSuite
dup
invokespecial org.graalvm.compiler.phases.PhaseSuite.<init>:()V
aload 1
invokevirtual org.graalvm.compiler.phases.tiers.Suites.getMidTier:()Lorg/graalvm/compiler/phases/PhaseSuite;
aload 1
invokevirtual org.graalvm.compiler.phases.tiers.Suites.getLowTier:()Lorg/graalvm/compiler/phases/PhaseSuite;
invokespecial org.graalvm.compiler.phases.tiers.Suites.<init>:(Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/PhaseSuite;Lorg/graalvm/compiler/phases/PhaseSuite;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
1 2 1 defaultSuites Lorg/graalvm/compiler/phases/tiers/Suites;
protected org.graalvm.compiler.lir.phases.LIRSuites createLIRSuites();
descriptor: ()Lorg/graalvm/compiler/lir/phases/LIRSuites;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: new org.graalvm.compiler.lir.phases.LIRSuites
dup
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.providers:Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSuites:()Lorg/graalvm/compiler/phases/tiers/SuitesProvider;
aload 0
getfield org.graalvm.compiler.hotspot.stubs.Stub.options:Lorg/graalvm/compiler/options/OptionValues;
invokeinterface org.graalvm.compiler.phases.tiers.SuitesProvider.getDefaultLIRSuites:(Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/lir/phases/LIRSuites;
invokespecial org.graalvm.compiler.lir.phases.LIRSuites.<init>:(Lorg/graalvm/compiler/lir/phases/LIRSuites;)V
astore 1
start local 1 1: aload 1
invokevirtual org.graalvm.compiler.lir.phases.LIRSuites.getPostAllocationOptimizationStage:()Lorg/graalvm/compiler/lir/phases/LIRPhaseSuite;
ldc Lorg/graalvm/compiler/lir/profiling/MoveProfilingPhase;
invokevirtual org.graalvm.compiler.lir.phases.LIRPhaseSuite.findPhase:(Ljava/lang/Class;)Ljava/util/ListIterator;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokeinterface java.util.ListIterator.remove:()V
4: StackMap locals: org.graalvm.compiler.lir.phases.LIRSuites java.util.ListIterator
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/stubs/Stub;
1 5 1 lirSuites Lorg/graalvm/compiler/lir/phases/LIRSuites;
2 5 2 moveProfiling Ljava/util/ListIterator<Lorg/graalvm/compiler/lir/phases/LIRPhase<Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;>;>;
private static boolean lambda$0(jdk.internal.vm.compiler.collections.EconomicSet, jdk.vm.ci.code.Register);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;Ljdk/vm/ci/code/Register;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 e Ljdk/vm/ci/code/Register;
}
SourceFile: "Stub.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Assumption = jdk.vm.ci.meta.Assumptions$Assumption of jdk.vm.ci.meta.Assumptions
public Activation = org.graalvm.compiler.debug.DebugContext$Activation of org.graalvm.compiler.debug.DebugContext
public Description = org.graalvm.compiler.debug.DebugContext$Description of org.graalvm.compiler.debug.DebugContext
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final PostAllocationOptimizationContext = org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext of org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase