public class org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates extends org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates
super_class: org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates
{
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.AllocationSnippets$AllocationSnippetCounters snippetCounters;
descriptor: Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData profilingData;
descriptor: Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
flags: (0x0002) ACC_PRIVATE
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateInstance;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateInstancePIC;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateArray;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateArrayPIC;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocatePrimitiveArrayPIC;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateArrayDynamic;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo allocateInstanceDynamic;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo newmultiarray;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo newmultiarrayPIC;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo verifyHeap;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo threadBeingInitializedCheck;
descriptor: Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
flags: (0x0012) ACC_PRIVATE, 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=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
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.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.options.OptionValues, java.lang.Iterable<org.graalvm.compiler.debug.DebugHandlersFactory>, org.graalvm.compiler.replacements.SnippetCounter$Group$Factory, org.graalvm.compiler.hotspot.meta.HotSpotProviders, jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=8, 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
aload 2
aload 4
aload 4
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getSnippetReflection:()Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;
aload 5
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates.<init>:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable;Lorg/graalvm/compiler/phases/util/Providers;Lorg/graalvm/compiler/api/replacements/SnippetReflectionProvider;Ljdk/vm/ci/code/TargetDescription;)V
1: aload 0
aload 6
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2: aload 0
new org.graalvm.compiler.replacements.AllocationSnippets$AllocationSnippetCounters
dup
aload 3
invokespecial org.graalvm.compiler.replacements.AllocationSnippets$AllocationSnippetCounters.<init>:(Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;)V
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippetCounters:Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;
3: new org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
dup
aload 6
aload 4
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getRegisters:()Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
invokespecial org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.<init>:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;)V
astore 7
start local 7 4: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateInstance"
aconst_null
aload 7
iconst_5
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_4
5: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
6: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstance:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
7: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateArray"
aconst_null
aload 7
iconst_4
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArray:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
8: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateInstancePIC"
aconst_null
aload 7
iconst_5
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_4
9: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
10: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstancePIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
11: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateArrayPIC"
aconst_null
aload 7
iconst_4
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
12: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocatePrimitiveArrayPIC"
aconst_null
aload 7
iconst_4
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
13: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
14: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocatePrimitiveArrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
15: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateArrayDynamic"
aconst_null
aload 7
iconst_4
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
16: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
17: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArrayDynamic:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
18: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "allocateInstanceDynamic"
aconst_null
aload 7
bipush 6
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.HUB_WRITE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_2
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_3
19: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_4
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_5
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.CLASS_INIT_STATE_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
20: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstanceDynamic:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
21: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "newmultiarray"
aconst_null
aload 7
iconst_2
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.newmultiarray:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
22: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "newmultiarrayPIC"
aconst_null
aload 7
iconst_2
anewarray jdk.internal.vm.compiler.word.LocationIdentity
dup
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_TOP_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
dup
iconst_1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.TLAB_END_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
aastore
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.newmultiarrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
23: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "verifyHeap"
aconst_null
aload 7
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.verifyHeap:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
24: aload 0
aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
ldc "threadBeingInitializedCheck"
aconst_null
aload 7
iconst_0
anewarray jdk.internal.vm.compiler.word.LocationIdentity
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippet:(Ljava/lang/Class;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Object;[Ljdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.threadBeingInitializedCheck:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
25: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 26 1 options Lorg/graalvm/compiler/options/OptionValues;
0 26 2 factories Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;
0 26 3 groupFactory Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;
0 26 4 providers Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
0 26 5 target Ljdk/vm/ci/code/TargetDescription;
0 26 6 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
4 26 7 receiver Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
Signature: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/Iterable<Lorg/graalvm/compiler/debug/DebugHandlersFactory;>;Lorg/graalvm/compiler/replacements/SnippetCounter$Group$Factory;Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
MethodParameters:
Name Flags
options
factories
groupFactory
providers
target
config
private org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData getProfilingData(org.graalvm.compiler.options.OptionValues, java.lang.String, jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.ProfileAllocations:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 5
1: aload 3
ifnonnull 2
aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 3
iconst_0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.toJavaName:(Z)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 4
start local 4 4: new org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippetCounters:Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;
aload 2
aload 4
invokespecial org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData.<init>:(Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.profilingData:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
ifnonnull 7
6: aload 0
new org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.snippetCounters:Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;
aconst_null
aconst_null
invokespecial org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData.<init>:(Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationSnippetCounters;Ljava/lang/String;Ljava/lang/String;)V
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.profilingData:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.profilingData:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 8 1 localOptions Lorg/graalvm/compiler/options/OptionValues;
0 8 2 path Ljava/lang/String;
0 8 3 type Ljdk/vm/ci/meta/ResolvedJavaType;
4 5 4 typeContext Ljava/lang/String;
MethodParameters:
Name Flags
localOptions
path
type
public void lower(org.graalvm.compiler.nodes.java.NewInstanceNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/NewInstanceNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.instanceClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.isArray:()Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.hotspot.HotSpotResolvedObjectType
StackMap stack:
invokestatic org.graalvm.compiler.hotspot.nodes.type.KlassPointerStamp.klassNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/KlassPointerStamp;
aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 5
start local 5 4: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.instanceSize:(Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;)J
lstore 6
start local 6 5: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 8
start local 8 6: getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC: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
ifeq 7
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstancePIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
goto 8
StackMap locals: org.graalvm.compiler.nodes.ConstantNode long org.graalvm.compiler.options.OptionValues
StackMap stack:
7: aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstance:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
8: astore 9
start local 9 9: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 9
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 10
start local 10 10: aload 10
ldc "hub"
aload 5
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
11: aload 10
ldc "prototypeMarkWord"
aload 4
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.prototypeMarkWord:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
12: aload 10
ldc "size"
lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
13: aload 10
ldc "fillContents"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.fillContents:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
14: aload 10
ldc "emitMemoryBarrier"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewInstanceNode.emitMemoryBarrier:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
15: aload 10
ldc "profilingData"
aload 0
aload 8
ldc "instance"
aload 4
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.getProfilingData:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
16: aload 0
aload 1
aload 10
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 11
start local 11 17: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
ldc "Lowering allocateInstance in %s: node=%s, template=%s, arguments=%s"
aload 3
aload 1
aload 11
aload 10
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
18: aload 11
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 10
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
19: return
end local 11 end local 10 end local 9 end local 8 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 20 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 20 1 node Lorg/graalvm/compiler/nodes/java/NewInstanceNode;
0 20 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 20 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 20 4 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
4 20 5 hub Lorg/graalvm/compiler/nodes/ConstantNode;
5 20 6 size J
6 20 8 localOptions Lorg/graalvm/compiler/options/OptionValues;
9 20 9 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
10 20 10 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
17 20 11 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.nodes.java.NewArrayNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/NewArrayNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.elementType:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 2: aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getArrayClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
astore 5
start local 5 3: aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
astore 6
start local 6 4: invokestatic org.graalvm.compiler.hotspot.nodes.type.KlassPointerStamp.klassNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/KlassPointerStamp;
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 7
start local 7 5: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 6
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayBaseOffset:(Ljdk/vm/ci/meta/JavaKind;)I
istore 8
start local 8 6: aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 6
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.getArrayIndexScale:(Ljdk/vm/ci/meta/JavaKind;)I
invokestatic jdk.vm.ci.code.CodeUtil.log2:(I)I
istore 9
start local 9 7: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 10
start local 10 8: getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 10
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 14
9: aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifeq 12
10: aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocatePrimitiveArrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 11
start local 11 11: goto 15
end local 11 12: StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.NewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.hotspot.HotSpotResolvedObjectType jdk.vm.ci.meta.JavaKind org.graalvm.compiler.nodes.ConstantNode int int org.graalvm.compiler.options.OptionValues
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 11
start local 11 13: goto 15
end local 11 14: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArray:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
astore 11
start local 11 15: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 11
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 12
start local 12 16: aload 12
ldc "hub"
aload 7
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
17: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
ifne 18
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.prototypeMarkWord:()J
aload 2
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.lookupArrayClass:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.prototypeMarkWord:()J
lcmp
ifeq 18
new java.lang.AssertionError
dup
ldc "all array types are assumed to have the same prototypeMarkWord"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
18: StackMap locals: org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack:
aload 12
ldc "prototypeMarkWord"
aload 5
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.prototypeMarkWord:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
19: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.length:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 13
start local 13 20: aload 12
ldc "length"
aload 13
invokevirtual org.graalvm.compiler.nodes.ValueNode.isAlive:()Z
ifeq 21
aload 13
goto 22
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.NewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.hotspot.HotSpotResolvedObjectType jdk.vm.ci.meta.JavaKind org.graalvm.compiler.nodes.ConstantNode int int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.nodes.ValueNode
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
21: aload 3
aload 13
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.NewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.hotspot.HotSpotResolvedObjectType jdk.vm.ci.meta.JavaKind org.graalvm.compiler.nodes.ConstantNode int int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo org.graalvm.compiler.replacements.SnippetTemplate$Arguments org.graalvm.compiler.nodes.ValueNode
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String org.graalvm.compiler.graph.Node
22: invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
23: aload 12
ldc "headerSize"
iload 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
24: aload 12
ldc "log2ElementSize"
iload 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
25: aload 12
ldc "fillContents"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.fillContents:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
26: aload 12
ldc "emitMemoryBarrier"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewArrayNode.emitMemoryBarrier:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
27: aload 12
ldc "maybeUnroll"
aload 13
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
28: aload 12
ldc "supportsBulkZeroing"
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.supportsBulkZeroing:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
29: aload 12
ldc "profilingData"
aload 0
aload 10
ldc "array"
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.getProfilingData:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
30: aload 0
aload 1
aload 12
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
astore 14
start local 14 31: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
ldc "Lowering allocateArray in %s: node=%s, template=%s, arguments=%s"
aload 3
aload 1
aload 14
aload 12
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
32: aload 14
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 12
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
33: return
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 34 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 34 1 node Lorg/graalvm/compiler/nodes/java/NewArrayNode;
0 34 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 34 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 34 4 elementType Ljdk/vm/ci/meta/ResolvedJavaType;
3 34 5 arrayType Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
4 34 6 elementKind Ljdk/vm/ci/meta/JavaKind;
5 34 7 hub Lorg/graalvm/compiler/nodes/ConstantNode;
6 34 8 headerSize I
7 34 9 log2ElementSize I
8 34 10 localOptions Lorg/graalvm/compiler/options/OptionValues;
11 12 11 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
13 14 11 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
15 34 11 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
16 34 12 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
20 34 13 length Lorg/graalvm/compiler/nodes/ValueNode;
31 34 14 template Lorg/graalvm/compiler/replacements/SnippetTemplate;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.nodes.java.NewMultiArrayNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewMultiArrayNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 4
start local 4 2: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewMultiArrayNode.dimensionCount:()I
istore 5
start local 5 3: iload 5
anewarray org.graalvm.compiler.nodes.ValueNode
astore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 8
6: StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.NewMultiArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues int org.graalvm.compiler.nodes.ValueNode[] int
StackMap stack:
aload 6
iload 7
aload 1
iload 7
invokevirtual org.graalvm.compiler.nodes.java.NewMultiArrayNode.dimension:(I)Lorg/graalvm/compiler/nodes/ValueNode;
aastore
7: iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewMultiArrayNode.dimensionCount:()I
if_icmplt 6
end local 7 9: aload 1
invokevirtual org.graalvm.compiler.nodes.java.NewMultiArrayNode.type:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
astore 7
start local 7 10: invokestatic org.graalvm.compiler.hotspot.nodes.type.KlassPointerStamp.klassNonNull:()Lorg/graalvm/compiler/hotspot/nodes/type/KlassPointerStamp;
aload 7
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 8
start local 8 11: getstatic org.graalvm.compiler.core.common.GraalOptions.GeneratePIC:Lorg/graalvm/compiler/options/OptionKey;
aload 4
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
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.newmultiarrayPIC:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
goto 13
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.NewMultiArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues int org.graalvm.compiler.nodes.ValueNode[] jdk.vm.ci.hotspot.HotSpotResolvedObjectType org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
12: aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.newmultiarray:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
StackMap locals:
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo
13: astore 9
start local 9 14: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 9
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 10
start local 10 15: aload 10
ldc "hub"
aload 8
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
16: aload 10
ldc "rank"
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
17: aload 10
ldc "dimensions"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 6
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addVarargs:(Ljava/lang/String;Ljava/lang/Class;Lorg/graalvm/compiler/core/common/type/Stamp;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
18: aload 0
aload 1
aload 10
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 10
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
19: return
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 20 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 20 1 node Lorg/graalvm/compiler/nodes/java/NewMultiArrayNode;
0 20 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 20 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 20 4 localOptions Lorg/graalvm/compiler/options/OptionValues;
3 20 5 rank I
4 20 6 dims [Lorg/graalvm/compiler/nodes/ValueNode;
5 9 7 i I
10 20 7 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
11 20 8 hub Lorg/graalvm/compiler/nodes/ConstantNode;
14 20 9 snippet Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
15 20 10 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.nodes.java.DynamicNewInstanceNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/DynamicNewInstanceNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.getClassClass:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
ifne 3
aload 4
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateInstanceDynamic:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 5
start local 5 4: aload 5
ldc "type"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.getInstanceType:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
5: aload 5
ldc "classClass"
aload 4
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
6: aload 5
ldc "fillContents"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.fillContents:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 5
ldc "emitMemoryBarrier"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.emitMemoryBarrier:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
8: aload 5
ldc "profilingData"
aload 0
aload 3
ldc ""
aconst_null
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.getProfilingData:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
9: aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 5
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
10: return
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 11 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 11 1 node Lorg/graalvm/compiler/nodes/java/DynamicNewInstanceNode;
0 11 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 11 3 localOptions Lorg/graalvm/compiler/options/OptionValues;
2 11 4 classClass Lorg/graalvm/compiler/nodes/ValueNode;
4 11 5 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.nodes.java.DynamicNewArrayNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/java/DynamicNewArrayNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 4
start local 4 2: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.length:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 3: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getVoidClass:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 4: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
ifne 5
aload 6
ifnonnull 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.DynamicNewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.allocateArrayDynamic:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 7
start local 7 6: aload 7
ldc "elementType"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getElementType:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
7: aload 7
ldc "prototypeMarkWord"
aload 2
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.lookupArrayClass:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.prototypeMarkWord:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
8: aload 7
ldc "voidClass"
aload 6
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
9: aload 7
ldc "length"
aload 5
invokevirtual org.graalvm.compiler.nodes.ValueNode.isAlive:()Z
ifeq 10
aload 5
goto 11
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.DynamicNewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
10: aload 3
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.DynamicNewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String org.graalvm.compiler.graph.Node
11: invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
12: aload 7
ldc "fillContents"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.fillContents:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
13: aload 7
ldc "emitMemoryBarrier"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.emitMemoryBarrier:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
14: aload 7
ldc "knownElementKind"
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getKnownElementKind:()Ljdk/vm/ci/meta/JavaKind;
ifnonnull 15
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
goto 16
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.DynamicNewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String
15: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getKnownElementKind:()Ljdk/vm/ci/meta/JavaKind;
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates org.graalvm.compiler.nodes.java.DynamicNewArrayNode org.graalvm.compiler.nodes.spi.LoweringTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.replacements.SnippetTemplate$Arguments
StackMap stack: org.graalvm.compiler.replacements.SnippetTemplate$Arguments java.lang.String jdk.vm.ci.meta.JavaKind
16: invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
17: aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getKnownElementKind:()Ljdk/vm/ci/meta/JavaKind;
ifnull 20
18: aload 7
ldc "knownLayoutHelper"
aload 2
aload 1
invokevirtual org.graalvm.compiler.nodes.java.DynamicNewArrayNode.getKnownElementKind:()Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.lookupArrayClass:(Lorg/graalvm/compiler/nodes/spi/LoweringTool;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.layoutHelper:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 7
ldc "knownLayoutHelper"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
21: StackMap locals:
StackMap stack:
aload 7
ldc "supportsBulkZeroing"
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.supportsBulkZeroing:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
22: aload 7
ldc "profilingData"
aload 0
aload 4
ldc "dynamic type"
aconst_null
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.getProfilingData:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaType;)Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.addConst:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
23: aload 0
aload 1
aload 7
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 7
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
24: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 25 1 node Lorg/graalvm/compiler/nodes/java/DynamicNewArrayNode;
0 25 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 25 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 25 4 localOptions Lorg/graalvm/compiler/options/OptionValues;
3 25 5 length Lorg/graalvm/compiler/nodes/ValueNode;
4 25 6 voidClass Lorg/graalvm/compiler/nodes/ValueNode;
6 25 7 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.nodes.debug.VerifyHeapNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/debug/VerifyHeapNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.cAssertions:Z
ifeq 4
1: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.verifyHeap:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1
invokevirtual org.graalvm.compiler.nodes.debug.VerifyHeapNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
end local 3 3: goto 5
4: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 6 1 node Lorg/graalvm/compiler/nodes/debug/VerifyHeapNode;
0 6 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
2 3 3 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
node
tool
public void lower(org.graalvm.compiler.hotspot.nodes.KlassBeingInitializedCheckNode, org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/hotspot/nodes/KlassBeingInitializedCheckNode;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.replacements.SnippetTemplate$Arguments
dup
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.threadBeingInitializedCheck:Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.KlassBeingInitializedCheckNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLoweringStage:()Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;
invokespecial org.graalvm.compiler.replacements.SnippetTemplate$Arguments.<init>:(Lorg/graalvm/compiler/replacements/SnippetTemplate$SnippetInfo;Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
astore 3
start local 3 1: aload 3
ldc "klass"
aload 1
invokevirtual org.graalvm.compiler.hotspot.nodes.KlassBeingInitializedCheckNode.getKlass:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate$Arguments.add:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
pop
2: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.template:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Lorg/graalvm/compiler/replacements/SnippetTemplate;
aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.providers:Lorg/graalvm/compiler/phases/util/Providers;
invokevirtual org.graalvm.compiler.phases.util.Providers.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
getstatic org.graalvm.compiler.replacements.SnippetTemplate.DEFAULT_REPLACER:Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;
aload 3
invokevirtual org.graalvm.compiler.replacements.SnippetTemplate.instantiate:(Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/replacements/SnippetTemplate$UsageReplacer;Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;)Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$Templates;
0 4 1 node Lorg/graalvm/compiler/hotspot/nodes/KlassBeingInitializedCheckNode;
0 4 2 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
1 4 3 args Lorg/graalvm/compiler/replacements/SnippetTemplate$Arguments;
MethodParameters:
Name Flags
node
tool
private static jdk.vm.ci.hotspot.HotSpotResolvedObjectType lookupArrayClass(org.graalvm.compiler.nodes.spi.LoweringTool, jdk.vm.ci.meta.JavaKind);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.lookupArrayClass:(Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
0 1 1 kind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
tool
kind
private static long instanceSize(jdk.vm.ci.hotspot.HotSpotResolvedObjectType);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.instanceSize:()I
i2l
lstore 1
start local 1 1: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates.$assertionsDisabled:Z
ifne 2
lload 1
lconst_0
lcmp
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
1 3 1 size J
MethodParameters:
Name Flags
type
}
SourceFile: "HotSpotAllocationSnippets.java"
NestHost: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
InnerClasses:
private HotSpotAllocationProfilingData = org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData of org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
public Templates = org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates of org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
protected AllocationSnippetCounters = org.graalvm.compiler.replacements.AllocationSnippets$AllocationSnippetCounters of org.graalvm.compiler.replacements.AllocationSnippets
public Group = org.graalvm.compiler.replacements.SnippetCounter$Group of org.graalvm.compiler.replacements.SnippetCounter
public abstract Factory = org.graalvm.compiler.replacements.SnippetCounter$Group$Factory of org.graalvm.compiler.replacements.SnippetCounter$Group
public abstract AbstractTemplates = org.graalvm.compiler.replacements.SnippetTemplate$AbstractTemplates of org.graalvm.compiler.replacements.SnippetTemplate
public Arguments = org.graalvm.compiler.replacements.SnippetTemplate$Arguments of org.graalvm.compiler.replacements.SnippetTemplate
public abstract SnippetInfo = org.graalvm.compiler.replacements.SnippetTemplate$SnippetInfo of org.graalvm.compiler.replacements.SnippetTemplate
public abstract UsageReplacer = org.graalvm.compiler.replacements.SnippetTemplate$UsageReplacer of org.graalvm.compiler.replacements.SnippetTemplate