public class com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest
super_class: java.lang.Object
{
public java.lang.String testName;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter()
public java.lang.String code;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 1)
public int nThreads;
descriptor: I
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 2)
public boolean multiContext;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 3)
public boolean multiEngine;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 4)
public boolean closeAfterInterrupt;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 5)
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 Lcom/oracle/truffle/api/instrumentation/test/ContextInterruptParameterizedTest;
public static java.util.Collection<java.lang.Object[]> data();
descriptor: ()Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: bipush 40
anewarray java.lang.Object[]
dup
iconst_0
1: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
iconst_1
2: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
iconst_2
3: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
iconst_3
4: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
iconst_4
5: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
6: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
iconst_5
7: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 6
8: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 7
9: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 8
10: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 9
11: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
12: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 10
13: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 11
14: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 12
15: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 13
16: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 14
17: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
18: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 15
19: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 16
20: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 17
21: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 18
22: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 19
23: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
24: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 20
25: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 21
26: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 22
27: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 23
28: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 24
29: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
30: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 25
31: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 26
32: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 27
33: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 28
34: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 29
35: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
36: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 30
37: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 31
38: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 32
39: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 33
40: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 34
41: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
42: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 35
43: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoop"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 36
44: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithSleep"
aastore
dup
iconst_1
ldc "BLOCK(CONSTANT(42),LOOP(infinity, SLEEP(1000)))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 37
45: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopInInnerContext"
aastore
dup
iconst_1
ldc "CONTEXT(CONSTANT(42),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 38
46: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreads"
aastore
dup
iconst_1
ldc "BLOCK(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN(),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
dup
bipush 39
47: bipush 6
anewarray java.lang.Object
dup
iconst_0
ldc "infiniteLoopWithPolyglotThreadWhereParentContextIsNotEntered"
aastore
dup
iconst_1
48: ldc "BLOCK(CONTEXT(DEFINE(foo,CONSTANT(42),LOOP(infinity, STATEMENT)),SPAWN(foo),JOIN()),LOOP(infinity, STATEMENT))"
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_4
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_5
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
aastore
49: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Collection<[Ljava/lang/Object;>;
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameters(name = "{index}: {0} (nThreads: {2}, multiContext: {3}, multiEngine: {4}, closeAfterInterrupt: {5})")
public void testInterrupt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=15, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
invokestatic java.util.concurrent.Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;
astore 1
start local 1 1: new java.util.concurrent.CountDownLatch
dup
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
iconst_1
iadd
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiEngine:Z
ifeq 4
aconst_null
goto 5
StackMap locals: java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List
StackMap stack:
4: invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
StackMap locals:
StackMap stack: org.graalvm.polyglot.Engine
5: astore 4
start local 4 6: iconst_0
anewarray java.lang.String
invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
iconst_1
invokevirtual org.graalvm.polyglot.Context$Builder.allowCreateThread:(Z)Lorg/graalvm/polyglot/Context$Builder;
astore 5
start local 5 7: new java.util.concurrent.CountDownLatch
dup
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
astore 6
start local 6 8: aload 4
ifnull 12
9: aload 5
aload 4
invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
pop
10: aload 4
invokestatic com.oracle.truffle.api.instrumentation.test.ContextInterruptStandaloneTest.getInstrumentEnv:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
astore 7
start local 7 11: aload 6
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/concurrent/CountDownLatch;)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
java/util/concurrent/CountDownLatch.countDown()V (5)
()V
aload 7
invokestatic com.oracle.truffle.api.instrumentation.test.ContextInterruptStandaloneTest.attachListener:(Ljava/lang/Runnable;Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
end local 7 12: StackMap locals: org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch
StackMap stack:
iconst_0
istore 7
start local 7 13: goto 23
14: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiContext:Z
ifne 15
iload 7
ifne 21
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 8
start local 8 16: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 4
ifnonnull 22
18: aload 8
invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
invokestatic com.oracle.truffle.api.instrumentation.test.ContextInterruptStandaloneTest.getInstrumentEnv:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
astore 9
start local 9 19: aload 6
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/util/concurrent/CountDownLatch;)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
java/util/concurrent/CountDownLatch.countDown()V (5)
()V
aload 9
invokestatic com.oracle.truffle.api.instrumentation.test.ContextInterruptStandaloneTest.attachListener:(Ljava/lang/Runnable;Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
end local 9 end local 8 20: goto 22
21: StackMap locals:
StackMap stack:
aload 3
aload 3
iload 7
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 14
end local 7 24: ldc "instrumentation-test-language"
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.code:Ljava/lang/String;
ldc "InfiniteLoop"
invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
invokevirtual org.graalvm.polyglot.Source$Builder.build:()Lorg/graalvm/polyglot/Source;
astore 7
start local 7 25: ldc "instrumentation-test-language"
ldc "CONSTANT(42)"
ldc "CheckAlive"
invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
invokevirtual org.graalvm.polyglot.Source$Builder.build:()Lorg/graalvm/polyglot/Source;
astore 8
start local 8 26: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 9
start local 9 27: iconst_0
istore 10
start local 10 28: goto 32
29: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Source java.util.List int
StackMap stack:
iload 10
istore 11
start local 11 30: aload 9
aload 1
aload 0
aload 3
iload 11
aload 7
aload 2
aload 8
invokedynamic run(Lcom/oracle/truffle/api/instrumentation/test/ContextInterruptParameterizedTest;Ljava/util/List;ILorg/graalvm/polyglot/Source;Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/polyglot/Source;)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
com/oracle/truffle/api/instrumentation/test/ContextInterruptParameterizedTest.lambda$2(Ljava/util/List;ILorg/graalvm/polyglot/Source;Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/polyglot/Source;)V (7)
()V
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 31: iinc 10 1
StackMap locals:
StackMap stack:
32: iload 10
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 29
end local 10 33: aload 6
invokevirtual java.util.concurrent.CountDownLatch.await:()V
34: iconst_0
istore 10
start local 10 35: goto 40
36: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiContext:Z
ifne 37
iload 10
ifne 39
37: StackMap locals:
StackMap stack:
aload 3
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
astore 11
start local 11 38: aload 11
ldc 50
invokestatic java.time.Duration.ofSeconds:(J)Ljava/time/Duration;
invokevirtual org.graalvm.polyglot.Context.interrupt:(Ljava/time/Duration;)V
end local 11 39: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
40: iload 10
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 36
end local 10 41: aload 2
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
42: aload 9
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 50
StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Source java.util.List top java.util.Iterator
StackMap stack:
43: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 10
start local 10 44: iconst_0
istore 12
start local 12 45: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Source java.util.List java.util.concurrent.Future java.util.Iterator int
StackMap stack:
aload 10
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
46: iconst_1
istore 12
47: goto 49
StackMap locals:
StackMap stack: java.lang.InterruptedException
48: pop
49: StackMap locals:
StackMap stack:
iload 12
ifeq 45
end local 12 end local 10 50: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Source java.util.List top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 43
51: aload 1
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
pop
52: aload 1
ldc 100
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
53: aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.closeAfterInterrupt:Z
ifne 72
54: iconst_0
istore 10
start local 10 55: goto 59
56: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Source java.util.List int
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiContext:Z
ifne 57
iload 10
ifne 58
57: StackMap locals:
StackMap stack:
ldc 42
aload 3
iload 10
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
aload 8
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
58: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
59: iload 10
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 56
end local 10 end local 9 end local 8 end local 7 60: goto 72
StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch
StackMap stack: java.lang.Exception
61: astore 7
start local 7 62: aload 7
invokevirtual java.lang.Exception.printStackTrace:()V
63: aload 7
athrow
end local 7 64: StackMap locals:
StackMap stack: java.lang.Throwable
astore 13
65: iconst_0
istore 14
start local 14 66: goto 70
67: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch top top top top top top java.lang.Throwable int
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiContext:Z
ifne 68
iload 14
ifne 69
68: StackMap locals:
StackMap stack:
aload 3
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
invokevirtual org.graalvm.polyglot.Context.close:()V
69: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
70: iload 14
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 67
end local 14 71: aload 13
athrow
72: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch
StackMap stack:
iconst_0
istore 14
start local 14 73: goto 77
74: StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.concurrent.ExecutorService java.util.concurrent.CountDownLatch java.util.List org.graalvm.polyglot.Engine org.graalvm.polyglot.Context$Builder java.util.concurrent.CountDownLatch top top top top top top top int
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.multiContext:Z
ifne 75
iload 14
ifne 76
75: StackMap locals:
StackMap stack:
aload 3
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
invokevirtual org.graalvm.polyglot.Context.close:()V
76: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
77: iload 14
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.nThreads:I
if_icmplt 74
end local 14 78: return
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 79 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextInterruptParameterizedTest;
1 79 1 executorService Ljava/util/concurrent/ExecutorService;
2 79 2 allCancelledLatch Ljava/util/concurrent/CountDownLatch;
3 79 3 contexts Ljava/util/List<Lorg/graalvm/polyglot/Context;>;
6 79 4 engine Lorg/graalvm/polyglot/Engine;
7 79 5 builder Lorg/graalvm/polyglot/Context$Builder;
8 79 6 passLatch Ljava/util/concurrent/CountDownLatch;
11 12 7 instrumentEnv Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
13 24 7 i I
16 20 8 ctx Lorg/graalvm/polyglot/Context;
19 20 9 instrumentEnv Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
25 60 7 source Lorg/graalvm/polyglot/Source;
26 60 8 checkSource Lorg/graalvm/polyglot/Source;
27 60 9 futures Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
28 33 10 i I
30 31 11 j I
35 41 10 i I
38 39 11 context Lorg/graalvm/polyglot/Context;
44 50 10 future Ljava/util/concurrent/Future<*>;
45 50 12 finished Z
55 60 10 i I
62 64 7 e Ljava/lang/Exception;
66 71 14 i I
73 78 14 i I
Exception table:
from to target type
45 47 48 Class java.lang.InterruptedException
24 60 61 Class java.lang.Exception
24 64 64 any
Exceptions:
throws java.lang.InterruptedException, java.io.IOException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
RuntimeVisibleAnnotations:
org.junit.Test()
private void lambda$2(java.util.List, int, org.graalvm.polyglot.Source, java.util.concurrent.CountDownLatch, org.graalvm.polyglot.Source);
descriptor: (Ljava/util/List;ILorg/graalvm/polyglot/Source;Ljava/util/concurrent/CountDownLatch;Lorg/graalvm/polyglot/Source;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=8, args_size=6
start local 0 0: aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Context
astore 6
start local 6 1: aload 6
ldc "instrumentation-test-language"
invokevirtual org.graalvm.polyglot.Context.initialize:(Ljava/lang/String;)Z
pop
2: aload 6
aload 3
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
pop
3: invokestatic org.junit.Assert.fail:()V
4: goto 8
StackMap locals: com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest java.util.List int org.graalvm.polyglot.Source java.util.concurrent.CountDownLatch org.graalvm.polyglot.Source org.graalvm.polyglot.Context
StackMap stack: org.graalvm.polyglot.PolyglotException
5: astore 7
start local 7 6: aload 7
invokevirtual org.graalvm.polyglot.PolyglotException.isInterrupted:()Z
ifne 8
7: aload 7
athrow
end local 7 8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.test.ContextInterruptParameterizedTest.closeAfterInterrupt:Z
ifeq 14
9: aload 6
invokevirtual org.graalvm.polyglot.Context.close:()V
10: goto 19
StackMap locals:
StackMap stack: java.lang.IllegalStateException
11: astore 7
start local 7 12: ldc "The context is currently executing on another thread. Set cancelIfExecuting to true to stop the execution on this thread."
aload 7
invokevirtual java.lang.IllegalStateException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
13: aload 7
athrow
end local 7 14: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
15: aload 4
invokevirtual java.util.concurrent.CountDownLatch.await:()V
16: goto 18
StackMap locals:
StackMap stack: java.lang.InterruptedException
17: pop
18: StackMap locals:
StackMap stack:
ldc 42
aload 6
aload 5
invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/oracle/truffle/api/instrumentation/test/ContextInterruptParameterizedTest;
1 19 6 context Lorg/graalvm/polyglot/Context;
6 8 7 pe Lorg/graalvm/polyglot/PolyglotException;
12 14 7 ise Ljava/lang/IllegalStateException;
Exception table:
from to target type
1 4 5 Class org.graalvm.polyglot.PolyglotException
9 10 11 Class java.lang.IllegalStateException
15 16 17 Class java.lang.InterruptedException
}
SourceFile: "ContextInterruptParameterizedTest.java"
InnerClasses:
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context
public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source
public abstract Parameter = org.junit.runners.Parameterized$Parameter of org.junit.runners.Parameterized
public abstract Parameters = org.junit.runners.Parameterized$Parameters of org.junit.runners.Parameterized
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lorg/junit/runners/Parameterized;)