public class org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest extends org.graalvm.compiler.truffle.test.PartialEvaluationTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
super_class: org.graalvm.compiler.truffle.test.PartialEvaluationTest
{
static final java.lang.Object RETURN_VALUE;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.RuntimeException BREAK_EX;
descriptor: Ljava/lang/RuntimeException;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.lang.RuntimeException CONTINUE_EX;
descriptor: Ljava/lang/RuntimeException;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static volatile int terminate;
descriptor: I
flags: (0x0048) ACC_STATIC, ACC_VOLATILE
static volatile int entered;
descriptor: I
flags: (0x0048) ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "1 2 3"
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.RETURN_VALUE:Ljava/lang/Object;
1: new java.lang.RuntimeException
dup
invokespecial java.lang.RuntimeException.<init>:()V
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.BREAK_EX:Ljava/lang/RuntimeException;
2: new java.lang.RuntimeException
dup
invokespecial java.lang.RuntimeException.<init>:()V
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.CONTINUE_EX:Ljava/lang/RuntimeException;
3: return
LocalVariableTable:
Start End Slot Name Signature
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.truffle.test.PartialEvaluationTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest;
public void test();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.graalvm.compiler.core.common.GraalOptions.GenLoopSafepoints:Lorg/graalvm/compiler/options/OptionKey;
invokestatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.getInitialOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokestatic org.junit.Assume.assumeTrue:(Z)V
1: ldc Lorg/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest;
dup
astore 1
monitorenter
2: aload 0
new org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test0RootNode
dup
invokespecial org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test0RootNode.<init>:()V
invokevirtual org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.testInner:(Lcom/oracle/truffle/api/nodes/RootNode;)V
3: aload 0
new org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test1RootNode
dup
invokespecial org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test1RootNode.<init>:()V
invokevirtual org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.testInner:(Lcom/oracle/truffle/api/nodes/RootNode;)V
4: aload 0
new org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test2RootNode
dup
invokespecial org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test2RootNode.<init>:()V
invokevirtual org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.testInner:(Lcom/oracle/truffle/api/nodes/RootNode;)V
5: aload 1
monitorexit
6: goto 9
StackMap locals: org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest java.lang.Class
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest;
Exception table:
from to target type
2 6 7 any
7 8 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
private void testInner(com.oracle.truffle.api.nodes.RootNode);
descriptor: (Lcom/oracle/truffle/api/nodes/RootNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iconst_1
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.terminate:I
1: aload 0
aload 1
invokevirtual com.oracle.truffle.api.nodes.RootNode.toString:()Ljava/lang/String;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.compileHelper:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/RootNode;[Ljava/lang/Object;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
astore 2
start local 2 2: iconst_0
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.terminate:I
3: iconst_0
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.entered:I
4: new java.util.concurrent.CountDownLatch
dup
iconst_1
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
astore 3
start local 3 5: new java.lang.Thread
dup
aload 3
aload 2
invokedynamic run(Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest.lambda$0(Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V (6)
()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 4
start local 4 6: new java.lang.Thread
dup
aload 3
aload 2
invokedynamic run(Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest.lambda$1(Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V (6)
()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
astore 5
start local 5 7: aload 4
invokevirtual java.lang.Thread.start:()V
8: aload 5
invokevirtual java.lang.Thread.start:()V
9: aload 4
invokevirtual java.lang.Thread.join:()V
10: aload 5
invokevirtual java.lang.Thread.join:()V
11: goto 14
StackMap locals: org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest com.oracle.truffle.api.nodes.RootNode org.graalvm.compiler.truffle.runtime.OptimizedCallTarget java.util.concurrent.CountDownLatch java.lang.Thread java.lang.Thread
StackMap stack: java.lang.InterruptedException
12: pop
13: ldc "interrupted"
invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
return
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 15 0 this Lorg/graalvm/compiler/truffle/test/SafepointRethrowDeoptPETest;
0 15 1 rootNode Lcom/oracle/truffle/api/nodes/RootNode;
2 15 2 compiledMethod Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
5 15 3 cdl Ljava/util/concurrent/CountDownLatch;
6 15 4 t1 Ljava/lang/Thread;
7 15 5 t2 Ljava/lang/Thread;
Exception table:
from to target type
9 11 12 Class java.lang.InterruptedException
MethodParameters:
Name Flags
rootNode
private static void lambda$0(java.util.concurrent.CountDownLatch, org.graalvm.compiler.truffle.runtime.OptimizedCallTarget);
descriptor: (Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
invokevirtual java.util.concurrent.CountDownLatch.await:()V
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.entered:I
ifeq 1
2: aload 1
ldc "timed out"
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.invalidate:(Ljava/lang/CharSequence;)Z
pop
3: goto 6
StackMap locals:
StackMap stack: java.lang.InterruptedException
4: pop
5: ldc "interrupted"
invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
iconst_1
putstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.terminate:I
7: return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 3 4 Class java.lang.InterruptedException
private static void lambda$1(java.util.concurrent.CountDownLatch, org.graalvm.compiler.truffle.runtime.OptimizedCallTarget);
descriptor: (Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
0: aload 0
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
1: aload 1
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: getstatic org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest.RETURN_VALUE:Ljava/lang/Object;
aload 2
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 3: return
LocalVariableTable:
Start End Slot Name Signature
2 3 2 result Ljava/lang/Object;
}
SourceFile: "SafepointRethrowDeoptPETest.java"
NestMembers:
org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$BreakOrContinueNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$ExceptionTargetNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$LoopNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test0RootNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test1RootNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test2RootNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$TestNode org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$ThrowNode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public BreakOrContinueNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$BreakOrContinueNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public ExceptionTargetNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$ExceptionTargetNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public LoopNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$LoopNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public Test0RootNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test0RootNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public Test1RootNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test1RootNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public Test2RootNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$Test2RootNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public abstract TestNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$TestNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest
public ThrowNode = org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest$ThrowNode of org.graalvm.compiler.truffle.test.SafepointRethrowDeoptPETest