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 final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=2, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.$assertionsDisabled:Z
3: aconst_null
astore 0
start local 0 4: aconst_null
astore 1
start local 1 5: 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
6: 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
7: goto 9
StackMap locals: java.lang.invoke.MethodHandle java.lang.Class
StackMap stack: java.lang.Exception
8: pop
9: StackMap locals:
StackMap stack:
aload 0
putstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.loadReferencedTypeIIZMH:Ljava/lang/invoke/MethodHandle;
10: aload 1
putstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.hscp:Ljava/lang/Class;
end local 1 end local 0 11: return
LocalVariableTable:
Start End Slot Name Signature
4 11 0 m Ljava/lang/invoke/MethodHandle;
5 11 1 c Ljava/lang/Class<+Ljdk/vm/ci/meta/ConstantPool;>;
Exception table:
from to target type
5 7 8 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;
public 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: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext.parsingIntrinsic:()Z
ifne 8
1: aload 2
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isArray:()Z
ifne 6
2: aload 1
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 3
start local 3 3: aload 3
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 4
start local 4 4: aload 2
aload 4
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifeq 5
aload 2
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 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
0 9 1 builder Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 9 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
3 6 3 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
4 6 4 methodHolder Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
builder
type
public org.graalvm.compiler.nodes.ValueNode apply(org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext, jdk.vm.ci.meta.ResolvedJavaType, org.graalvm.compiler.nodes.FrameState);
descriptor: (Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;Lorg/graalvm/compiler/nodes/FrameState;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotClassInitializationPlugin.shouldApply:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
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 4
start local 4 2: aload 1
aload 4
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 5
start local 5 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 5
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 org.graalvm.compiler.nodes.FrameState 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 5
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 org.graalvm.compiler.nodes.FrameState 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 6
start local 6 6: aload 6
aload 3
invokevirtual org.graalvm.compiler.nodes.DeoptimizingFixedWithNextNode.setStateBefore:(Lorg/graalvm/compiler/nodes/FrameState;)V
7: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/meta/HotSpotClassInitializationPlugin;
0 8 1 builder Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderContext;
0 8 2 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 8 3 frameState Lorg/graalvm/compiler/nodes/FrameState;
2 8 4 hubStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 8 5 hub Lorg/graalvm/compiler/nodes/ConstantNode;
6 8 6 result Lorg/graalvm/compiler/nodes/DeoptimizingFixedWithNextNode;
MethodParameters:
Name Flags
builder
type
frameState
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