public class com.sun.javafx.embed.swing.Disposer implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.embed.swing.Disposer
super_class: java.lang.Object
{
private static final java.lang.ref.ReferenceQueue queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Hashtable records;
descriptor: Ljava/util/Hashtable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static com.sun.javafx.embed.swing.Disposer disposerInstance;
descriptor: Lcom/sun/javafx/embed/swing/Disposer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putstatic com.sun.javafx.embed.swing.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
1: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic com.sun.javafx.embed.swing.Disposer.records:Ljava/util/Hashtable;
2: new com.sun.javafx.embed.swing.Disposer
dup
invokespecial com.sun.javafx.embed.swing.Disposer.<init>:()V
putstatic com.sun.javafx.embed.swing.Disposer.disposerInstance:Lcom/sun/javafx/embed/swing/Disposer;
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
pop
4: new com.sun.javafx.embed.swing.Disposer$1
dup
invokespecial com.sun.javafx.embed.swing.Disposer$1.<init>:()V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/embed/swing/Disposer;
public static java.lang.ref.WeakReference addRecord(java.lang.Object, com.sun.javafx.embed.swing.DisposerRecord);
descriptor: (Ljava/lang/Object;Lcom/sun/javafx/embed/swing/DisposerRecord;)Ljava/lang/ref/WeakReference;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.ref.WeakReference
dup
aload 0
getstatic com.sun.javafx.embed.swing.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
astore 2
start local 2 1: getstatic com.sun.javafx.embed.swing.Disposer.records:Ljava/util/Hashtable;
aload 2
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 target Ljava/lang/Object;
0 3 1 rec Lcom/sun/javafx/embed/swing/DisposerRecord;
1 3 2 ref Ljava/lang/ref/WeakReference;
MethodParameters:
Name Flags
target
rec
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
getstatic com.sun.javafx.embed.swing.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.remove:()Ljava/lang/ref/Reference;
astore 1
start local 1 1: aload 1
checkcast java.lang.ref.Reference
invokevirtual java.lang.ref.Reference.clear:()V
2: getstatic com.sun.javafx.embed.swing.Disposer.records:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.javafx.embed.swing.DisposerRecord
astore 2
start local 2 3: aload 2
invokeinterface com.sun.javafx.embed.swing.DisposerRecord.dispose:()V
4: aconst_null
astore 1
5: aconst_null
astore 2
end local 2 end local 1 6: goto 0
StackMap locals:
StackMap stack: java.lang.Exception
7: astore 1
start local 1 8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Exception while removing reference: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 10: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/javafx/embed/swing/Disposer;
1 6 1 obj Ljava/lang/Object;
3 6 2 rec Lcom/sun/javafx/embed/swing/DisposerRecord;
8 10 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 6 7 Class java.lang.Exception
}
SourceFile: "Disposer.java"
NestMembers:
com.sun.javafx.embed.swing.Disposer$1
InnerClasses:
com.sun.javafx.embed.swing.Disposer$1