public class org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets extends org.graalvm.compiler.replacements.AllocationSnippets
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
super_class: org.graalvm.compiler.replacements.AllocationSnippets
{
public static final org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor DYNAMIC_NEW_INSTANCE;
descriptor: Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor DYNAMIC_NEW_INSTANCE_OR_NULL;
descriptor: Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final org.graalvm.compiler.hotspot.GraalHotSpotVMConfig config;
descriptor: Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.code.Register threadRegister;
descriptor: Ljdk/vm/ci/code/Register;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$HotSpotAllocationSnippets$ProfileContext;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=11, locals=0, args_size=0
0: new org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor
dup
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Transition.SAFEPOINT:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Transition;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Reexecutability.REEXECUTABLE:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Reexecutability;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.NO_LOCATIONS:[Ljdk/internal/vm/compiler/word/LocationIdentity;
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.hotspot.meta.HotSpotForeignCallDescriptor.<init>:(Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Transition;Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Reexecutability;[Ljdk/internal/vm/compiler/word/LocationIdentity;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.DYNAMIC_NEW_INSTANCE:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
1: new org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor
dup
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Transition.SAFEPOINT:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Transition;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Reexecutability.REEXECUTABLE:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Reexecutability;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotForeignCallsProviderImpl.NO_LOCATIONS:[Ljdk/internal/vm/compiler/word/LocationIdentity;
ldc "dynamic_new_instance_or_null"
2: ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Class;
3: aastore
invokespecial org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor.<init>:(Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Transition;Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor$Reexecutability;[Ljdk/internal/vm/compiler/word/LocationIdentity;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)V
putstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.DYNAMIC_NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.hotspot.GraalHotSpotVMConfig, org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider);
descriptor: (Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.graalvm.compiler.replacements.AllocationSnippets.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
2: aload 0
aload 2
invokeinterface org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider.getThreadRegister:()Ljdk/vm/ci/code/Register;
putfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.threadRegister:Ljdk/vm/ci/code/Register;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
0 4 2 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
MethodParameters:
Name Flags
config
registers
protected java.lang.Object allocateInstance(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, long, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;JZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
lload 3
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
iload 5
iload 6
iconst_1
aload 7
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateInstanceImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Ljdk/internal/vm/compiler/word/UnsignedWord;ZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
astore 8
start local 8 1: aload 8
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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 2 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 size J
0 2 5 fillContents Z
0 2 6 emitMemoryBarrier Z
0 2 7 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
1 2 8 result 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
hub
prototypeMarkWord
size
fillContents
emitMemoryBarrier
profilingData
public java.lang.Object allocateArray(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, int, int, int, boolean, boolean, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;IIIZZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
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
aload 1
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
iload 3
iload 4
iload 5
iload 6
iload 4
iload 7
iload 8
iload 9
1: aload 10
2: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;IIIZIZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
astore 11
start local 11 3: aload 11
iload 3
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 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 4 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 4 3 length I
0 4 4 headerSize I
0 4 5 log2ElementSize I
0 4 6 fillContents Z
0 4 7 emitMemoryBarrier Z
0 4 8 maybeUnroll Z
0 4 9 supportsBulkZeroing Z
0 4 10 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
3 4 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()
MethodParameters:
Name Flags
hub
prototypeMarkWord
length
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
maybeUnroll
supportsBulkZeroing
profilingData
protected java.lang.Object allocateInstancePIC(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, long, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;JZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 start local 7 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 8
start local 8 1: aload 0
aload 8
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
lload 3
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(J)Ljdk/internal/vm/compiler/word/UnsignedWord;
iload 5
iload 6
iconst_1
aload 7
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateInstanceImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Ljdk/internal/vm/compiler/word/UnsignedWord;ZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
astore 9
start local 9 2: aload 9
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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 3 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 3 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 3 3 size J
0 3 5 fillContents Z
0 3 6 emitMemoryBarrier Z
0 3 7 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
1 3 8 picHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
2 3 9 result 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
hub
prototypeMarkWord
size
fillContents
emitMemoryBarrier
profilingData
public allocateInstanceDynamic(java.lang.Class<?>, java.lang.Class<?>, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;ZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, 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 1
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack: double
1: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class java.lang.Class int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData
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 1
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 1
aload 2
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 6
invokestatic org.graalvm.compiler.hotspot.replacements.ClassGetHubNode.readClass:(Ljava/lang/Class;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 7
start local 7 8: ldc 0.99
aload 7
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
ifeq 9
iconst_0
goto 10
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class java.lang.Class int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
9: iconst_1
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class java.lang.Class int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double int
10: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 21
11: aload 7
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 8
start local 8 12: ldc 0.999
aload 8
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 20
13: aload 8
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readLayoutHelper:(Lorg/graalvm/compiler/hotspot/word/KlassPointer;)I
istore 9
start local 9 14: ldc 0.99
iload 9
iconst_1
iand
ifne 15
iconst_1
goto 16
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class java.lang.Class int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer int
StackMap stack: double
15: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class java.lang.Class int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData java.lang.Class org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer int
StackMap stack: double int
16: invokestatic org.graalvm.compiler.nodes.extended.BranchProbabilityNode.probability:(DZ)Z
ifeq 21
17: aload 8
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: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 10
start local 10 18: iload 9
invokestatic jdk.internal.vm.compiler.word.WordFactory.unsigned:(I)Ljdk/internal/vm/compiler/word/UnsignedWord;
astore 11
start local 11 19: aload 0
aload 8
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 10
aload 11
iload 3
iload 4
iconst_0
aload 5
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateInstanceImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Ljdk/internal/vm/compiler/word/UnsignedWord;ZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
areturn
end local 11 end local 10 end local 9 20: 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 8 21: StackMap locals:
StackMap stack:
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.dynamicNewInstanceStub:(Ljava/lang/Class;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.nodes.PiNode.piCastToSnippetReplaceeStamp:(Ljava/lang/Object;)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 22 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 22 1 type Ljava/lang/Class<*>;
0 22 2 classClass Ljava/lang/Class<*>;
0 22 3 fillContents Z
0 22 4 emitMemoryBarrier Z
0 22 5 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
5 22 6 nonNullType Ljava/lang/Class<*>;
8 22 7 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
12 21 8 nonNullHub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
14 20 9 layoutHelper I
18 20 10 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
19 20 11 size Ljdk/internal/vm/compiler/word/UnsignedWord;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;ZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)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()
MethodParameters:
Name Flags
type
classClass
fillContents
emitMemoryBarrier
profilingData
public java.lang.Object allocatePrimitiveArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, int, int, int, boolean, boolean, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;IIIZZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
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 1
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 0
aload 11
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
iload 3
iload 4
iload 5
iload 6
iload 4
iload 7
iload 8
iload 9
aload 10
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;IIIZIZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)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 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 2 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 length I
0 2 4 headerSize I
0 2 5 log2ElementSize I
0 2 6 fillContents Z
0 2 7 emitMemoryBarrier Z
0 2 8 maybeUnroll Z
0 2 9 supportsBulkZeroing Z
0 2 10 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
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()
MethodParameters:
Name Flags
hub
prototypeMarkWord
length
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
maybeUnroll
supportsBulkZeroing
profilingData
public java.lang.Object allocateArrayPIC(org.graalvm.compiler.hotspot.word.KlassPointer, org.graalvm.compiler.word.Word, int, int, int, boolean, boolean, boolean, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;Lorg/graalvm/compiler/word/Word;IIIZZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
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 1
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 0
aload 11
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
iload 3
iload 4
iload 5
iload 6
iload 4
iload 7
iload 8
iload 9
aload 10
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;IIIZIZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)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 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 2 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 2 3 length I
0 2 4 headerSize I
0 2 5 log2ElementSize I
0 2 6 fillContents Z
0 2 7 emitMemoryBarrier Z
0 2 8 maybeUnroll Z
0 2 9 supportsBulkZeroing Z
0 2 10 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
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()
MethodParameters:
Name Flags
hub
prototypeMarkWord
length
headerSize
log2ElementSize
fillContents
emitMemoryBarrier
maybeUnroll
supportsBulkZeroing
profilingData
public allocateArrayDynamic(java.lang.Class<?>, org.graalvm.compiler.word.Word, java.lang.Class<?>, int, boolean, boolean, jdk.vm.ci.meta.JavaKind, int, boolean, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Ljava/lang/Class;Lorg/graalvm/compiler/word/Word;Ljava/lang/Class;IZZLjdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
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 7
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 7
getstatic jdk.vm.ci.meta.JavaKind.Illegal:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 7
ldc 0.010000000000000009
aload 1
ifnull 4
aload 1
aload 3
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: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class org.graalvm.compiler.word.Word java.lang.Class int int int jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData
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 1
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: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 4
ifge 12
iconst_1
goto 13
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class org.graalvm.compiler.word.Word java.lang.Class int int int jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack: double
12: iconst_0
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets java.lang.Class org.graalvm.compiler.word.Word java.lang.Class int int int jdk.vm.ci.meta.JavaKind int int org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData 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 7
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 8
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.dynamicAssert:(ZLjava/lang/String;)V
21: iload 8
istore 13
start local 13 22: StackMap locals: int
StackMap stack:
iload 13
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 14
start local 14 23: iload 13
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 15
start local 15 24: aload 0
aload 12
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
aload 2
iload 4
iload 14
iload 15
iload 5
iload 14
iload 6
iconst_0
iload 9
25: aload 10
26: invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.allocateArrayImpl:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;IIIZIZZZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
astore 16
start local 16 27: aload 16
iload 4
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 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 28 1 elementType Ljava/lang/Class<*>;
0 28 2 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 28 3 voidClass Ljava/lang/Class<*>;
0 28 4 length I
0 28 5 fillContents Z
0 28 6 emitMemoryBarrier Z
0 28 7 knownElementKind Ljdk/vm/ci/meta/JavaKind;
0 28 8 knownLayoutHelper I
0 28 9 supportsBulkZeroing Z
0 28 10 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
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<*>;Lorg/graalvm/compiler/word/Word;Ljava/lang/Class<*>;IZZLjdk/vm/ci/meta/JavaKind;IZLorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
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()
MethodParameters:
Name Flags
elementType
prototypeMarkWord
voidClass
length
fillContents
emitMemoryBarrier
knownElementKind
knownLayoutHelper
supportsBulkZeroing
profilingData
protected 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: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
iload 2
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newMultiArrayImpl:(Lorg/graalvm/compiler/word/Word;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 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 1 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 1 2 rank I
0 1 3 dimensions [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 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: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 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 4
start local 4 1: aload 0
aload 4
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.asWord:()Lorg/graalvm/compiler/word/Word;
iload 2
aload 3
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newMultiArrayImpl:(Lorg/graalvm/compiler/word/Word;I[I)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 2 1 hub Lorg/graalvm/compiler/hotspot/word/KlassPointer;
0 2 2 rank I
0 2 3 dimensions [I
1 2 4 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 void verifyHeap();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.getTLABInfo:()Lorg/graalvm/compiler/word/Word;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.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/hotspot/meta/HotSpotForeignCallDescriptor;
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 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
1 7 1 tlabInfo 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()
private void threadBeingInitializedCheck(org.graalvm.compiler.hotspot.word.KlassPointer);
descriptor: (Lorg/graalvm/compiler/hotspot/word/KlassPointer;)V
flags: (0x0002) ACC_PRIVATE
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.GraalHotSpotVMConfig.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
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.getThread:()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 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 7 1 klass Lorg/graalvm/compiler/hotspot/word/KlassPointer;
1 7 2 state I
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Snippet()
MethodParameters:
Name Flags
klass
protected final int getPrefetchStyle();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchStyle:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final int getPrefetchLines(boolean);
descriptor: (Z)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchLines:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocateInstancePrefetchLines:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 3 1 isArray Z
MethodParameters:
Name Flags
isArray
protected final int getPrefetchStepSize();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchStepSize:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final int getPrefetchDistance();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.allocatePrefetchDistance:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final java.lang.Object callNewInstanceStub(org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.hotspot.word.KlassPointer.fromWord:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 2
start local 2 1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 3
2: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newInstanceOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_INSTANCE:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newInstance:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 hub Lorg/graalvm/compiler/word/Word;
1 4 2 klassPtr 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
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
protected final java.lang.Object callNewArrayStub(org.graalvm.compiler.word.Word, int);
descriptor: (Lorg/graalvm/compiler/word/Word;I)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.hotspot.word.KlassPointer.fromWord:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 3
start local 3 1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 3
2: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_ARRAY_OR_NULL:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 3
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newArrayOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_ARRAY:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 3
iload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.newArray:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Lorg/graalvm/compiler/hotspot/word/KlassPointer;I)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 hub Lorg/graalvm/compiler/word/Word;
0 4 2 length I
1 4 3 klassPtr Lorg/graalvm/compiler/hotspot/word/KlassPointer;
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
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 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.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.DYNAMIC_NEW_INSTANCE_OR_NULL:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.dynamicNewInstanceOrNull:(Lorg/graalvm/compiler/core/common/spi/ForeignCallDescriptor;Ljava/lang/Class;)Ljava/lang/Object;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.DYNAMIC_NEW_INSTANCE:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 0
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.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
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
protected final java.lang.Object callNewMultiArrayStub(org.graalvm.compiler.word.Word, int, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;ILorg/graalvm/compiler/word/Word;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.graalvm.compiler.hotspot.word.KlassPointer.fromWord:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 4
start local 4 1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.useNullAllocationStubs:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 3
2: getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_MULTI_ARRAY_OR_NULL:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 4
iload 2
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.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.HotSpotAllocationSnippets.nonNullOrDeopt:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer
StackMap stack:
getstatic org.graalvm.compiler.hotspot.HotSpotBackend.NEW_MULTI_ARRAY:Lorg/graalvm/compiler/hotspot/meta/HotSpotForeignCallDescriptor;
aload 4
iload 2
aload 3
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.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 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 hub Lorg/graalvm/compiler/word/Word;
0 4 2 rank I
0 4 3 dims Lorg/graalvm/compiler/word/Word;
1 4 4 klassPointer Lorg/graalvm/compiler/hotspot/word/KlassPointer;
MethodParameters:
Name Flags
hub
rank
dims
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
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
protected final int getMinimalBulkZeroingSize();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.getMinimalBulkZeroingSize:(Lorg/graalvm/compiler/options/OptionValues;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final void (org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word, boolean);
descriptor: (Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.graalvm.compiler.hotspot.word.KlassPointer.fromWord:(Ljdk/internal/vm/compiler/word/Pointer;)Lorg/graalvm/compiler/hotspot/word/KlassPointer;
astore 5
start local 5 1: aload 3
astore 6
start local 6 2: iload 4
ifne 4
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 4
3: aload 5
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: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 6
4: StackMap locals: org.graalvm.compiler.hotspot.word.KlassPointer org.graalvm.compiler.word.Word
StackMap stack:
aload 1
aload 6
aload 5
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
5: return
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 6 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 6 1 memory Lorg/graalvm/compiler/word/Word;
0 6 2 hub Lorg/graalvm/compiler/word/Word;
0 6 3 prototypeMarkWord Lorg/graalvm/compiler/word/Word;
0 6 4 isArray Z
1 6 5 klassPtr Lorg/graalvm/compiler/hotspot/word/KlassPointer;
2 6 6 markWord Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
memory
hub
prototypeMarkWord
isArray
protected final int ();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final int arrayLengthOffset();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final int objectAlignment();
descriptor: ()I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.objectAlignment:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final boolean useTLAB();
descriptor: ()Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: 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
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final boolean shouldAllocateInTLAB(jdk.internal.vm.compiler.word.UnsignedWord, boolean);
descriptor: (Ljdk/internal/vm/compiler/word/UnsignedWord;Z)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.useG1GC:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 2
ifeq 3
aload 1
ldc 16777216
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.belowThan:(I)Z
ifne 3
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 4 1 allocationSize Ljdk/internal/vm/compiler/word/UnsignedWord;
0 4 2 isArray Z
MethodParameters:
Name Flags
allocationSize
isArray
protected final org.graalvm.compiler.word.Word getTLABInfo();
descriptor: ()Lorg/graalvm/compiler/word/Word;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.getThread:()Lorg/graalvm/compiler/word/Word;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
private org.graalvm.compiler.word.Word getThread();
descriptor: ()Lorg/graalvm/compiler/word/Word;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.threadRegister:Ljdk/vm/ci/code/Register;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.registerAsWord:(Ljdk/vm/ci/code/Register;)Lorg/graalvm/compiler/word/Word;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
protected final org.graalvm.compiler.word.Word readTlabEnd(org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabEnd:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 1 1 thread Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
thread
protected final org.graalvm.compiler.word.Word readTlabTop(org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.readTlabTop:(Lorg/graalvm/compiler/word/Word;)Lorg/graalvm/compiler/word/Word;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 1 1 thread Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
thread
protected final void writeTlabTop(org.graalvm.compiler.word.Word, org.graalvm.compiler.word.Word);
descriptor: (Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.writeTlabTop:(Lorg/graalvm/compiler/word/Word;Lorg/graalvm/compiler/word/Word;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 2 1 thread Lorg/graalvm/compiler/word/Word;
0 2 2 newTop Lorg/graalvm/compiler/word/Word;
MethodParameters:
Name Flags
thread
newTop
protected final java.lang.Object verifyOop(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.verifyOop:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
protected final void profileAllocation(org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData, jdk.internal.vm.compiler.word.UnsignedWord);
descriptor: (Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;Ljdk/internal/vm/compiler/word/UnsignedWord;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.doProfile:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 5
1: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
aload 1
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.createName:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/String;
astore 3
start local 3 2: getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_OPTIONVALUES:Lorg/graalvm/compiler/options/OptionValues;
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.withContext:(Lorg/graalvm/compiler/options/OptionValues;)Z
istore 4
start local 4 3: ldc "number of bytes allocated"
aload 3
aload 2
invokeinterface jdk.internal.vm.compiler.word.UnsignedWord.rawValue:()J
iload 4
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
4: ldc "number of allocations"
aload 3
lconst_1
iload 4
invokestatic org.graalvm.compiler.nodes.debug.DynamicCounterNode.counter:(Ljava/lang/String;Ljava/lang/String;JZ)V
end local 4 end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets;
0 6 1 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
0 6 2 size Ljdk/internal/vm/compiler/word/UnsignedWord;
2 5 3 name Ljava/lang/String;
3 5 4 context Z
MethodParameters:
Name Flags
profilingData
size
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 java.lang.String createName(org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData);
descriptor: (Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData
astore 2
start local 2 1: invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$HotSpotAllocationSnippets$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.HotSpotAllocationSnippets$ProfileContext
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 2
2: 3
3: 4
4: 4
5: 5
default: 6
}
2: StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData
StackMap stack:
ldc ""
areturn
3: StackMap locals:
StackMap stack:
aload 2
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData.path:Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getfield org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData.typeContext:Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
ldc "bytes"
areturn
6: 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 7 0 options Lorg/graalvm/compiler/options/OptionValues;
0 7 1 profilingData Lorg/graalvm/compiler/replacements/AllocationSnippets$AllocationProfilingData;
1 7 2 hotspotAllocationProfilingData Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$HotSpotAllocationProfilingData;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
1:
MethodParameters:
Name Flags
options
profilingData
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.HotSpotAllocationSnippets$ProfileContext
astore 1
start local 1 1: aload 1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext.AllocatingMethod:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
if_acmpeq 2
aload 1
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext.AllocatedTypesInMethod:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
if_acmpeq 2
iconst_0
ireturn
StackMap locals: org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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/HotSpotAllocationSnippets$ProfileContext;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.Fold()
RuntimeVisibleParameterAnnotations:
0:
org.graalvm.compiler.api.replacements.Fold$InjectedParameter()
MethodParameters:
Name Flags
options
static jdk.vm.ci.hotspot.HotSpotResolvedObjectType lookupArrayClass(jdk.vm.ci.meta.MetaAccessProvider, jdk.vm.ci.meta.JavaKind);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;Ljdk/vm/ci/meta/JavaKind;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 1
ldc Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack: jdk.vm.ci.meta.MetaAccessProvider
1: aload 1
invokevirtual jdk.vm.ci.meta.JavaKind.toJavaClass:()Ljava/lang/Class;
StackMap locals: jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.meta.JavaKind
StackMap stack: jdk.vm.ci.meta.MetaAccessProvider java.lang.Class
2: invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getArrayClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 metaAccessProvider Ljdk/vm/ci/meta/MetaAccessProvider;
0 3 1 kind Ljdk/vm/ci/meta/JavaKind;
MethodParameters:
Name Flags
metaAccessProvider
kind
static int[] $SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$HotSpotAllocationSnippets$ProfileContext();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$HotSpotAllocationSnippets$ProfileContext:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext.values:()[Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext.AllocatedType:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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.HotSpotAllocationSnippets$ProfileContext.AllocatedTypesInMethod:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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.HotSpotAllocationSnippets$ProfileContext.AllocatingMethod:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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.HotSpotAllocationSnippets$ProfileContext.InstanceOrArray:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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.HotSpotAllocationSnippets$ProfileContext.Total:Lorg/graalvm/compiler/hotspot/replacements/HotSpotAllocationSnippets$ProfileContext;
invokevirtual org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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.HotSpotAllocationSnippets.$SWITCH_TABLE$org$graalvm$compiler$hotspot$replacements$HotSpotAllocationSnippets$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: "HotSpotAllocationSnippets.java"
NestMembers:
org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$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
public final Reexecutability = org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Reexecutability of org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor
public final Transition = org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor$Transition of org.graalvm.compiler.hotspot.meta.HotSpotForeignCallDescriptor
private HotSpotAllocationProfilingData = org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$HotSpotAllocationProfilingData of org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
final ProfileContext = org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$ProfileContext of org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
public Templates = org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets$Templates of org.graalvm.compiler.hotspot.replacements.HotSpotAllocationSnippets
public AllocationProfilingData = org.graalvm.compiler.replacements.AllocationSnippets$AllocationProfilingData of org.graalvm.compiler.replacements.AllocationSnippets