public final class com.sun.webkit.Disposer implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.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 com.sun.webkit.Disposer disposerInstance;
descriptor: Lcom/sun/webkit/Disposer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<com.sun.webkit.Disposer$WeakDisposerRecord> records;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Lcom/sun/webkit/Disposer$WeakDisposerRecord;>;
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.webkit.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
1: new com.sun.webkit.Disposer
dup
invokespecial com.sun.webkit.Disposer.<init>:()V
putstatic com.sun.webkit.Disposer.disposerInstance:Lcom/sun/webkit/Disposer;
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
3: putstatic com.sun.webkit.Disposer.records:Ljava/util/Set;
4: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/webkit/Disposer.lambda$0()Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: 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/webkit/Disposer;
public static void addRecord(java.lang.Object, com.sun.webkit.DisposerRecord);
descriptor: (Ljava/lang/Object;Lcom/sun/webkit/DisposerRecord;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.webkit.Disposer.disposerInstance:Lcom/sun/webkit/Disposer;
aload 0
aload 1
invokevirtual com.sun.webkit.Disposer.add:(Ljava/lang/Object;Lcom/sun/webkit/DisposerRecord;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 target Ljava/lang/Object;
0 2 1 rec Lcom/sun/webkit/DisposerRecord;
MethodParameters:
Name Flags
target
rec
private synchronized void add(java.lang.Object, com.sun.webkit.DisposerRecord);
descriptor: (Ljava/lang/Object;Lcom/sun/webkit/DisposerRecord;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.webkit.Disposer.records:Ljava/util/Set;
new com.sun.webkit.Disposer$WeakDisposerRecord
dup
aload 1
aload 2
invokespecial com.sun.webkit.Disposer$WeakDisposerRecord.<init>:(Ljava/lang/Object;Lcom/sun/webkit/DisposerRecord;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/Disposer;
0 2 1 target Ljava/lang/Object;
0 2 2 rec Lcom/sun/webkit/DisposerRecord;
MethodParameters:
Name Flags
target
rec
public static void addRecord(com.sun.webkit.Disposer$WeakDisposerRecord);
descriptor: (Lcom/sun/webkit/Disposer$WeakDisposerRecord;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.webkit.Disposer.disposerInstance:Lcom/sun/webkit/Disposer;
aload 0
invokevirtual com.sun.webkit.Disposer.add:(Lcom/sun/webkit/Disposer$WeakDisposerRecord;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 rec Lcom/sun/webkit/Disposer$WeakDisposerRecord;
MethodParameters:
Name Flags
rec
private synchronized void add(com.sun.webkit.Disposer$WeakDisposerRecord);
descriptor: (Lcom/sun/webkit/Disposer$WeakDisposerRecord;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.webkit.Disposer.records:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/Disposer;
0 2 1 rec Lcom/sun/webkit/Disposer$WeakDisposerRecord;
MethodParameters:
Name Flags
rec
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
getstatic com.sun.webkit.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.remove:()Ljava/lang/ref/Reference;
checkcast com.sun.webkit.Disposer$WeakDisposerRecord
astore 1
start local 1 1: aload 1
invokevirtual com.sun.webkit.Disposer$WeakDisposerRecord.clear:()V
2: invokestatic com.sun.webkit.Disposer$DisposerRunnable.getInstance:()Lcom/sun/webkit/Disposer$DisposerRunnable;
aload 1
invokevirtual com.sun.webkit.Disposer$DisposerRunnable.enqueue:(Lcom/sun/webkit/Disposer$WeakDisposerRecord;)V
end local 1 3: goto 0
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 1
start local 1 5: 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
6: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 7: goto 0
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/webkit/Disposer;
1 3 1 obj Lcom/sun/webkit/Disposer$WeakDisposerRecord;
5 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
private static java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
astore 0
start local 0 1: aload 0
astore 1
start local 1 2: goto 4
3: StackMap locals: java.lang.ThreadGroup java.lang.ThreadGroup
StackMap stack:
aload 1
astore 0
aload 0
invokevirtual java.lang.ThreadGroup.getParent:()Ljava/lang/ThreadGroup;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 3
end local 1 5: new java.lang.Thread
dup
aload 0
getstatic com.sun.webkit.Disposer.disposerInstance:Lcom/sun/webkit/Disposer;
ldc "Disposer"
invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V
astore 1
start local 1 6: aload 1
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
7: aload 1
bipush 10
invokevirtual java.lang.Thread.setPriority:(I)V
8: aload 1
invokevirtual java.lang.Thread.start:()V
9: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 tg Ljava/lang/ThreadGroup;
2 5 1 tgn Ljava/lang/ThreadGroup;
6 10 1 t Ljava/lang/Thread;
}
SourceFile: "Disposer.java"
NestMembers:
com.sun.webkit.Disposer$DisposerRunnable com.sun.webkit.Disposer$WeakDisposerRecord
InnerClasses:
private final DisposerRunnable = com.sun.webkit.Disposer$DisposerRunnable of com.sun.webkit.Disposer
public WeakDisposerRecord = com.sun.webkit.Disposer$WeakDisposerRecord of com.sun.webkit.Disposer
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles