public class sun.java2d.Disposer implements java.lang.Runnable
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.java2d.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 sun.java2d.Disposer disposerInstance;
    descriptor: Lsun/java2d/Disposer;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  public static final int WEAK;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  public static final int PHANTOM;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  public static int refType;
    descriptor: I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 53
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            putstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
         1: .line 54
            new java.util.Hashtable
            dup
            invokespecial java.util.Hashtable.<init>:()V
            putstatic sun.java2d.Disposer.records:Ljava/util/Hashtable;
         2: .line 59
            iconst_1
            putstatic sun.java2d.Disposer.refType:I
         3: .line 63
            new sun.security.action.LoadLibraryAction
            dup
            ldc "awt"
            invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)V
         4: .line 62
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
         5: .line 64
            invokestatic sun.java2d.Disposer.initIDs:()V
         6: .line 66
            new sun.security.action.GetPropertyAction
            dup
            ldc "sun.java2d.reftype"
            invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
         7: .line 65
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 0 /* type */
        start local 0 // java.lang.String type
         8: .line 67
            aload 0 /* type */
            ifnull 15
         9: .line 68
            aload 0 /* type */
            ldc "weak"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 13
        10: .line 69
            iconst_0
            putstatic sun.java2d.Disposer.refType:I
        11: .line 70
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Using WEAK refs"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        12: .line 71
            goto 15
        13: .line 72
      StackMap locals: java.lang.String
      StackMap stack:
            iconst_1
            putstatic sun.java2d.Disposer.refType:I
        14: .line 73
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "Using PHANTOM refs"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        15: .line 76
      StackMap locals:
      StackMap stack:
            new sun.java2d.Disposer
            dup
            invokespecial sun.java2d.Disposer.<init>:()V
            putstatic sun.java2d.Disposer.disposerInstance:Lsun/java2d/Disposer;
        16: .line 78
            new sun.java2d.Disposer$1
            dup
            invokespecial sun.java2d.Disposer$1.<init>:()V
        17: .line 77
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
        end local 0 // java.lang.String type
        18: .line 94
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            8   18     0  type  Ljava/lang/String;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // sun.java2d.Disposer this
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.java2d.Disposer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/java2d/Disposer;

  public static void addRecord(java.lang.Object, long, long);
    descriptor: (Ljava/lang/Object;JJ)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // java.lang.Object target
        start local 1 // long disposeMethod
        start local 3 // long pData
         0: .line 106
            getstatic sun.java2d.Disposer.disposerInstance:Lsun/java2d/Disposer;
            aload 0 /* target */
         1: .line 107
            new sun.java2d.DefaultDisposerRecord
            dup
            lload 1 /* disposeMethod */
            lload 3 /* pData */
            invokespecial sun.java2d.DefaultDisposerRecord.<init>:(JJ)V
         2: .line 106
            invokevirtual sun.java2d.Disposer.add:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
         3: .line 108
            return
        end local 3 // long pData
        end local 1 // long disposeMethod
        end local 0 // java.lang.Object target
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    4     0         target  Ljava/lang/Object;
            0    4     1  disposeMethod  J
            0    4     3          pData  J
    MethodParameters:
               Name  Flags
      target         
      disposeMethod  
      pData          

  public static void addRecord(java.lang.Object, sun.java2d.DisposerRecord);
    descriptor: (Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.Object target
        start local 1 // sun.java2d.DisposerRecord rec
         0: .line 117
            getstatic sun.java2d.Disposer.disposerInstance:Lsun/java2d/Disposer;
            aload 0 /* target */
            aload 1 /* rec */
            invokevirtual sun.java2d.Disposer.add:(Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
         1: .line 118
            return
        end local 1 // sun.java2d.DisposerRecord rec
        end local 0 // java.lang.Object target
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0  target  Ljava/lang/Object;
            0    2     1     rec  Lsun/java2d/DisposerRecord;
    MethodParameters:
        Name  Flags
      target  
      rec     

  synchronized void add(java.lang.Object, sun.java2d.DisposerRecord);
    descriptor: (Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // sun.java2d.Disposer this
        start local 1 // java.lang.Object target
        start local 2 // sun.java2d.DisposerRecord rec
         0: .line 129
            aload 1 /* target */
            instanceof sun.java2d.DisposerTarget
            ifeq 2
         1: .line 130
            aload 1 /* target */
            checkcast sun.java2d.DisposerTarget
            invokeinterface sun.java2d.DisposerTarget.getDisposerReferent:()Ljava/lang/Object;
            astore 1 /* target */
         2: .line 133
      StackMap locals:
      StackMap stack:
            getstatic sun.java2d.Disposer.refType:I
            iconst_1
            if_icmpne 5
         3: .line 134
            new java.lang.ref.PhantomReference
            dup
            aload 1 /* target */
            getstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
            invokespecial java.lang.ref.PhantomReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
            astore 3 /* ref */
        start local 3 // java.lang.ref.Reference ref
         4: .line 135
            goto 6
        end local 3 // java.lang.ref.Reference ref
         5: .line 136
      StackMap locals:
      StackMap stack:
            new java.lang.ref.WeakReference
            dup
            aload 1 /* target */
            getstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
            astore 3 /* ref */
        start local 3 // java.lang.ref.Reference ref
         6: .line 138
      StackMap locals: java.lang.ref.Reference
      StackMap stack:
            getstatic sun.java2d.Disposer.records:Ljava/util/Hashtable;
            aload 3 /* ref */
            aload 2 /* rec */
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 139
            return
        end local 3 // java.lang.ref.Reference ref
        end local 2 // sun.java2d.DisposerRecord rec
        end local 1 // java.lang.Object target
        end local 0 // sun.java2d.Disposer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Lsun/java2d/Disposer;
            0    8     1  target  Ljava/lang/Object;
            0    8     2     rec  Lsun/java2d/DisposerRecord;
            4    5     3     ref  Ljava/lang/ref/Reference;
            6    8     3     ref  Ljava/lang/ref/Reference;
    MethodParameters:
        Name  Flags
      target  
      rec     

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // sun.java2d.Disposer this
         0: .line 144
      StackMap locals:
      StackMap stack:
            getstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.remove:()Ljava/lang/ref/Reference;
            astore 1 /* obj */
        start local 1 // java.lang.Object obj
         1: .line 145
            aload 1 /* obj */
            checkcast java.lang.ref.Reference
            invokevirtual java.lang.ref.Reference.clear:()V
         2: .line 146
            getstatic sun.java2d.Disposer.records:Ljava/util/Hashtable;
            aload 1 /* obj */
            invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.java2d.DisposerRecord
            astore 2 /* rec */
        start local 2 // sun.java2d.DisposerRecord rec
         3: .line 147
            aload 2 /* rec */
            invokeinterface sun.java2d.DisposerRecord.dispose:()V
         4: .line 148
            aconst_null
            astore 1 /* obj */
         5: .line 149
            aconst_null
            astore 2
        end local 2 // sun.java2d.DisposerRecord rec
        end local 1 // java.lang.Object obj
         6: .line 150
            goto 0
      StackMap locals:
      StackMap stack: java.lang.Exception
         7: pop
         8: .line 151
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "Exception while removing reference."
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         9: .line 142
            goto 0
        end local 0 // sun.java2d.Disposer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/java2d/Disposer;
            1    6     1   obj  Ljava/lang/Object;
            3    6     2   rec  Lsun/java2d/DisposerRecord;
      Exception table:
        from    to  target  type
           0     6       7  Class java.lang.Exception

  private static native void initIDs();
    descriptor: ()V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE

  public static void addReference(java.lang.ref.Reference, sun.java2d.DisposerRecord);
    descriptor: (Ljava/lang/ref/Reference;Lsun/java2d/DisposerRecord;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.ref.Reference ref
        start local 1 // sun.java2d.DisposerRecord rec
         0: .line 167
            getstatic sun.java2d.Disposer.records:Ljava/util/Hashtable;
            aload 0 /* ref */
            aload 1 /* rec */
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 168
            return
        end local 1 // sun.java2d.DisposerRecord rec
        end local 0 // java.lang.ref.Reference ref
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   ref  Ljava/lang/ref/Reference;
            0    2     1   rec  Lsun/java2d/DisposerRecord;
    MethodParameters:
      Name  Flags
      ref   
      rec   

  public static void addObjectRecord(java.lang.Object, sun.java2d.DisposerRecord);
    descriptor: (Ljava/lang/Object;Lsun/java2d/DisposerRecord;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.lang.Object obj
        start local 1 // sun.java2d.DisposerRecord rec
         0: .line 171
            getstatic sun.java2d.Disposer.records:Ljava/util/Hashtable;
            new java.lang.ref.WeakReference
            dup
            aload 0 /* obj */
            getstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
            invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
            aload 1 /* rec */
            invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 172
            return
        end local 1 // sun.java2d.DisposerRecord rec
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   obj  Ljava/lang/Object;
            0    2     1   rec  Lsun/java2d/DisposerRecord;
    MethodParameters:
      Name  Flags
      obj   
      rec   

  public static java.lang.ref.ReferenceQueue getQueue();
    descriptor: ()Ljava/lang/ref/ReferenceQueue;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 177
            getstatic sun.java2d.Disposer.queue:Ljava/lang/ref/ReferenceQueue;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "Disposer.java"
NestMembers:
  sun.java2d.Disposer$1
InnerClasses:
  sun.java2d.Disposer$1