public class org.graalvm.compiler.phases.verify.VerifyBailoutUsage extends org.graalvm.compiler.phases.VerifyPhase<org.graalvm.compiler.phases.tiers.PhaseContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.verify.VerifyBailoutUsage
super_class: org.graalvm.compiler.phases.VerifyPhase
{
private static final java.lang.String[] AllowedPackagePrefixes;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc Lorg/graalvm/compiler/core/common/PermanentBailoutException;
invokestatic org.graalvm.compiler.phases.verify.VerifyBailoutUsage.getPackageName:(Ljava/lang/Class;)Ljava/lang/String;
aastore
dup
iconst_1
ldc "jdk.vm.ci"
aastore
putstatic org.graalvm.compiler.phases.verify.VerifyBailoutUsage.AllowedPackagePrefixes:[Ljava/lang/String;
1: goto 4
StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 0
start local 0 3: new org.graalvm.compiler.debug.GraalError
dup
aload 0
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.VerifyPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/verify/VerifyBailoutUsage;
private static java.lang.String getPackageName(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
astore 2
start local 2 2: aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
aload 2
invokevirtual java.lang.String.length:()I
isub
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Ljava/lang/Class<*>;
1 3 1 classNameWithPackage Ljava/lang/String;
2 3 2 simpleName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
c
private static boolean matchesPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.verify.VerifyBailoutUsage.AllowedPackagePrefixes:[Ljava/lang/String;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: java.lang.String top int int java.lang.String[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 packageName Ljava/lang/String;
2 4 1 allowedPackagePrefix Ljava/lang/String;
MethodParameters:
Name Flags
packageName
protected boolean verify(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.phases.tiers.PhaseContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
ldc Ljdk/vm/ci/code/BailoutException;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.method:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 4
start local 4 2: aload 4
ldc "%H"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: aload 4
ldc "%h"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 4: aload 5
iconst_0
aload 5
invokevirtual java.lang.String.length:()I
aload 6
invokevirtual java.lang.String.length:()I
isub
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 5: aload 7
invokestatic org.graalvm.compiler.phases.verify.VerifyBailoutUsage.matchesPrefix:(Ljava/lang/String;)Z
ifne 16
6: aload 1
getstatic org.graalvm.compiler.nodes.java.MethodCallTargetNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 9
goto 15
StackMap locals: org.graalvm.compiler.phases.verify.VerifyBailoutUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.java.MethodCallTargetNode
astore 8
start local 8 8: aload 8
invokevirtual org.graalvm.compiler.nodes.java.MethodCallTargetNode.targetMethod:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 10
start local 10 9: aload 10
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 15
10: aload 10
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "isPermanent"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
11: new org.graalvm.compiler.phases.VerifyPhase$VerificationError
dup
ldc "Call to %s at callsite %s is prohibited. Consider using %s for permanent bailouts or %s for retryables."
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 10
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
12: aload 4
ldc "%H.%n(%p)"
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
ldc Lorg/graalvm/compiler/core/common/PermanentBailoutException;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_3
13: ldc Lorg/graalvm/compiler/core/common/RetryableBailoutException;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
14: aastore
invokespecial org.graalvm.compiler.phases.VerifyPhase$VerificationError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 10 end local 8 15: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
16: StackMap locals: org.graalvm.compiler.phases.verify.VerifyBailoutUsage org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext jdk.vm.ci.meta.ResolvedJavaType jdk.vm.ci.meta.ResolvedJavaMethod java.lang.String java.lang.String java.lang.String
StackMap stack:
iconst_1
ireturn
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 17 0 this Lorg/graalvm/compiler/phases/verify/VerifyBailoutUsage;
0 17 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 17 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
1 17 3 bailoutType Ljdk/vm/ci/meta/ResolvedJavaType;
2 17 4 caller Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 17 5 holderQualified Ljava/lang/String;
4 17 6 holderUnqualified Ljava/lang/String;
5 17 7 packageName Ljava/lang/String;
8 15 8 t Lorg/graalvm/compiler/nodes/java/MethodCallTargetNode;
9 15 10 callee Ljdk/vm/ci/meta/ResolvedJavaMethod;
MethodParameters:
Name Flags
graph
context
protected boolean verify(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.phases.tiers.PhaseContext
invokevirtual org.graalvm.compiler.phases.verify.VerifyBailoutUsage.verify:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/VerifyPhase<Lorg/graalvm/compiler/phases/tiers/PhaseContext;>;
SourceFile: "VerifyBailoutUsage.java"
InnerClasses:
public VerificationError = org.graalvm.compiler.phases.VerifyPhase$VerificationError of org.graalvm.compiler.phases.VerifyPhase