public final class org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin implements org.graalvm.compiler.nodes.graphbuilderconf.ClassInitializationPlugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin
super_class: java.lang.Object
{
private static final java.lang.Class<? extends jdk.vm.ci.meta.ConstantPool> hscp;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<+Ljdk/vm/ci/meta/ConstantPool;>;
private static final java.lang.invoke.MethodHandle loadReferencedTypeIIZMH;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: ldc "jdk.vm.ci.hotspot.HotSpotConstantPool"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
ldc Ljdk/vm/ci/meta/ConstantPool;
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
astore 1
3: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
aload 1
ldc "loadReferencedType"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandles$Lookup.findVirtual:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 0
4: goto 6
StackMap locals: java.lang.invoke.MethodHandle java.lang.Class
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 0
putstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.loadReferencedTypeIIZMH:Ljava/lang/invoke/MethodHandle;
7: aload 1
putstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.hscp:Ljava/lang/Class;
end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 m Ljava/lang/invoke/MethodHandle;
2 8 1 c Ljava/lang/Class<+Ljdk/vm/ci/meta/ConstantPool;>;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
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/meta/HotSpotClassInitializationPlugin;
private static boolean shouldApply(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.parsingIntrinsic:()Z
ifne 8
1: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifne 6
2: aload 0
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
start local 2 3: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 4: aload 1
aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 5
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isInterface:()Z
ifne 5
iconst_0
ireturn
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
5: iconst_1
ireturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getComponentType:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isPrimitive:()Z
ifne 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 builder Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 9 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
3 6 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 6 3 methodHolder Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
builder
type
public boolean apply(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaType, java.util.function.Supplier<org.graalvm.compiler.nodes.FrameState>, org.graalvm.compiler.nodes.ValueNode[]);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/util/function/Supplier;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
invokestatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.shouldApply:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 10
1: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getStampProvider:()Lorg/graalvm/compiler/nodes/spi/StampProvider;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.objectNonNull:()Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.ObjectStamp
invokeinterface org.graalvm.compiler.nodes.spi.StampProvider.createHubStamp:(Lorg/graalvm/compiler/core/common/type/ObjectStamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 5
start local 5 2: aload 1
aload 5
aload 2
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.klass:()Ljdk/vm/ci/meta/Constant;
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.getGraph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.append:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.nodes.ConstantNode
astore 6
start local 6 3: aload 1
aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifeq 4
new org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode
dup
aload 6
invokespecial org.graalvm.compiler.hotspot.nodes.aot.ResolveConstantNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
goto 5
StackMap locals: org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext jdk.vm.ci.meta.ResolvedJavaType java.util.function.Supplier org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ConstantNode
StackMap stack: org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext
4: new org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode
dup
aload 6
invokespecial org.graalvm.compiler.hotspot.nodes.aot.InitializeKlassNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
StackMap locals: org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext jdk.vm.ci.meta.ResolvedJavaType java.util.function.Supplier org.graalvm.compiler.nodes.ValueNode[] org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ConstantNode
StackMap stack: org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext org.graalvm.compiler.nodes.DeoptimizingFixedWithNextNode
5: invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.append:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
checkcast org.graalvm.compiler.nodes.DeoptimizingFixedWithNextNode
astore 7
start local 7 6: aload 7
aload 3
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FrameState
invokevirtual org.graalvm.compiler.nodes.DeoptimizingFixedWithNextNode.setStateBefore:(Lorg/graalvm/compiler/nodes/FrameState;)V
7: aload 4
ifnull 9
8: aload 4
iconst_0
aload 7
aastore
9: StackMap locals: org.graalvm.compiler.nodes.DeoptimizingFixedWithNextNode
StackMap stack:
iconst_1
ireturn
end local 7 end local 6 end local 5 10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
0 11 1 builder Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 11 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 11 3 frameState Ljava/util/function/Supplier<Lorg/graalvm/compiler/nodes/FrameState;>;
0 11 4 classInit [Lorg/graalvm/compiler/nodes/ValueNode;
2 10 5 hubStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 10 6 hub Lorg/graalvm/compiler/nodes/ConstantNode;
6 10 7 result Lorg/graalvm/compiler/nodes/DeoptimizingFixedWithNextNode;
Signature: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;Ljava/util/function/Supplier<Lorg/graalvm/compiler/nodes/FrameState;>;[Lorg/graalvm/compiler/nodes/ValueNode;)Z
MethodParameters:
Name Flags
builder
type
frameState
classInit
private static boolean isHotSpotConstantPool(jdk.vm.ci.meta.ConstantPool);
descriptor: (Ljdk/vm/ci/meta/ConstantPool;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.hscp:Ljava/lang/Class;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cp Ljdk/vm/ci/meta/ConstantPool;
MethodParameters:
Name Flags
cp
public boolean supportsLazyInitialization(jdk.vm.ci.meta.ConstantPool);
descriptor: (Ljdk/vm/ci/meta/ConstantPool;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.loadReferencedTypeIIZMH:Ljava/lang/invoke/MethodHandle;
ifnull 2
aload 1
invokestatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.isHotSpotConstantPool:(Ljdk/vm/ci/meta/ConstantPool;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
0 3 1 cp Ljdk/vm/ci/meta/ConstantPool;
MethodParameters:
Name Flags
cp
public void loadReferencedType(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ConstantPool, int, int);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ConstantPool;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.loadReferencedTypeIIZMH:Ljava/lang/invoke/MethodHandle;
ifnull 5
aload 2
invokestatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.isHotSpotConstantPool:(Ljdk/vm/ci/meta/ConstantPool;)Z
ifeq 5
1: getstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.loadReferencedTypeIIZMH:Ljava/lang/invoke/MethodHandle;
aload 2
iload 3
iload 4
iconst_0
invokevirtual java.lang.invoke.MethodHandle.invoke:(Ljdk/vm/ci/meta/ConstantPool;IIZ)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 5
start local 5 4: aload 5
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 5: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
invokeinterface jdk.vm.ci.meta.ConstantPool.loadReferencedType:(II)V
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
0 7 1 builder Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 7 2 cp Ljdk/vm/ci/meta/ConstantPool;
0 7 3 cpi I
0 7 4 opcode I
4 5 5 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
builder
cp
cpi
opcode
}
SourceFile: "HotSpotClassInitializationPlugin.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles