final class com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue
super_class: java.lang.Object
{
private boolean sourcesInitializationRequired;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean valid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Deque<com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification> notificationQueue;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;>;
final com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler this$0;
descriptor: Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler);
descriptor: (Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.valid:Z
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
3: aload 0
iconst_1
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.sourcesInitializationRequired:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
MethodParameters:
Name Flags
this$0 final
private boolean shouldProcess();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getWriteHoldCount:()I
ifgt 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getReadHoldCount:()I
ifle 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.size:()I
iconst_1
if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
private void enqueue(com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification);
descriptor: (Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getWriteHoldCount:()I
ifgt 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getReadHoldCount:()I
ifle 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifne 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
0 4 1 notification Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;
MethodParameters:
Name Flags
notification
private com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification resolveFirst();
descriptor: ()Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.readLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
astore 2
start local 2 2: aload 2
invokeinterface java.util.concurrent.locks.Lock.lock:()V
3: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.valid:Z
ifeq 16
4: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
dup
astore 3
monitorenter
5: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.peekFirst:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification
astore 1
6: aload 0
iconst_0
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.sourcesInitializationRequired:Z
7: aload 1
ifnull 9
8: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification.resolveSources:()V
9: StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification java.util.concurrent.locks.Lock java.util.WeakHashMap
StackMap stack:
aload 3
monitorexit
10: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
13: StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
astore 4
14: aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
15: aload 4
athrow
16: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
17: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
1 18 1 notification Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;
2 18 2 lock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
5 10 11 any
11 12 11 any
3 13 13 any
private boolean removeFirst();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.readLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$ReadLock;
astore 2
start local 2 2: aload 2
invokeinterface java.util.concurrent.locks.Lock.lock:()V
3: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.valid:Z
ifeq 15
4: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
dup
astore 3
monitorenter
5: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
6: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifne 8
7: iconst_1
istore 1
8: StackMap locals: int java.util.concurrent.locks.Lock java.util.WeakHashMap
StackMap stack:
aload 3
monitorexit
9: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue int java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
astore 4
13: aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
14: aload 4
athrow
15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
16: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
1 17 1 queueNotEmpty Z
2 17 2 lock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
5 9 10 any
10 11 10 any
3 12 12 any
private void clear();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getWriteHoldCount:()I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.notificationQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
private void invalidate();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.getWriteHoldCount:()I
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.valid:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
void process();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=5, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.resolveFirst:()Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;
astore 1
start local 1 1: aload 1
ifnull 14
2: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification.runNotifications:()V
3: goto 14
StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification
StackMap stack: java.lang.Throwable
4: astore 2
start local 2 5: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.bindingsLock:Ljava/util/concurrent/locks/ReentrantReadWriteLock;
invokevirtual java.util.concurrent.locks.ReentrantReadWriteLock.writeLock:()Ljava/util/concurrent/locks/ReentrantReadWriteLock$WriteLock;
astore 3
start local 3 6: aload 3
invokeinterface java.util.concurrent.locks.Lock.lock:()V
7: aload 0
invokevirtual com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.clear:()V
8: goto 12
StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification java.lang.Throwable java.util.concurrent.locks.Lock
StackMap stack: java.lang.Throwable
9: astore 4
10: aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
11: aload 4
athrow
12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.concurrent.locks.Lock.unlock:()V
13: aload 2
athrow
end local 3 end local 2 end local 1 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.removeFirst:()Z
ifne 0
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
1 14 1 notification Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotification;
5 14 2 t Ljava/lang/Throwable;
6 14 3 writeLock Ljava/util/concurrent/locks/Lock;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
7 9 9 any
boolean isSourcesInitializationRequired();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue.sourcesInitializationRequired:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$SourcesNotificationQueue;
}
SourceFile: "SourceInstrumentationHandler.java"
NestHost: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler
InnerClasses:
private abstract SourcesNotification = com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotification of com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler
final SourcesNotificationQueue = com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$SourcesNotificationQueue of com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler
public ReadLock = java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock of java.util.concurrent.locks.ReentrantReadWriteLock
public WriteLock = java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock of java.util.concurrent.locks.ReentrantReadWriteLock