class com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1 implements java.util.function.Function<com.oracle.truffle.api.TruffleLanguage$Env, java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1
super_class: java.lang.Object
{
final com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest this$0;
descriptor: Lcom/oracle/truffle/api/test/polyglot/LegacyLanguageSPITest;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.CountDownLatch val$beforeSleep;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.atomic.AtomicInteger val$gotInterrupt;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.concurrent.CountDownLatch val$interrupt;
descriptor: Ljava/util/concurrent/CountDownLatch;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest, java.util.concurrent.CountDownLatch, java.util.concurrent.atomic.AtomicInteger, java.util.concurrent.CountDownLatch);
descriptor: (Lcom/oracle/truffle/api/test/polyglot/LegacyLanguageSPITest;Ljava/util/concurrent/CountDownLatch;Ljava/util/concurrent/atomic/AtomicInteger;Ljava/util/concurrent/CountDownLatch;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.this$0:Lcom/oracle/truffle/api/test/polyglot/LegacyLanguageSPITest;
aload 0
aload 2
putfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$beforeSleep:Ljava/util/concurrent/CountDownLatch;
aload 0
aload 3
putfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$gotInterrupt:Ljava/util/concurrent/atomic/AtomicInteger;
aload 0
aload 4
putfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$interrupt:Ljava/util/concurrent/CountDownLatch;
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/test/polyglot/LegacyLanguageSPITest$1;
MethodParameters:
Name Flags
this$0 final
val$beforeSleep final
val$gotInterrupt final
val$interrupt final
public java.lang.Object apply(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$beforeSleep:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
1: ldc 5000
invokestatic java.lang.Thread.sleep:(J)V
2: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: pop
4: aload 0
getfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$gotInterrupt:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
5: aload 0
getfield com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.val$interrupt:Ljava/util/concurrent/CountDownLatch;
invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
6: new com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$LegacyInterrupted
dup
invokespecial com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$LegacyInterrupted.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/api/test/polyglot/LegacyLanguageSPITest$1;
0 8 1 t Lcom/oracle/truffle/api/TruffleLanguage$Env;
Exception table:
from to target type
0 2 3 Class java.lang.InterruptedException
MethodParameters:
Name Flags
t
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.api.TruffleLanguage$Env
invokevirtual com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1.apply:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/function/Function<Lcom/oracle/truffle/api/TruffleLanguage$Env;Ljava/lang/Object;>;
SourceFile: "LegacyLanguageSPITest.java"
EnclosingMethod: com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest.testCancelExecutionWhileSleeping:()V
NestHost: com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest
InnerClasses:
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$1
LegacyInterrupted = com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest$LegacyInterrupted of com.oracle.truffle.api.test.polyglot.LegacyLanguageSPITest