public class org.graalvm.compiler.hotspot.replacements.NewObjectSnippets implements org.graalvm.compiler.replacements.Snippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.NewObjectSnippets
super_class: java.lang.Object
{
public static final int MAX_ARRAY_FAST_PATH_ALLOCATION_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16777215
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor DYNAMIC_NEW_INSTANCE;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.core.common.spi.ForeignCallDescriptor DYNAMIC_NEW_INSTANCE_OR_NULL;
descriptor: Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int MAX_UNROLLED_OBJECT_ZEROING_STORES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$NewObjectSnippets$ProfileContext;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "dynamic_new_instance"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.DYNAMIC_NEW_INSTANCE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
1: new org.graalvm.compiler.core.common.spi.ForeignCallDescriptor
dup
ldc "dynamic_new_instance_or_null"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
invokespecial org.graalvm.compiler.core.common.spi.ForeignCallDescriptor.<init>:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.DYNAMIC_NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets;
static java.lang.String createName(org.graalvm.compiler.options.OptionValues, java.lang.String, java.lang.String);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$NewObjectSnippets$ProfileContext:()[I
getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.ProfileAllocationsContext:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 0
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 2
3: 3
4: 3
5: 4
default: 5
}
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 2
areturn
4: StackMap locals:
StackMap stack:
ldc "bytes"
areturn
5: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 options Lorg/graalvm/compiler/options/OptionValues;
0 6 1 path Ljava/lang/String;
0 6 2 typeContext Ljava/lang/String;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
1:
2:
MethodParameters:
Name Flags
options
path
typeContext
static boolean doProfile(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.ProfileAllocations:Lorg/graalvm/compiler/options/OptionKey;
aload 0
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
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 options Lorg/graalvm/compiler/options/OptionValues;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
options
static boolean withContext(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.replacements.HotspotSnippetsOptions.ProfileAllocationsContext:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 0
invokevirtual org.graalvm.compiler.options.EnumOptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext
astore 1
start local 1 1: aload 1
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.AllocatingMethod:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
if_acmpeq 2
aload 1
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.AllocatedTypesInMethod:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
if_acmpeq 2
iconst_0
ireturn
StackMap locals: org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 options Lorg/graalvm/compiler/options/OptionValues;
1 3 1 context Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
options
protected static void profileAllocation(java.lang.String, long, java.lang.String);
descriptor: (Ljava/lang/String;JLjava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.doProfile:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 5
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
aload 0
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.createName:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.withContext:(Lorg/graalvm/compiler/options/OptionValues;)Z
istore 5
start local 5 3: ldc "number of bytes allocated"
aload 4
lload 1
iload 5
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
4: ldc "number of allocations"
aload 4
lconst_1
iload 5
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
end local 5 end local 4 5: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/lang/String;
0 6 1 size J
0 6 3 typeContext Ljava/lang/String;
2 5 4 name Ljava/lang/String;
3 5 5 context Z
MethodParameters:
Name Flags
path
size
typeContext
public static void emitPrefetchAllocate(org.graalvm.compiler.word.Word, boolean);
descriptor: (Lorg/graalvm/compiler/word/Word;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchStyle:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ifle 13
1: iload 1
ifeq 2
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchLines:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
goto 3
StackMap locals:
StackMap stack:
2: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocateInstancePrefetchLines:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchStepSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 3
start local 3 5: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchDistance:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
istore 4
start local 4 6: invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
7: iconst_0
istore 5
start local 5 8: goto 12
9: StackMap locals: org.graalvm.compiler.word.Word int int int int int
StackMap stack:
aload 0
iload 4
i2l
invokestatic org.graalvm.compiler.nodes.memory.address.OffsetAddressNode.address:(Ljava/lang/Object;J)Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;
invokestatic org.graalvm.compiler.nodes.PrefetchAllocateNode.prefetch:(Lorg/graalvm/compiler/nodes/memory/address/AddressNode$Address;)V
10: iload 4
iload 3
iadd
istore 4
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 2
if_icmplt 9
end local 5 end local 4 end local 3 end local 2 13: StackMap locals: org.graalvm.compiler.word.Word int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 address Lorg/graalvm/compiler/word/Word;
0 14 1 isArray Z
4 13 2 lines I
5 13 3 stepSize I
6 13 4 distance I
8 13 5 i I
MethodParameters:
Name Flags
address
isArray
public static java.lang.Object allocateInstance(long, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=10, args_size=9
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: lload 0
aload 2
aload 3
iload 4
iload 5
aload 6
iload 7
aload 8
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastToSnippetReplaceeStamp:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 size J
0 1 2 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 1 3 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 1 4 fillContents Z
0 1 5 emitMemoryBarrier Z
0 1 6 threadRegister Ljdk/vm/ci/code/Register;
0 1 7 constantSize Z
0 1 8 typeContext Ljava/lang/String;
0 1 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
size
hub
prototypeMarkWord
fillContents
emitMemoryBarrier
threadRegister
constantSize
typeContext
counters
public static java.lang.Object allocateInstanceHelper(long, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=16, args_size=9
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 1: aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 2: aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 13
start local 13 3: aload 12
lload 0
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 4: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useTLAB:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 9
ldc 0.99
aload 14
aload 13
invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 9
5: aload 11
aload 14
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
6: aload 14
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.emitPrefetchAllocate:(Lorg/graalvm/compiler/word/Word;Z)V
7: aload 2
lload 0
aload 12
aload 3
iload 4
iload 5
iload 7
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatObject:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;JLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 10
start local 10 8: goto 13
end local 10 9: StackMap locals: long org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int int jdk.vm.ci.code.Register int java.lang.String org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters top org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
aload 9
astore 15
start local 15 10: aload 15
ifnull 12
aload 15
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.stub:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 12
11: aload 15
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.stub:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
12: StackMap locals: org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newInstanceStub:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
astore 10
end local 15 start local 10 13: StackMap locals: long org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int int jdk.vm.ci.code.Register int java.lang.String org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Object org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
ldc "instance"
lload 0
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.profileAllocation:(Ljava/lang/String;JLjava/lang/String;)V
14: aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 size J
0 15 2 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 15 3 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 15 4 fillContents Z
0 15 5 emitMemoryBarrier Z
0 15 6 threadRegister Ljdk/vm/ci/code/Register;
0 15 7 constantSize Z
0 15 8 typeContext Ljava/lang/String;
0 15 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
8 9 10 result Ljava/lang/Object;
13 15 10 result Ljava/lang/Object;
1 15 11 thread Lorg/graalvm/compiler/word/Word;
2 15 12 top Lorg/graalvm/compiler/word/Word;
3 15 13 end Lorg/graalvm/compiler/word/Word;
4 15 14 newTop Lorg/graalvm/compiler/word/Word;
10 13 15 theCounters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
size
hub
prototypeMarkWord
fillContents
emitMemoryBarrier
threadRegister
constantSize
typeContext
counters
public static java.lang.Object newInstanceStub(org.graalvm.compiler.hotspot.word.KlassPointer);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newInstanceOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_INSTANCE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newInstance:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
MethodParameters:
Name Flags
hub
private static native java.lang.Object newInstance(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = true)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
hub
private static native java.lang.Object newInstanceOrNull(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = false)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
hub
public static java.lang.Object allocateInstancePIC(long, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=11, args_size=9
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 2
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 10
start local 10 1: lload 0
aload 10
aload 3
iload 4
iload 5
aload 6
iload 7
aload 8
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastToSnippetReplaceeStamp:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 size J
0 2 2 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 3 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 4 fillContents Z
0 2 5 emitMemoryBarrier Z
0 2 6 threadRegister Ljdk/vm/ci/code/Register;
0 2 7 constantSize Z
0 2 8 typeContext Ljava/lang/String;
0 2 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 10 picHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
size
hub
prototypeMarkWord
fillContents
emitMemoryBarrier
threadRegister
constantSize
typeContext
counters
public static allocateInstanceDynamic(java.lang.Class<?>, java.lang.Class<?>, boolean, boolean, jdk.vm.ci.code.Register, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;ZZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: dconst_0
aload 0
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: java.lang.Class java.lang.Class int int jdk.vm.ci.code.Register org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters
StackMap stack: double int
2: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 4
3: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastNonNullClass:(Ljava/lang/Class;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Ljava/lang/Class;
astore 6
start local 6 5: dconst_0
aload 0
aload 1
invokestatic org.graalvm.compiler.nodes.java.DynamicNewInstanceNode.throwsInstantiationException:(Ljava/lang/Class;Ljava/lang/Class;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 7
6: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
7: StackMap locals: java.lang.Class
StackMap stack:
aload 0
iload 2
iload 3
aload 4
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceDynamicHelper:(Ljava/lang/Class;ZZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;Ljava/lang/Class;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastToSnippetReplaceeStamp:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 8 0 type Ljava/lang/Class<*>;
0 8 1 classClass Ljava/lang/Class<*>;
0 8 2 fillContents Z
0 8 3 emitMemoryBarrier Z
0 8 4 threadRegister Ljdk/vm/ci/code/Register;
0 8 5 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
5 8 6 nonNullType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;ZZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
type
classClass
fillContents
emitMemoryBarrier
threadRegister
counters
private static allocateInstanceDynamicHelper(java.lang.Class<?>, boolean, boolean, jdk.vm.ci.code.Register, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;ZZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.ClassGetHubNode.readClass:(Ljava/lang/Class;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 6
start local 6 1: ldc 0.99
aload 6
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
ifeq 2
iconst_0
goto 3
StackMap locals: java.lang.Class int int jdk.vm.ci.code.Register org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
2: iconst_1
StackMap locals: java.lang.Class int int jdk.vm.ci.code.Register org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
3: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 13
4: aload 6
invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
invokestatic org.graalvm.compiler.hotspot.replacements.ClassGetHubNode.piCastNonNull:(Ljava/lang/Object;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 7
start local 7 5: ldc 0.999
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.isInstanceKlassFullyInitialized:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 12
6: aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
istore 8
start local 8 7: ldc 0.99
iload 8
iconst_1
iand
ifne 8
iconst_1
goto 9
StackMap locals: java.lang.Class int int jdk.vm.ci.code.Register org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer int
StackMap stack: double
8: iconst_0
StackMap locals: java.lang.Class int int jdk.vm.ci.code.Register org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer int
StackMap stack: double int
9: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 13
10: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.prototypeMarkWordOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 11: iload 8
i2l
aload 7
aload 9
iload 1
iload 2
aload 3
iconst_0
ldc ""
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(JLorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
areturn
end local 9 end local 8 12: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
end local 7 13: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.dynamicNewInstanceStub:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
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 14 0 type Ljava/lang/Class<*>;
0 14 1 fillContents Z
0 14 2 emitMemoryBarrier Z
0 14 3 threadRegister Ljdk/vm/ci/code/Register;
0 14 4 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
0 14 5 nonNullType Ljava/lang/Class<*>;
1 14 6 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
5 13 7 nonNullHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
7 12 8 layoutHelper I
11 12 9 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
Signature: (Ljava/lang/Class<*>;ZZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
type
fillContents
emitMemoryBarrier
threadRegister
counters
nonNullType
public static java.lang.Object allocatePrimitiveArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 12
start local 12 1: aload 12
iload 1
aload 2
iload 3
iload 4
iload 5
2: iload 6
aload 7
iload 8
aload 9
iload 10
aload 11
3: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
areturn
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 4 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 4 1 length I
0 4 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 4 3 headerSize I
0 4 4 log2ElementSize I
0 4 5 fillContents Z
0 4 6 emitMemoryBarrier Z
0 4 7 threadRegister Ljdk/vm/ci/code/Register;
0 4 8 maybeUnroll Z
0 4 9 typeContext Ljava/lang/String;
0 4 10 supportsBulkZeroing Z
0 4 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 4 12 picHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
10:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
11:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
threadRegister
maybeUnroll
typeContext
supportsBulkZeroing
counters
public static java.lang.Object allocateArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 12
start local 12 1: aload 12
iload 1
aload 2
iload 3
iload 4
iload 5
2: iload 6
aload 7
iload 8
aload 9
iload 10
aload 11
3: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
areturn
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 4 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 4 1 length I
0 4 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 4 3 headerSize I
0 4 4 log2ElementSize I
0 4 5 fillContents Z
0 4 6 emitMemoryBarrier Z
0 4 7 threadRegister Ljdk/vm/ci/code/Register;
0 4 8 maybeUnroll Z
0 4 9 typeContext Ljava/lang/String;
0 4 10 supportsBulkZeroing Z
0 4 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 4 12 picHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
10:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
11:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
threadRegister
maybeUnroll
typeContext
supportsBulkZeroing
counters
public static java.lang.Object allocateArray(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
1: iload 1
2: aload 2
3: iload 3
4: iload 4
5: iload 5
6: iload 6
aload 7
7: iload 8
8: aload 9
9: iload 10
10: aload 11
11: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 12
start local 12 12: aload 12
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
iload 1
invokestatic org.graalvm.compiler.nodes.PiArrayNode.piArrayCastToSnippetReplaceeStamp:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
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 13 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 13 1 length I
0 13 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 13 3 headerSize I
0 13 4 log2ElementSize I
0 13 5 fillContents Z
0 13 6 emitMemoryBarrier Z
0 13 7 threadRegister Ljdk/vm/ci/code/Register;
0 13 8 maybeUnroll Z
0 13 9 typeContext Ljava/lang/String;
0 13 10 supportsBulkZeroing Z
0 13 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
12 13 12 result Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
10:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
11:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
threadRegister
maybeUnroll
typeContext
supportsBulkZeroing
counters
static boolean useNullAllocationStubs(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.areNullAllocationStubsAvailable:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
config
private static java.lang.Object allocateArrayImpl(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=12, locals=20, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: iload 1
iload 3
iload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayAllocationSize:(III)J
lstore 13
start local 13 1: aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 15
start local 15 2: aload 15
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 16
start local 16 3: aload 15
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 4: aload 16
lload 13
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 18
start local 18 5: ldc 0.9
iload 1
ldc 16777215
invokestatic org.graalvm.compiler.core.common.calc.UnsignedMath.belowThan:(II)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 14
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useTLAB:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 14
6: ldc 0.99
aload 18
aload 17
invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 14
7: aload 15
aload 18
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
8: aload 18
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.emitPrefetchAllocate:(Lorg/graalvm/compiler/word/Word;Z)V
9: aload 11
astore 19
start local 19 10: aload 19
ifnull 12
aload 19
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.arrayLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 12
11: aload 19
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.arrayLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
12: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer int org.graalvm.compiler.word.Word int int int int jdk.vm.ci.code.Register int java.lang.String int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters top long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters
StackMap stack:
aload 0
lload 13
iload 1
iload 3
aload 16
aload 2
iload 5
iload 6
iload 8
iload 10
aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatArray:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;JIILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 12
end local 19 start local 12 13: goto 15
end local 12 14: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newArrayStub:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
astore 12
start local 12 15: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer int org.graalvm.compiler.word.Word int int int int jdk.vm.ci.code.Register int java.lang.String int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Object long org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
ldc "array"
lload 13
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.profileAllocation:(Ljava/lang/String;JLjava/lang/String;)V
16: aload 12
areturn
end local 18 end local 17 end local 16 end local 15 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 17 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 17 1 length I
0 17 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 17 3 headerSize I
0 17 4 log2ElementSize I
0 17 5 fillContents Z
0 17 6 emitMemoryBarrier Z
0 17 7 threadRegister Ljdk/vm/ci/code/Register;
0 17 8 maybeUnroll Z
0 17 9 typeContext Ljava/lang/String;
0 17 10 supportsBulkZeroing Z
0 17 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
13 14 12 result Ljava/lang/Object;
15 17 12 result Ljava/lang/Object;
1 17 13 allocationSize J
2 17 15 thread Lorg/graalvm/compiler/word/Word;
3 17 16 top Lorg/graalvm/compiler/word/Word;
4 17 17 end Lorg/graalvm/compiler/word/Word;
5 17 18 newTop Lorg/graalvm/compiler/word/Word;
10 13 19 theCounters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
threadRegister
maybeUnroll
typeContext
supportsBulkZeroing
counters
public static java.lang.Object newArrayStub(org.graalvm.compiler.hotspot.word.KlassPointer, int);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_ARRAY_OR_NULL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newArrayOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_ARRAY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newArray:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 3 1 length I
MethodParameters:
Name Flags
hub
length
private static native java.lang.Object newArray(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = true)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
MethodParameters:
Name Flags
descriptor
hub
length
private static native java.lang.Object newArrayOrNull(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = false)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
MethodParameters:
Name Flags
descriptor
hub
length
public static dynamicNewInstanceStub(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.DYNAMIC_NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.dynamicNewInstanceOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.DYNAMIC_NEW_INSTANCE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.dynamicNewInstance:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 elementType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
elementType
private static java.lang.Object nonNullOrDeopt(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: dconst_0
aload 0
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: java.lang.Object
StackMap stack: double int
2: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 4
3: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static native dynamicNewInstance(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Class<?>);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class<*>;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = true)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
elementType
public static native dynamicNewInstanceOrNull(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Class<?>);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class<*>;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = false)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
MethodParameters:
Name Flags
descriptor
elementType
public static allocateArrayDynamic(java.lang.Class<?>, java.lang.Class<?>, int, boolean, boolean, jdk.vm.ci.code.Register, jdk.vm.ci.meta.JavaKind, int, boolean, org.graalvm.compiler.word.Word, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;IZZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=11, locals=12, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 0
aload 1
iload 2
iload 3
iload 4
aload 5
aload 6
1: iload 7
iload 8
aload 9
aload 10
2: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayDynamicImpl:(Ljava/lang/Class;Ljava/lang/Class;IZZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 11
start local 11 3: aload 11
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 elementType Ljava/lang/Class<*>;
0 4 1 voidClass Ljava/lang/Class<*>;
0 4 2 length I
0 4 3 fillContents Z
0 4 4 emitMemoryBarrier Z
0 4 5 threadRegister Ljdk/vm/ci/code/Register;
0 4 6 knownElementKind Ljdk/vm/ci/meta/JavaKind;
0 4 7 knownLayoutHelper I
0 4 8 supportsBulkZeroing Z
0 4 9 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 4 10 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
3 4 11 result Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;IZZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
4:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
5:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
6:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
7:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
10:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
elementType
voidClass
length
fillContents
emitMemoryBarrier
threadRegister
knownElementKind
knownLayoutHelper
supportsBulkZeroing
prototypeMarkWord
counters
private static allocateArrayDynamicImpl(java.lang.Class<?>, java.lang.Class<?>, int, boolean, boolean, jdk.vm.ci.code.Register, jdk.vm.ci.meta.JavaKind, int, boolean, org.graalvm.compiler.word.Word, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;IZZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=12, locals=17, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 6
getstatic jdk.vm.ci.meta.JavaKind.Void:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "unsupported knownElementKind"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.staticAssert:(ZLjava/lang/String;)V
3: aload 6
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 7
ldc 0.010000000000000009
aload 0
ifnull 4
aload 0
aload 1
invokestatic org.graalvm.compiler.nodes.java.DynamicNewArrayNode.throwsIllegalArgumentException:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 4
iconst_0
goto 5
StackMap locals:
StackMap stack: double
4: iconst_1
StackMap locals: java.lang.Class java.lang.Class int int int jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.word.Word org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters
StackMap stack: double int
5: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 7
6: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
7: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayKlassOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.CLASS_ARRAY_KLASS_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadKlassFromObject:(Ljava/lang/Object;ILjdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 11
start local 11 8: dconst_0
aload 11
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 10
9: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
10: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack:
aload 11
invokestatic org.graalvm.compiler.nodes.SnippetAnchorNode.anchor:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
invokestatic org.graalvm.compiler.hotspot.replacements.ClassGetHubNode.piCastNonNull:(Ljava/lang/Object;Lorg/graalvm/compiler/nodes/extended/GuardingNode;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 12
start local 12 11: dconst_0
iload 2
ifge 12
iconst_1
goto 13
StackMap locals: java.lang.Class java.lang.Class int int int jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.word.Word org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
12: iconst_0
StackMap locals: java.lang.Class java.lang.Class int int int jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.word.Word org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
13: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 15
14: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
15: StackMap locals:
StackMap stack:
aload 6
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 18
16: aload 12
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
istore 13
start local 13 17: goto 22
end local 13 18: StackMap locals:
StackMap stack:
iload 7
aload 12
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
if_icmpne 19
iconst_1
goto 20
StackMap locals:
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: ldc "layout mismatch"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
21: iload 7
istore 13
start local 13 22: StackMap locals: int
StackMap stack:
iload 13
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperHeaderSizeShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ishr
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperHeaderSizeMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iand
istore 14
start local 14 23: iload 13
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperLog2ElementSizeShift:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ishr
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperLog2ElementSizeMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iand
istore 15
start local 15 24: aload 12
iload 2
aload 9
iload 14
iload 15
iload 3
25: iload 4
aload 5
iconst_0
ldc "dynamic type"
iload 8
aload 10
26: invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 16
start local 16 27: aload 16
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
iload 2
invokestatic org.graalvm.compiler.nodes.PiArrayNode.piArrayCastToSnippetReplaceeStamp:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 elementType Ljava/lang/Class<*>;
0 28 1 voidClass Ljava/lang/Class<*>;
0 28 2 length I
0 28 3 fillContents Z
0 28 4 emitMemoryBarrier Z
0 28 5 threadRegister Ljdk/vm/ci/code/Register;
0 28 6 knownElementKind Ljdk/vm/ci/meta/JavaKind;
0 28 7 knownLayoutHelper I
0 28 8 supportsBulkZeroing Z
0 28 9 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 28 10 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
8 28 11 klass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
11 28 12 nonNullKlass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
17 18 13 layoutHelper I
22 28 13 layoutHelper I
23 28 14 headerSize I
24 28 15 log2ElementSize I
27 28 16 result Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;IZZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
MethodParameters:
Name Flags
elementType
voidClass
length
fillContents
emitMemoryBarrier
threadRegister
knownElementKind
knownLayoutHelper
supportsBulkZeroing
prototypeMarkWord
counters
private static java.lang.Object newmultiarray(org.graalvm.compiler.hotspot.word.KlassPointer, int, int[]);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;I[I)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic org.graalvm.compiler.hotspot.nodes.DimensionsNode.allocaDimsArray:(I)Lorg/graalvm/compiler/word/Word;
astore 3
start local 3 1: invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: org.graalvm.compiler.word.Word int
StackMap stack:
aload 3
iload 4
iconst_4
imul
aload 2
iload 4
iaload
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 1
if_icmplt 4
end local 4 7: aload 0
iload 1
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newMultiArrayStub:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 8 1 rank I
0 8 2 dimensions [I
1 8 3 dims Lorg/graalvm/compiler/word/Word;
3 7 4 i I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
2:
org.graalvm.compiler.api.replacements.Snippet$VarargsParameter()
MethodParameters:
Name Flags
hub
rank
dimensions
private static java.lang.Object newMultiArrayStub(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_MULTI_ARRAY_OR_NULL:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newMultiArrayOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_MULTI_ARRAY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newMultiArray:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 3 1 rank I
0 3 2 dims Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
hub
rank
dims
private static java.lang.Object newmultiarrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, int, int[]);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;I[I)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 3
start local 3 1: aload 3
iload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newmultiarray:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;I[I)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 1 rank I
0 2 2 dimensions [I
1 2 3 picHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
2:
org.graalvm.compiler.api.replacements.Snippet$VarargsParameter()
MethodParameters:
Name Flags
hub
rank
dimensions
private static native java.lang.Object newMultiArray(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = true)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
MethodParameters:
Name Flags
descriptor
hub
rank
dims
private static native java.lang.Object newMultiArrayOrNull(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic(value = Lorg/graalvm/compiler/nodes/extended/ForeignCallNode;, injectedStampIsNonNull = false)
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
1:
2:
3:
MethodParameters:
Name Flags
descriptor
hub
rank
dims
private static void zeroMemory(org.graalvm.compiler.word.Word, int, long, boolean, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 start local 7 0: lconst_0
aload 0
iload 1
lload 2
iload 4
iload 5
iload 6
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillMemory:(JLorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
1: return
end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 memory Lorg/graalvm/compiler/word/Word;
0 2 1 startOffset I
0 2 2 endOffset J
0 2 4 isEndOffsetConstant Z
0 2 5 manualUnroll Z
0 2 6 supportsBulkZeroing Z
0 2 7 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
memory
startOffset
endOffset
isEndOffsetConstant
manualUnroll
supportsBulkZeroing
counters
private static void fillMemory(long, org.graalvm.compiler.word.Word, int, long, boolean, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (JLorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=13, args_size=8
start local 0 start local 2 start local 3 start local 4 start local 6 start local 7 start local 8 start local 9 0: lload 4
ldc 7
land
lconst_0
lcmp
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "unaligned object size"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
3: iload 3
istore 10
start local 10 4: iload 10
bipush 7
iand
ifeq 7
5: aload 2
iload 10
lload 0
l2i
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
6: iinc 10 4
7: StackMap locals: int
StackMap stack:
iload 10
bipush 7
iand
ifne 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: ldc "unaligned offset"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.runtimeAssert:(ZLjava/lang/String;)V
10: aload 9
astore 11
start local 11 11: iload 7
ifeq 26
lload 4
iload 10
i2l
lsub
ldc 8
ldiv
ldc 8
lcmp
ifgt 26
12: iload 6
ifeq 13
iconst_0
goto 14
StackMap locals: org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: ldc "size shouldn't be constant at instantiation time"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.staticAssert:(ZLjava/lang/String;)V
15: aload 11
ifnull 17
aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 17
16: aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
17: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
18: iconst_0
istore 12
start local 12 19: goto 24
20: StackMap locals: int
StackMap stack:
iload 10
i2l
lload 4
lcmp
ifne 22
21: goto 45
22: StackMap locals:
StackMap stack:
aload 2
iload 10
lload 0
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.initializeLong:(IJLjdk/internal/vm/compiler/word/LocationIdentity;)V
23: iinc 12 1
iinc 10 8
StackMap locals:
StackMap stack:
24: iload 12
bipush 8
if_icmplt 20
end local 12 25: goto 45
26: StackMap locals:
StackMap stack:
iload 10
invokestatic jdk.internal.vm.compiler.word.WordFactory.signed:(I)Ljdk/internal/vm/compiler/word/SignedWord;
checkcast org.graalvm.compiler.word.Word
astore 12
start local 12 27: iload 8
ifeq 34
lload 0
lconst_0
lcmp
ifne 34
ldc 0.010000000000000009
lload 4
iload 10
i2l
lsub
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.getMinimalBulkZeroingSize:(Lorg/graalvm/compiler/options/OptionValues;)I
i2l
lcmp
iflt 28
iconst_1
goto 29
StackMap locals: long org.graalvm.compiler.word.Word int long int int int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters org.graalvm.compiler.word.Word
StackMap stack: double
28: iconst_0
StackMap locals: long org.graalvm.compiler.word.Word int long int int int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters int org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters org.graalvm.compiler.word.Word
StackMap stack: double int
29: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 34
30: aload 11
ifnull 32
aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceBulkInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 32
31: aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceBulkInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
32: StackMap locals:
StackMap stack:
aload 2
aload 12
invokevirtual org.graalvm.compiler.word.Word.add:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
lload 4
iload 10
i2l
lsub
iconst_1
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.replacements.nodes.ZeroMemoryNode.zero:(Lorg/graalvm/compiler/word/Word;JZLjdk/internal/vm/compiler/word/LocationIdentity;)V
33: goto 45
34: StackMap locals:
StackMap stack:
iload 6
ifeq 39
lload 4
iload 10
i2l
lsub
ldc 8
ldiv
ldc 8
lcmp
ifgt 39
35: aload 11
ifnull 37
aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 37
36: aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
37: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
38: goto 44
39: StackMap locals:
StackMap stack:
aload 11
ifnull 44
aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 44
40: aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
41: goto 44
42: StackMap locals:
StackMap stack:
aload 2
aload 12
lload 0
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.initializeLong:(Ljdk/internal/vm/compiler/word/WordBase;JLjdk/internal/vm/compiler/word/LocationIdentity;)V
43: aload 12
bipush 8
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 12
StackMap locals:
StackMap stack:
44: aload 12
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
lload 4
lcmp
iflt 42
end local 12 45: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 value J
0 46 2 memory Lorg/graalvm/compiler/word/Word;
0 46 3 startOffset I
0 46 4 endOffset J
0 46 6 constantOffsetLimit Z
0 46 7 manualUnroll Z
0 46 8 supportsBulkZeroing Z
0 46 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
4 46 10 offset I
11 46 11 theCounters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
19 25 12 i I
27 45 12 off Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
value
memory
startOffset
endOffset
constantOffsetLimit
manualUnroll
supportsBulkZeroing
counters
static int getMinimalBulkZeroingSize(org.graalvm.compiler.options.OptionValues);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.common.GraalOptions.MinimalBulkZeroingSize:Lorg/graalvm/compiler/options/OptionKey;
aload 0
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 optionValues Lorg/graalvm/compiler/options/OptionValues;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
optionValues
private static void fillWithGarbage(org.graalvm.compiler.word.Word, int, long, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/word/Word;IJZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 0: ldc -72340172838076674
aload 0
iload 1
lload 2
iload 4
iload 5
iconst_0
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillMemory:(JLorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
1: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 memory Lorg/graalvm/compiler/word/Word;
0 2 1 startOffset I
0 2 2 endOffset J
0 2 4 isEndOffsetConstant Z
0 2 5 manualUnroll Z
0 2 6 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
memory
startOffset
endOffset
isEndOffsetConstant
manualUnroll
counters
private static java.lang.Object formatObject(org.graalvm.compiler.hotspot.word.KlassPointer, long, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, boolean, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;JLorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=10, args_size=8
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useBiasedLocking:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 1
aload 0
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.prototypeMarkWordOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.PROTOTYPE_MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
goto 2
StackMap locals:
StackMap stack:
1: aload 4
StackMap locals:
StackMap stack: org.graalvm.compiler.word.Word
2: astore 9
start local 9 3: aload 3
aload 9
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.initializeObjectHeader:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
4: iload 5
ifeq 7
5: aload 3
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.instanceHeaderSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
lload 1
iload 7
iconst_0
iconst_0
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.zeroMemory:(Lorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
6: goto 9
StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
7: getstatic org.graalvm.compiler.replacements.ReplacementsUtil.REPLACEMENTS_ASSERTIONS_ENABLED:Z
ifeq 9
8: aload 3
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.instanceHeaderSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
lload 1
iload 7
iconst_0
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillWithGarbage:(Lorg/graalvm/compiler/word/Word;IJZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
9: StackMap locals:
StackMap stack:
iload 6
ifeq 11
10: bipush 8
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.word.Word.toObjectNonNull:()Ljava/lang/Object;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 12 1 size J
0 12 3 memory Lorg/graalvm/compiler/word/Word;
0 12 4 compileTimePrototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 12 5 fillContents Z
0 12 6 emitMemoryBarrier Z
0 12 7 constantSize Z
0 12 8 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
3 12 9 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
hub
size
memory
compileTimePrototypeMarkWord
fillContents
emitMemoryBarrier
constantSize
counters
private static void verifyHeap(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=4, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 1
start local 1 1: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 2
start local 2 2: aload 2
invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.equal:(Lorg/graalvm/compiler/word/Word;)Z
ifne 6
3: aload 2
iconst_0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.MARK_WORD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 3
start local 3 4: aload 3
invokestatic jdk.internal.vm.compiler.word.WordFactory.zero:()Ljdk/internal/vm/compiler/word/WordBase;
checkcast org.graalvm.compiler.word.Word
invokevirtual org.graalvm.compiler.word.Word.equal:(Lorg/graalvm/compiler/word/Word;)Z
ifeq 6
5: getstatic org.graalvm.compiler.hotspot.replacements.AssertionSnippets.ASSERTION_VM_MESSAGE_C:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
iconst_1
ldc "overzeroing of TLAB detected"
invokestatic org.graalvm.compiler.replacements.nodes.CStringConstant.cstring:(Ljava/lang/String;)Lorg/graalvm/compiler/word/Word;
lconst_0
lconst_0
lconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.AssertionSnippets.vmMessageC:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;ZLorg/graalvm/compiler/word/Word;JJJ)V
end local 3 6: StackMap locals: org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 threadRegister Ljdk/vm/ci/code/Register;
1 7 1 thread Lorg/graalvm/compiler/word/Word;
2 7 2 topValue Lorg/graalvm/compiler/word/Word;
4 6 3 topValueContents Lorg/graalvm/compiler/word/Word;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
threadRegister
private static void threadBeingInitializedCheck(jdk.vm.ci.code.Register, org.graalvm.compiler.hotspot.word.KlassPointer);
descriptor: (Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readInstanceKlassInitState:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)B
istore 2
start local 2 1: iload 2
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.instanceKlassStateBeingInitialized:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
if_icmpeq 4
2: getstatic jdk.vm.ci.meta.DeoptimizationAction.InvalidateRecompile:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
3: goto 6
StackMap locals: int
StackMap stack:
4: aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readInstanceKlassInitThread:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/word/Word;
if_acmpeq 6
5: getstatic jdk.vm.ci.meta.DeoptimizationAction.None:Ljdk/vm/ci/meta/DeoptimizationAction;
getstatic jdk.vm.ci.meta.DeoptimizationReason.RuntimeConstraint:Ljdk/vm/ci/meta/DeoptimizationReason;
invokestatic org.graalvm.compiler.nodes.DeoptimizeNode.deopt:(Ljdk/vm/ci/meta/DeoptimizationAction;Ljdk/vm/ci/meta/DeoptimizationReason;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 threadRegister Ljdk/vm/ci/code/Register;
0 7 1 klass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
1 7 2 state I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
1:
MethodParameters:
Name Flags
threadRegister
klass
private static java.lang.Object formatArray(org.graalvm.compiler.hotspot.word.KlassPointer, long, int, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, boolean, boolean, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;JIILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=12, args_size=11
start local 0 start local 1 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfigBase.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayLengthOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iload 3
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILjdk/internal/vm/compiler/word/LocationIdentity;)V
1: aload 5
aload 6
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.initializeObjectHeader:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
2: iload 7
ifeq 5
3: aload 5
iload 4
lload 1
iconst_0
iload 9
iload 10
aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.zeroMemory:(Lorg/graalvm/compiler/word/Word;IJZZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
4: goto 7
StackMap locals:
StackMap stack:
5: getstatic org.graalvm.compiler.replacements.ReplacementsUtil.REPLACEMENTS_ASSERTIONS_ENABLED:Z
ifeq 7
6: aload 5
iload 4
lload 1
iconst_0
iload 9
aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillWithGarbage:(Lorg/graalvm/compiler/word/Word;IJZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
7: StackMap locals:
StackMap stack:
iload 8
ifeq 9
8: bipush 8
invokestatic jdk.internal.vm.compiler.word.LocationIdentity.init:()Ljdk/internal/vm/compiler/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILjdk/internal/vm/compiler/word/LocationIdentity;)V
9: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.word.Word.toObjectNonNull:()Ljava/lang/Object;
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 10 1 allocationSize J
0 10 3 length I
0 10 4 headerSize I
0 10 5 memory Lorg/graalvm/compiler/word/Word;
0 10 6 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 10 7 fillContents Z
0 10 8 emitMemoryBarrier Z
0 10 9 maybeUnroll Z
0 10 10 supportsBulkZeroing Z
0 10 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
hub
allocationSize
length
headerSize
memory
prototypeMarkWord
fillContents
emitMemoryBarrier
maybeUnroll
supportsBulkZeroing
counters
static int[] $SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$NewObjectSnippets$ProfileContext();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$NewObjectSnippets$ProfileContext:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.values:()[Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.AllocatedType:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.AllocatedTypesInMethod:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.AllocatingMethod:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.InstanceOrArray:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.Total:Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$NewObjectSnippets$ProfileContext:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "NewObjectSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Templates
InnerClasses:
public abstract InjectedParameter = org.graalvm.compiler.api.replacements.Fold$InjectedParameter of org.graalvm.compiler.api.replacements.Fold
public abstract ConstantParameter = org.graalvm.compiler.api.replacements.Snippet$ConstantParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract VarargsParameter = org.graalvm.compiler.api.replacements.Snippet$VarargsParameter of org.graalvm.compiler.api.replacements.Snippet
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
Counters = org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters of org.graalvm.compiler.hotspot.replacements.NewObjectSnippets
final ProfileContext = org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$ProfileContext of org.graalvm.compiler.hotspot.replacements.NewObjectSnippets
public Templates = org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Templates of org.graalvm.compiler.hotspot.replacements.NewObjectSnippets
public abstract Address = org.graalvm.compiler.nodes.memory.address.AddressNode$Address of org.graalvm.compiler.nodes.memory.address.AddressNode