public class com.sun.javafx.util.WeakReferenceQueue<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.util.WeakReferenceQueue
super_class: java.lang.Object
{
private final java.lang.ref.ReferenceQueue garbage;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object strongRef;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private com.sun.javafx.util.WeakReferenceQueue$ListEntry head;
descriptor: Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
flags: (0x0002) ACC_PRIVATE
int size;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield com.sun.javafx.util.WeakReferenceQueue.garbage:Ljava/lang/ref/ReferenceQueue;
2: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield com.sun.javafx.util.WeakReferenceQueue.strongRef:Ljava/lang/Object;
3: aload 0
new com.sun.javafx.util.WeakReferenceQueue$ListEntry
dup
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.strongRef:Ljava/lang/Object;
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.garbage:Ljava/lang/ref/ReferenceQueue;
invokespecial com.sun.javafx.util.WeakReferenceQueue$ListEntry.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
putfield com.sun.javafx.util.WeakReferenceQueue.head:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
4: aload 0
iconst_0
putfield com.sun.javafx.util.WeakReferenceQueue.size:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/util/WeakReferenceQueue<TE;>;
public void add();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.util.WeakReferenceQueue.cleanup:()V
1: aload 0
dup
getfield com.sun.javafx.util.WeakReferenceQueue.size:I
iconst_1
iadd
putfield com.sun.javafx.util.WeakReferenceQueue.size:I
2: new com.sun.javafx.util.WeakReferenceQueue$ListEntry
dup
aload 1
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.garbage:Ljava/lang/ref/ReferenceQueue;
invokespecial com.sun.javafx.util.WeakReferenceQueue$ListEntry.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.head:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
getfield com.sun.javafx.util.WeakReferenceQueue$ListEntry.prev:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
invokevirtual com.sun.javafx.util.WeakReferenceQueue$ListEntry.insert:(Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/util/WeakReferenceQueue<TE;>;
0 4 1 obj TE;
Signature: (TE;)V
MethodParameters:
Name Flags
obj
public void remove();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.util.WeakReferenceQueue.cleanup:()V
1: aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.head:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
getfield com.sun.javafx.util.WeakReferenceQueue$ListEntry.next:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
astore 2
start local 2 2: goto 9
3: StackMap locals: com.sun.javafx.util.WeakReferenceQueue$ListEntry
StackMap stack:
aload 2
invokevirtual com.sun.javafx.util.WeakReferenceQueue$ListEntry.get:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
aload 1
if_acmpne 8
5: aload 0
dup
getfield com.sun.javafx.util.WeakReferenceQueue.size:I
iconst_1
isub
putfield com.sun.javafx.util.WeakReferenceQueue.size:I
6: aload 2
invokevirtual com.sun.javafx.util.WeakReferenceQueue$ListEntry.remove:()V
7: return
8: StackMap locals: java.lang.Object
StackMap stack:
aload 2
getfield com.sun.javafx.util.WeakReferenceQueue$ListEntry.next:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
astore 2
end local 3 9: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.head:Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
if_acmpne 3
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/util/WeakReferenceQueue<TE;>;
0 11 1 obj TE;
2 11 2 entry Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
4 9 3 other Ljava/lang/Object;
Signature: (TE;)V
MethodParameters:
Name Flags
obj
public void cleanup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: goto 3
start local 1 1: StackMap locals: com.sun.javafx.util.WeakReferenceQueue$ListEntry
StackMap stack:
aload 0
dup
getfield com.sun.javafx.util.WeakReferenceQueue.size:I
iconst_1
isub
putfield com.sun.javafx.util.WeakReferenceQueue.size:I
2: aload 1
invokevirtual com.sun.javafx.util.WeakReferenceQueue$ListEntry.remove:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.util.WeakReferenceQueue.garbage:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast com.sun.javafx.util.WeakReferenceQueue$ListEntry
dup
astore 1
start local 1 4: ifnonnull 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/util/WeakReferenceQueue<TE;>;
1 3 1 entry Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
4 6 1 entry Lcom/sun/javafx/util/WeakReferenceQueue$ListEntry;
public java.util.Iterator<? super E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.javafx.util.WeakReferenceQueue$1
dup
aload 0
invokespecial com.sun.javafx.util.WeakReferenceQueue$1.<init>:(Lcom/sun/javafx/util/WeakReferenceQueue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/util/WeakReferenceQueue<TE;>;
Signature: ()Ljava/util/Iterator<-TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "WeakReferenceQueue.java"
NestMembers:
com.sun.javafx.util.WeakReferenceQueue$1 com.sun.javafx.util.WeakReferenceQueue$ListEntry
InnerClasses:
com.sun.javafx.util.WeakReferenceQueue$1
private ListEntry = com.sun.javafx.util.WeakReferenceQueue$ListEntry of com.sun.javafx.util.WeakReferenceQueue