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_ARRAY;
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;
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_array"
ldc Ljava/lang/Object;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE: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_ARRAY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
1: 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;
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(java.lang.String, java.lang.String, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)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 2
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 0
areturn
3: StackMap locals:
StackMap stack:
aload 1
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 path Ljava/lang/String;
0 6 1 typeContext Ljava/lang/String;
0 6 2 options Lorg/graalvm/compiler/options/OptionValues;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
MethodParameters:
Name Flags
path
typeContext
options
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()
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()
MethodParameters:
Name Flags
options
protected static void profileAllocation(java.lang.String, long, java.lang.String, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljava/lang/String;JLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.doProfile:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 5
1: aload 0
aload 3
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.createName:(Ljava/lang/String;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/String;
astore 5
start local 5 2: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.withContext:(Lorg/graalvm/compiler/options/OptionValues;)Z
istore 6
start local 6 3: aload 5
ldc "number of bytes allocated"
lload 1
iload 6
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
4: aload 5
ldc "number of allocations"
lconst_1
iload 6
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
end local 6 end local 5 5: StackMap locals:
StackMap stack:
return
end local 4 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;
0 6 4 options Lorg/graalvm/compiler/options/OptionValues;
2 5 5 name Ljava/lang/String;
3 5 6 context Z
MethodParameters:
Name Flags
path
size
typeContext
options
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=7, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.config:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 2
start local 2 1: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.allocatePrefetchStyle:I
ifle 14
2: iload 1
ifeq 3
aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.allocatePrefetchLines:I
goto 4
StackMap locals: org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack:
3: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.allocateInstancePrefetchLines:I
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.allocatePrefetchStepSize:I
istore 4
start local 4 6: aload 2
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.allocatePrefetchDistance:I
istore 5
start local 5 7: invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
8: iconst_0
istore 6
start local 6 9: goto 13
10: StackMap locals: org.graalvm.compiler.word.Word int org.graalvm.compiler.hotspot.GraalHotSpotVMConfig int int int int
StackMap stack:
aload 0
iload 5
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
11: iload 5
iload 4
iadd
istore 5
12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 3
if_icmplt 10
end local 6 end local 5 end local 4 end local 3 14: StackMap locals: org.graalvm.compiler.word.Word int org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 address Lorg/graalvm/compiler/word/Word;
0 15 1 isArray Z
1 15 2 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
5 14 3 lines I
6 14 4 stepSize I
7 14 5 distance I
9 14 6 i I
MethodParameters:
Name Flags
address
isArray
public static java.lang.Object allocateInstance(int, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: iload 0
aload 1
aload 2
iload 3
aload 4
iload 5
aload 6
aload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;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 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 1 0 size I
0 1 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 1 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 1 3 fillContents Z
0 1 4 threadRegister Ljdk/vm/ci/code/Register;
0 1 5 constantSize Z
0 1 6 typeContext Ljava/lang/String;
0 1 7 options Lorg/graalvm/compiler/options/OptionValues;
0 1 8 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
threadRegister
constantSize
typeContext
options
counters
public static java.lang.Object allocateInstanceHelper(int, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=14, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 10
start local 10 1: aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 11
start local 11 2: aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 12
start local 12 3: aload 11
iload 0
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 13
start local 13 4: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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 13
aload 12
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 10
aload 13
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
6: aload 13
iconst_0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.emitPrefetchAllocate:(Lorg/graalvm/compiler/word/Word;Z)V
7: aload 1
iload 0
aload 11
aload 2
iload 3
iload 5
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatObject:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 9
start local 9 8: goto 12
end local 9 9: StackMap locals: int org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int jdk.vm.ci.code.Register int java.lang.String org.graalvm.compiler.options.OptionValues 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 8
ifnull 11
aload 8
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.stub:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 11
10: aload 8
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.stub:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
11: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_INSTANCE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newInstance:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
astore 9
start local 9 12: StackMap locals: int org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word int jdk.vm.ci.code.Register int java.lang.String org.graalvm.compiler.options.OptionValues 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"
iload 0
i2l
aload 6
aload 7
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.profileAllocation:(Ljava/lang/String;JLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)V
13: aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
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 14 0 size I
0 14 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 14 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 14 3 fillContents Z
0 14 4 threadRegister Ljdk/vm/ci/code/Register;
0 14 5 constantSize Z
0 14 6 typeContext Ljava/lang/String;
0 14 7 options Lorg/graalvm/compiler/options/OptionValues;
0 14 8 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
8 9 9 result Ljava/lang/Object;
12 14 9 result Ljava/lang/Object;
1 14 10 thread Lorg/graalvm/compiler/word/Word;
2 14 11 top Lorg/graalvm/compiler/word/Word;
3 14 12 end Lorg/graalvm/compiler/word/Word;
4 14 13 newTop Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
size
hub
prototypeMarkWord
fillContents
threadRegister
constantSize
typeContext
options
counters
public 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: (0x0109) ACC_PUBLIC, 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
public static java.lang.Object allocateInstancePIC(int, org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 9
start local 9 1: iload 0
aload 9
aload 2
iload 3
aload 4
iload 5
aload 6
aload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 size I
0 2 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 fillContents Z
0 2 4 threadRegister Ljdk/vm/ci/code/Register;
0 2 5 constantSize Z
0 2 6 typeContext Ljava/lang/String;
0 2 7 options Lorg/graalvm/compiler/options/OptionValues;
0 2 8 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 9 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
threadRegister
constantSize
typeContext
options
counters
public static allocateInstanceDynamic(java.lang.Class<?>, java.lang.Class<?>, boolean, jdk.vm.ci.code.Register, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;ZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;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: ldc 0.010000000000000009
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 jdk.vm.ci.code.Register org.graalvm.compiler.options.OptionValues 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: ldc 0.010000000000000009
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
aload 3
aload 4
aload 5
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceDynamicHelper:(Ljava/lang/Class;ZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;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 threadRegister Ljdk/vm/ci/code/Register;
0 8 4 options Lorg/graalvm/compiler/options/OptionValues;
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<*>;ZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;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
threadRegister
options
counters
private static allocateInstanceDynamicHelper(java.lang.Class<?>, boolean, jdk.vm.ci.code.Register, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;ZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, 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 jdk.vm.ci.code.Register org.graalvm.compiler.options.OptionValues 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 jdk.vm.ci.code.Register org.graalvm.compiler.options.OptionValues 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 12
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.99
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 jdk.vm.ci.code.Register org.graalvm.compiler.options.OptionValues 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 jdk.vm.ci.code.Register org.graalvm.compiler.options.OptionValues 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 12
10: aload 7
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILorg/graalvm/word/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
astore 9
start local 9 11: iload 8
aload 7
aload 9
iload 1
aload 2
iconst_0
ldc ""
aload 3
aload 4
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateInstanceHelper:(ILorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;ZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
areturn
end local 9 end local 8 end local 7 12: 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 13 0 type Ljava/lang/Class<*>;
0 13 1 fillContents Z
0 13 2 threadRegister Ljdk/vm/ci/code/Register;
0 13 3 options Lorg/graalvm/compiler/options/OptionValues;
0 13 4 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
0 13 5 nonNullType Ljava/lang/Class<*>;
1 13 6 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
5 12 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<*>;ZLjdk/vm/ci/code/Register;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
type
fillContents
threadRegister
options
counters
nonNullType
public static java.lang.Object allocatePrimitiveArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, 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
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 11
start local 11 1: aload 11
iload 1
aload 2
iload 3
iload 4
iload 5
aload 6
iload 7
aload 8
iconst_0
aload 9
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)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 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 length I
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 headerSize I
0 2 4 log2ElementSize I
0 2 5 fillContents Z
0 2 6 threadRegister Ljdk/vm/ci/code/Register;
0 2 7 maybeUnroll Z
0 2 8 typeContext Ljava/lang/String;
0 2 9 options Lorg/graalvm/compiler/options/OptionValues;
0 2 10 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 11 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()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
threadRegister
maybeUnroll
typeContext
options
counters
public static java.lang.Object allocateArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, 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
invokestatic org.graalvm.compiler.hotspot.nodes.aot.LoadConstantIndirectlyFixedNode.loadKlass:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 11
start local 11 1: aload 11
iload 1
aload 2
iload 3
iload 4
iload 5
aload 6
iload 7
aload 8
iconst_0
aload 9
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)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 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 length I
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 headerSize I
0 2 4 log2ElementSize I
0 2 5 fillContents Z
0 2 6 threadRegister Ljdk/vm/ci/code/Register;
0 2 7 maybeUnroll Z
0 2 8 typeContext Ljava/lang/String;
0 2 9 options Lorg/graalvm/compiler/options/OptionValues;
0 2 10 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 11 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()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
threadRegister
maybeUnroll
typeContext
options
counters
public static java.lang.Object allocateArray(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, 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
iload 1
aload 2
iload 3
iload 4
iload 5
aload 6
iload 7
aload 8
iconst_0
aload 9
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 11
start local 11 1: aload 11
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 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 2 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 1 length I
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 headerSize I
0 2 4 log2ElementSize I
0 2 5 fillContents Z
0 2 6 threadRegister Ljdk/vm/ci/code/Register;
0 2 7 maybeUnroll Z
0 2 8 typeContext Ljava/lang/String;
0 2 9 options Lorg/graalvm/compiler/options/OptionValues;
0 2 10 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 11 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()
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
threadRegister
maybeUnroll
typeContext
options
counters
private static java.lang.Object allocateArrayImpl(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, int, int, boolean, jdk.vm.ci.code.Register, boolean, java.lang.String, boolean, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=18, 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)I
istore 13
start local 13 1: aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
astore 14
start local 14 2: aload 14
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 15
start local 15 3: aload 14
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
astore 16
start local 16 4: aload 15
iload 13
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 17
start local 17 5: ldc 0.9
iload 9
ifne 6
iload 1
ldc 16777215
invokestatic org.graalvm.compiler.core.common.calc.UnsignedMath.belowThan:(II)Z
ifne 6
iconst_0
goto 7
StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer int org.graalvm.compiler.word.Word int int int jdk.vm.ci.code.Register int java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters top int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack: double
6: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer int org.graalvm.compiler.word.Word int int int jdk.vm.ci.code.Register int java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters top int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack: double int
7: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 15
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useTLAB:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 15
8: ldc 0.99
aload 17
aload 16
invokevirtual org.graalvm.compiler.word.Word.belowOrEqual:(Lorg/graalvm/compiler/word/Word;)Z
invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 15
9: aload 14
aload 17
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
10: aload 17
iconst_1
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.emitPrefetchAllocate:(Lorg/graalvm/compiler/word/Word;Z)V
11: aload 11
ifnull 13
aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.arrayLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 13
12: aload 11
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.arrayLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
13: StackMap locals:
StackMap stack:
aload 0
iload 13
iload 1
iload 3
aload 15
aload 2
iload 5
iload 7
aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatArray:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;IIILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 12
start local 12 14: goto 16
end local 12 15: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_ARRAY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
iload 5
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newArray:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;IZ)Ljava/lang/Object;
astore 12
start local 12 16: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer int org.graalvm.compiler.word.Word int int int jdk.vm.ci.code.Register int java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters java.lang.Object int org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word org.graalvm.compiler.word.Word
StackMap stack:
ldc "array"
iload 13
i2l
aload 8
aload 10
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.profileAllocation:(Ljava/lang/String;JLjava/lang/String;Lorg/graalvm/compiler/options/OptionValues;)V
17: aload 12
areturn
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 18 1 length I
0 18 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 18 3 headerSize I
0 18 4 log2ElementSize I
0 18 5 fillContents Z
0 18 6 threadRegister Ljdk/vm/ci/code/Register;
0 18 7 maybeUnroll Z
0 18 8 typeContext Ljava/lang/String;
0 18 9 skipNegativeCheck Z
0 18 10 options Lorg/graalvm/compiler/options/OptionValues;
0 18 11 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
14 15 12 result Ljava/lang/Object;
16 18 12 result Ljava/lang/Object;
1 18 13 allocationSize I
2 18 14 thread Lorg/graalvm/compiler/word/Word;
3 18 15 top Lorg/graalvm/compiler/word/Word;
4 18 16 end Lorg/graalvm/compiler/word/Word;
5 18 17 newTop Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
hub
length
prototypeMarkWord
headerSize
log2ElementSize
fillContents
threadRegister
maybeUnroll
typeContext
skipNegativeCheck
options
counters
public static native java.lang.Object newArray(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, org.graalvm.compiler.hotspot.word.KlassPointer, int, boolean);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;IZ)Ljava/lang/Object;
flags: (0x0109) ACC_PUBLIC, 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
length
fillContents
public static native dynamicNewArrayStub(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Class<?>, int);
descriptor: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;I)Ljava/lang/Object;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Signature: (Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class<*>;I)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:
2:
MethodParameters:
Name Flags
descriptor
elementType
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.replacements.NewObjectSnippets.DYNAMIC_NEW_INSTANCE:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.dynamicNewInstanceStubCall:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elementType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
elementType
public static native dynamicNewInstanceStubCall(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 allocateArrayDynamic(java.lang.Class<?>, java.lang.Class<?>, int, boolean, jdk.vm.ci.code.Register, jdk.vm.ci.meta.JavaKind, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;IZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=11, args_size=10
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 0: aload 0
aload 1
iload 2
iload 3
aload 4
aload 5
iload 6
aload 7
aload 8
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayDynamicImpl:(Ljava/lang/Class;Ljava/lang/Class;IZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 10
start local 10 1: aload 10
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 elementType Ljava/lang/Class<*>;
0 2 1 voidClass Ljava/lang/Class<*>;
0 2 2 length I
0 2 3 fillContents Z
0 2 4 threadRegister Ljdk/vm/ci/code/Register;
0 2 5 knownElementKind Ljdk/vm/ci/meta/JavaKind;
0 2 6 knownLayoutHelper I
0 2 7 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 8 options Lorg/graalvm/compiler/options/OptionValues;
0 2 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
1 2 10 result Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;IZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/options/OptionValues;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:
8:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
9:
org.graalvm.compiler.api.replacements.Snippet$ConstantParameter()
MethodParameters:
Name Flags
elementType
voidClass
length
fillContents
threadRegister
knownElementKind
knownLayoutHelper
prototypeMarkWord
options
counters
private static allocateArrayDynamicImpl(java.lang.Class<?>, java.lang.Class<?>, int, boolean, jdk.vm.ci.code.Register, jdk.vm.ci.meta.JavaKind, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;IZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=12, locals=16, args_size=10
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 0: aload 5
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 5
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 jdk.vm.ci.code.Register jdk.vm.ci.meta.JavaKind int org.graalvm.compiler.word.Word org.graalvm.compiler.options.OptionValues 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.GraalHotSpotVMConfig.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:Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.loadKlassFromObject:(Ljava/lang/Object;ILorg/graalvm/word/LocationIdentity;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 10
start local 10 8: aload 10
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()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 10
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 11
start local 11 11: iload 2
ifge 13
12: 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
13: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack:
aload 5
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 14
iload 6
goto 15
StackMap locals:
StackMap stack:
14: aload 11
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
StackMap locals:
StackMap stack: int
15: istore 12
start local 12 16: iload 12
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperHeaderSizeMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iand
istore 13
start local 13 17: iload 12
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.layoutHelperLog2ElementSizeMask:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iand
istore 14
start local 14 18: aload 11
iload 2
aload 7
iload 13
iload 14
iload 3
aload 4
iconst_0
ldc "dynamic type"
iconst_1
aload 8
aload 9
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;IIZLjdk/vm/ci/code/Register;ZLjava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
astore 15
start local 15 19: aload 15
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 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 20 0 elementType Ljava/lang/Class<*>;
0 20 1 voidClass Ljava/lang/Class<*>;
0 20 2 length I
0 20 3 fillContents Z
0 20 4 threadRegister Ljdk/vm/ci/code/Register;
0 20 5 knownElementKind Ljdk/vm/ci/meta/JavaKind;
0 20 6 knownLayoutHelper I
0 20 7 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 20 8 options Lorg/graalvm/compiler/options/OptionValues;
0 20 9 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
8 20 10 klass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
11 20 11 nonNullKlass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
16 20 12 layoutHelper I
17 20 13 headerSize I
18 20 14 log2ElementSize I
19 20 15 result Ljava/lang/Object;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;IZLjdk/vm/ci/code/Register;Ljdk/vm/ci/meta/JavaKind;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
MethodParameters:
Name Flags
elementType
voidClass
length
fillContents
threadRegister
knownElementKind
knownLayoutHelper
prototypeMarkWord
options
counters
public 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: (0x0009) ACC_PUBLIC, 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 org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/word/LocationIdentity;)V
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 1
if_icmplt 4
end local 4 7: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_MULTI_ARRAY:Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;
aload 0
iload 1
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.newArrayCall:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;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
public 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: (0x0009) ACC_PUBLIC, 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
public static native java.lang.Object newArrayCall(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: (0x0109) ACC_PUBLIC, 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 void zeroMemory(int, org.graalvm.compiler.word.Word, boolean, int, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (ILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: lconst_0
iload 0
aload 1
iload 2
iload 3
iload 4
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillMemory:(JILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 size I
0 2 1 memory Lorg/graalvm/compiler/word/Word;
0 2 2 constantSize Z
0 2 3 startOffset I
0 2 4 manualUnroll Z
0 2 5 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
size
memory
constantSize
startOffset
manualUnroll
counters
private static void fillMemory(long, int, org.graalvm.compiler.word.Word, boolean, int, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (JILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=10, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 2
bipush 7
iand
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 5
istore 8
start local 8 4: iload 8
bipush 7
iand
ifeq 7
5: aload 3
iload 8
lload 0
l2i
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/word/LocationIdentity;)V
6: iinc 8 4
7: StackMap locals: int
StackMap stack:
iload 8
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: iload 6
ifeq 25
iload 2
iload 8
isub
bipush 8
idiv
bipush 8
if_icmpgt 25
11: iload 4
ifeq 12
iconst_0
goto 13
StackMap locals:
StackMap stack:
12: iconst_1
StackMap locals:
StackMap stack: int
13: ldc "size shouldn't be constant at instantiation time"
invokestatic org.graalvm.compiler.replacements.ReplacementsUtil.staticAssert:(ZLjava/lang/String;)V
14: aload 7
ifnull 16
aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 16
15: aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
16: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
17: iconst_0
istore 9
start local 9 18: goto 23
19: StackMap locals: int
StackMap stack:
iload 8
iload 2
if_icmpne 21
20: goto 37
21: StackMap locals:
StackMap stack:
aload 3
iload 8
lload 0
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.initializeLong:(IJLorg/graalvm/word/LocationIdentity;)V
22: iinc 9 1
iinc 8 8
StackMap locals:
StackMap stack:
23: iload 9
bipush 8
if_icmplt 19
end local 9 24: goto 37
25: StackMap locals:
StackMap stack:
iload 8
invokestatic org.graalvm.word.WordFactory.signed:(I)Lorg/graalvm/word/SignedWord;
checkcast org.graalvm.compiler.word.Word
astore 9
start local 9 26: iload 4
ifeq 31
iload 2
iload 8
isub
bipush 8
idiv
bipush 8
if_icmpgt 31
27: aload 7
ifnull 29
aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 29
28: aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceSeqInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
29: StackMap locals: org.graalvm.compiler.word.Word
StackMap stack:
invokestatic org.graalvm.compiler.replacements.nodes.ExplodeLoopNode.explodeLoop:()V
30: goto 36
31: StackMap locals:
StackMap stack:
aload 7
ifnull 36
aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
ifnull 36
32: aload 7
getfield org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters.instanceLoopInit:Lorg/graalvm/compiler/replacements/SnippetCounter;
invokevirtual org.graalvm.compiler.replacements.SnippetCounter.inc:()V
33: goto 36
34: StackMap locals:
StackMap stack:
aload 3
aload 9
lload 0
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.initializeLong:(Lorg/graalvm/word/WordBase;JLorg/graalvm/word/LocationIdentity;)V
35: aload 9
bipush 8
invokevirtual org.graalvm.compiler.word.Word.add:(I)Lorg/graalvm/compiler/word/Word;
astore 9
StackMap locals:
StackMap stack:
36: aload 9
invokevirtual org.graalvm.compiler.word.Word.rawValue:()J
iload 2
i2l
lcmp
iflt 34
end local 9 37: StackMap locals:
StackMap stack:
return
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 38 0 value J
0 38 2 size I
0 38 3 memory Lorg/graalvm/compiler/word/Word;
0 38 4 constantSize Z
0 38 5 startOffset I
0 38 6 manualUnroll Z
0 38 7 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
4 38 8 offset I
18 24 9 i I
26 37 9 off Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
value
size
memory
constantSize
startOffset
manualUnroll
counters
private static void fillWithGarbage(int, org.graalvm.compiler.word.Word, boolean, int, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (ILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: ldc -72340172838076674
iload 0
aload 1
iload 2
iload 3
iload 4
aload 5
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillMemory:(JILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
1: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 size I
0 2 1 memory Lorg/graalvm/compiler/word/Word;
0 2 2 constantSize Z
0 2 3 startOffset I
0 2 4 manualUnroll Z
0 2 5 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
size
memory
constantSize
startOffset
manualUnroll
counters
public static java.lang.Object formatObjectForStub(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
iconst_1
iconst_0
aconst_null
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.formatObject:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 1 1 size I
0 1 2 memory Lorg/graalvm/compiler/word/Word;
0 1 3 compileTimePrototypeMarkWord Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
hub
size
memory
compileTimePrototypeMarkWord
protected static java.lang.Object formatObject(org.graalvm.compiler.hotspot.word.KlassPointer, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;ILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.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.GraalHotSpotVMConfig.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:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.readWord:(ILorg/graalvm/word/LocationIdentity;)Lorg/graalvm/compiler/word/Word;
goto 2
StackMap locals:
StackMap stack:
1: aload 3
StackMap locals:
StackMap stack: org.graalvm.compiler.word.Word
2: astore 7
start local 7 3: aload 2
aload 7
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 4
ifeq 7
5: iload 1
aload 2
iload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.instanceHeaderSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iconst_0
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.zeroMemory:(ILorg/graalvm/compiler/word/Word;ZIZLorg/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: iload 1
aload 2
iload 5
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.instanceHeaderSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iconst_0
aload 6
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillWithGarbage:(ILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
9: StackMap locals:
StackMap stack:
bipush 8
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/word/LocationIdentity;)V
10: aload 2
invokevirtual org.graalvm.compiler.word.Word.toObjectNonNull:()Ljava/lang/Object;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 11 1 size I
0 11 2 memory Lorg/graalvm/compiler/word/Word;
0 11 3 compileTimePrototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 11 4 fillContents Z
0 11 5 constantSize Z
0 11 6 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
3 11 7 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
hub
size
memory
compileTimePrototypeMarkWord
fillContents
constantSize
counters
protected static void verifyHeap(jdk.vm.ci.code.Register);
descriptor: (Ljdk/vm/ci/code/Register;)V
flags: (0x000c) ACC_PROTECTED, 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 org.graalvm.word.WordFactory.zero:()Lorg/graalvm/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:Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.readWord:(ILorg/graalvm/word/LocationIdentity;)Lorg/graalvm/word/WordBase;
checkcast org.graalvm.compiler.word.Word
astore 3
start local 3 4: aload 3
invokestatic org.graalvm.word.WordFactory.zero:()Lorg/graalvm/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
public static java.lang.Object formatArray(org.graalvm.compiler.hotspot.word.KlassPointer, int, int, int, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, boolean, boolean, org.graalvm.compiler.hotspot.replacements.NewObjectSnippets$Counters);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;IIILorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;ZZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 4
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.arrayLengthOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
iload 2
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokevirtual org.graalvm.compiler.word.Word.writeInt:(IILorg/graalvm/word/LocationIdentity;)V
1: aload 4
aload 5
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 6
ifeq 5
3: iload 1
aload 4
iconst_0
iload 3
iload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.zeroMemory:(ILorg/graalvm/compiler/word/Word;ZIZLorg/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: iload 1
aload 4
iconst_0
iload 3
iload 7
aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.NewObjectSnippets.fillWithGarbage:(ILorg/graalvm/compiler/word/Word;ZIZLorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;)V
7: StackMap locals:
StackMap stack:
bipush 8
invokestatic org.graalvm.word.LocationIdentity.init:()Lorg/graalvm/word/LocationIdentity;
invokestatic org.graalvm.compiler.nodes.extended.MembarNode.memoryBarrier:(ILorg/graalvm/word/LocationIdentity;)V
8: aload 4
invokevirtual org.graalvm.compiler.word.Word.toObjectNonNull:()Ljava/lang/Object;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 9 1 allocationSize I
0 9 2 length I
0 9 3 headerSize I
0 9 4 memory Lorg/graalvm/compiler/word/Word;
0 9 5 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 9 6 fillContents Z
0 9 7 maybeUnroll Z
0 9 8 counters Lorg/graalvm/compiler/hotspot/replacements/NewObjectSnippets$Counters;
MethodParameters:
Name Flags
hub
allocationSize
length
headerSize
memory
prototypeMarkWord
fillContents
maybeUnroll
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 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