class com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification extends com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$InitializeSourcesNotification
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification
super_class: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$InitializeSourcesNotification
{
protected final com.oracle.truffle.api.instrumentation.EventBinding$Source<?>[] bindingsToNotify;
descriptor: [Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: [Lcom/oracle/truffle/api/instrumentation/EventBinding$Source<*>;
protected java.util.Collection<com.oracle.truffle.api.source.Source> sourcesForNotification;
descriptor: Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Collection<Lcom/oracle/truffle/api/source/Source;>;
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$AllSourcesNotification.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.instrumentation.EventBinding$Source<?>[]);
descriptor: (Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;[Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
aload 0
aload 1
invokespecial com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$InitializeSourcesNotification.<init>:(Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;)V
1: aload 0
aload 2
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.bindingsToNotify:[Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$AllSourcesNotification;
0 3 2 bindingsToNotify [Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;
Signature: ([Lcom/oracle/truffle/api/instrumentation/EventBinding$Source<*>;)V
MethodParameters:
Name Flags
this$0 final
bindingsToNotify
protected void resolveSources();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.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
ifgt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.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
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 3
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sourcesInitialized:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.sourcesResolved:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
istore 1
start local 1 4: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 5
iload 1
ifne 5
new java.lang.AssertionError
dup
ldc "resolveSources called more than once."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
new java.util.ArrayList
dup
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sourcesList:Lcom/oracle/truffle/api/instrumentation/InstrumentationHandler$WeakAsyncList;
invokevirtual com.oracle.truffle.api.instrumentation.InstrumentationHandler$WeakAsyncList.getNextInsertionIndex:()I
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.sourcesForNotification:Ljava/util/Collection;
6: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sourcesList:Lcom/oracle/truffle/api/instrumentation/InstrumentationHandler$WeakAsyncList;
invokevirtual com.oracle.truffle.api.instrumentation.InstrumentationHandler$WeakAsyncList.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification int top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.source.Source
astore 2
start local 2 8: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.sourcesForNotification:Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$AllSourcesNotification;
4 11 1 firstCall Z
8 9 2 source Lcom/oracle/truffle/api/source/Source;
protected final void runNotifications();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.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
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.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
iadd
ifeq 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$AllSourcesNotification.notificationsRun:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
istore 1
start local 1 2: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.$assertionsDisabled:Z
ifne 3
iload 1
ifne 3
new java.lang.AssertionError
dup
ldc "runNotifications called more than once."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.sourcesForNotification:Ljava/util/Collection;
ifnull 8
4: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.sourcesForNotification:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification int top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.source.Source
astore 2
start local 2 6: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.notificationConsumer:Ljava/util/function/BiConsumer;
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.bindingsToNotify:[Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;
aload 2
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$AllSourcesNotification;
2 9 1 firstCall Z
6 7 2 src Lcom/oracle/truffle/api/source/Source;
}
SourceFile: "SourceInstrumentationHandler.java"
NestHost: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler
InnerClasses:
final Source = com.oracle.truffle.api.instrumentation.EventBinding$Source of com.oracle.truffle.api.instrumentation.EventBinding
final WeakAsyncList = com.oracle.truffle.api.instrumentation.InstrumentationHandler$WeakAsyncList of com.oracle.truffle.api.instrumentation.InstrumentationHandler
private AllSourcesNotification = com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification of com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler
private InitializeSourcesNotification = com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$InitializeSourcesNotification of com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler