public class org.graalvm.compiler.hotspot.replacements.HotSpotArraySubstitutions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.replacements.HotSpotArraySubstitutions
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.hotspot.replacements.HotSpotArraySubstitutions this
0: .line 45
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.graalvm.compiler.hotspot.replacements.HotSpotArraySubstitutions this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/replacements/HotSpotArraySubstitutions;
public static newInstance(java.lang.Class<?>, int);
descriptor: (Ljava/lang/Class;I)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 // java.lang.Class componentType
start local 1 // int length
0: .line 49
aload 0 /* componentType */
ifnull 1
aload 0 /* componentType */
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;
invokevirtual org.graalvm.compiler.hotspot.word.KlassPointer.isNull:()Z
ifeq 2
1: .line 51
StackMap locals:
StackMap stack:
aload 0 /* componentType */
iload 1 /* length */
invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotArraySubstitutions.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
areturn
2: .line 53
StackMap locals:
StackMap stack:
aload 0 /* componentType */
invokestatic org.graalvm.compiler.api.directives.GraalDirectives.guardingNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
iload 1 /* length */
invokestatic org.graalvm.compiler.nodes.java.DynamicNewArrayNode.newArray:(Ljava/lang/Class;I)Ljava/lang/Object;
areturn
end local 1 // int length
end local 0 // java.lang.Class componentType
LocalVariableTable:
Start End Slot Name Signature
0 3 0 componentType Ljava/lang/Class<*>;
0 3 1 length I
Signature: (Ljava/lang/Class<*>;I)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.MethodSubstitution()
MethodParameters:
Name Flags
componentType
length
}
SourceFile: "HotSpotArraySubstitutions.java"
RuntimeVisibleAnnotations:
org.graalvm.compiler.api.replacements.ClassSubstitution(value = Ljava/lang/reflect/Array;)