public class org.graalvm.compiler.core.test.UnbalancedMonitorsTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.UnbalancedMonitorsTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final java.lang.String CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String INNER_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String CLASS_NAME_INTERNAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String INNER_CLASS_NAME_INTERNAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader LOADER;
descriptor: Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest$AsmLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.CLASS_NAME:Ljava/lang/String;
1: new java.lang.StringBuilder
dup
getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.CLASS_NAME:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$UnbalancedMonitors"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.INNER_CLASS_NAME:Ljava/lang/String;
2: getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.CLASS_NAME:Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
putstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.CLASS_NAME_INTERNAL:Ljava/lang/String;
3: getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.INNER_CLASS_NAME:Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
putstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.INNER_CLASS_NAME_INTERNAL:Ljava/lang/String;
4: new org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader
dup
ldc Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader.<init>:(Ljava/lang/ClassLoader;)V
putstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.LOADER:Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest$AsmLoader;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
1: aload 0
getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.JAVA_BASE:Ljava/lang/Class;
ldc "jdk.internal.org.objectweb.asm"
invokevirtual org.graalvm.compiler.core.test.UnbalancedMonitorsTest.exportPackage:(Ljava/lang/Class;Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
public void runWrongOrder();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void runTooFewExits();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void runTooManyExits();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void runTooFewExitsExceptional();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
public void runTooManyExitsExceptional();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
Exceptions:
throws java.lang.Exception
RuntimeInvisibleAnnotations:
Test()
private void checkForBailout(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.LOADER:Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest$AsmLoader;
getstatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.INNER_CLASS_NAME:Ljava/lang/String;
invokevirtual org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
aload 1
invokevirtual org.graalvm.compiler.core.test.UnbalancedMonitorsTest.getResolvedJavaMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
astore 2
start local 2 1: invokestatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 3
start local 3 2: new org.graalvm.compiler.nodes.StructuredGraph$Builder
dup
aload 3
aload 0
aload 3
aconst_null
aload 2
invokevirtual org.graalvm.compiler.core.test.UnbalancedMonitorsTest.getDebugContext:(Lorg/graalvm/compiler/options/OptionValues;Ljava/lang/String;Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/debug/DebugContext;
invokespecial org.graalvm.compiler.nodes.StructuredGraph$Builder.<init>:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;)V
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.method:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Lorg/graalvm/compiler/nodes/StructuredGraph$Builder;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$Builder.build:()Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 4
start local 4 3: new org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins
dup
new org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins
dup
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins.<init>:()V
invokespecial org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins.<init>:(Lorg/graalvm/compiler/nodes/graphbuilderconf/InvocationPlugins;)V
astore 5
start local 5 4: aload 5
invokestatic org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.getDefault:(Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.withEagerResolving:(Z)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
iconst_1
invokevirtual org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration.withUnresolvedIsError:(Z)Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
astore 6
start local 6 5: getstatic org.graalvm.compiler.phases.OptimisticOptimizations.NONE:Lorg/graalvm/compiler/phases/OptimisticOptimizations;
astore 7
start local 7 6: new org.graalvm.compiler.java.GraphBuilderPhase$Instance
dup
aload 0
invokevirtual org.graalvm.compiler.core.test.UnbalancedMonitorsTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
aload 6
aload 7
aconst_null
invokespecial org.graalvm.compiler.java.GraphBuilderPhase$Instance.<init>:(Lorg/graalvm/compiler/nodes/spi/CoreProviders;Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;Lorg/graalvm/compiler/phases/OptimisticOptimizations;Lorg/graalvm/compiler/nodes/graphbuilderconf/IntrinsicContext;)V
astore 8
start local 8 7: aload 8
aload 4
invokevirtual org.graalvm.compiler.java.GraphBuilderPhase$Instance.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 8: goto 13
StackMap locals: org.graalvm.compiler.core.test.UnbalancedMonitorsTest java.lang.String jdk.vm.ci.meta.ResolvedJavaMethod
StackMap stack: jdk.vm.ci.code.BailoutException
9: astore 3
start local 3 10: aload 3
invokevirtual jdk.vm.ci.code.BailoutException.getMessage:()Ljava/lang/String;
ldc "unbalanced monitors"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 12
11: return
12: StackMap locals: jdk.vm.ci.code.BailoutException
StackMap stack:
aload 3
athrow
end local 3 13: StackMap locals:
StackMap stack:
ldc "should have bailed out"
iconst_0
invokestatic org.graalvm.compiler.core.test.UnbalancedMonitorsTest.assertTrue:(Ljava/lang/String;Z)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/core/test/UnbalancedMonitorsTest;
0 15 1 name Ljava/lang/String;
1 15 2 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 8 3 options Lorg/graalvm/compiler/options/OptionValues;
3 8 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 8 5 plugins Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration$Plugins;
5 8 6 graphBuilderConfig Lorg/graalvm/compiler/nodes/graphbuilderconf/GraphBuilderConfiguration;
6 8 7 optimisticOpts Lorg/graalvm/compiler/phases/OptimisticOptimizations;
7 8 8 graphBuilder Lorg/graalvm/compiler/java/GraphBuilderPhase$Instance;
10 13 3 e Ljdk/vm/ci/code/BailoutException;
Exception table:
from to target type
1 8 9 Class jdk.vm.ci.code.BailoutException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
}
SourceFile: "UnbalancedMonitorsTest.java"
NestMembers:
org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader org.graalvm.compiler.core.test.UnbalancedMonitorsTest$Gen
InnerClasses:
public AsmLoader = org.graalvm.compiler.core.test.UnbalancedMonitorsTest$AsmLoader of org.graalvm.compiler.core.test.UnbalancedMonitorsTest
Gen = org.graalvm.compiler.core.test.UnbalancedMonitorsTest$Gen of org.graalvm.compiler.core.test.UnbalancedMonitorsTest
public Instance = org.graalvm.compiler.java.GraphBuilderPhase$Instance of org.graalvm.compiler.java.GraphBuilderPhase
public Builder = org.graalvm.compiler.nodes.StructuredGraph$Builder of org.graalvm.compiler.nodes.StructuredGraph
public Plugins = org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration$Plugins of org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderConfiguration