class com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification extends com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification
super_class: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification
{
protected final java.util.Collection<com.oracle.truffle.api.source.Source> collectedSources;
descriptor: Ljava/util/Collection;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
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$NewSourcesNotification.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.oracle.truffle.api.instrumentation.EventBinding$Source<?>[], java.util.Collection<com.oracle.truffle.api.source.Source>);
descriptor: (Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;[Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
1: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$AllSourcesNotification.<init>:(Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;[Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;)V
2: aload 0
aload 3
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.collectedSources:Ljava/util/Collection;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$NewSourcesNotification;
0 4 2 bindingsToNotify [Lcom/oracle/truffle/api/instrumentation/EventBinding$Source;
0 4 3 collectedSources Ljava/util/Collection<Lcom/oracle/truffle/api/source/Source;>;
Signature: ([Lcom/oracle/truffle/api/instrumentation/EventBinding$Source<*>;Ljava/util/Collection<Lcom/oracle/truffle/api/source/Source;>;)V
MethodParameters:
Name Flags
this$0 final
bindingsToNotify
collectedSources
protected void resolveSources();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.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$NewSourcesNotification.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.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$NewSourcesNotification.$assertionsDisabled:Z
ifne 3
aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.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$NewSourcesNotification.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$NewSourcesNotification.$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
invokespecial java.util.ArrayList.<init>:()V
putfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.sourcesForNotification:Ljava/util/Collection;
6: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.collectedSources:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification 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$NewSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
aload 2
invokevirtual java.util.WeakHashMap.containsKey:(Ljava/lang/Object;)Z
ifne 12
9: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sources:Ljava/util/WeakHashMap;
aload 2
aconst_null
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.this$0:Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler;
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler.sourcesList:Lcom/oracle/truffle/api/instrumentation/InstrumentationHandler$WeakAsyncList;
aload 2
invokevirtual com.oracle.truffle.api.instrumentation.InstrumentationHandler$WeakAsyncList.add:(Ljava/lang/Object;)Z
pop
11: aload 0
getfield com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification.sourcesForNotification:Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 2 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/api/instrumentation/SourceInstrumentationHandler$NewSourcesNotification;
4 14 1 firstCall Z
8 12 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 NewSourcesNotification = com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler$NewSourcesNotification of com.oracle.truffle.api.instrumentation.SourceInstrumentationHandler