public final class sun.awt.image.ImageCache
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.awt.image.ImageCache
  super_class: java.lang.Object
{
  private final java.util.LinkedHashMap<sun.awt.image.ImageCache$PixelsKey, sun.awt.image.ImageCache$ImageSoftReference> map;
    descriptor: Ljava/util/LinkedHashMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/LinkedHashMap<Lsun/awt/image/ImageCache$PixelsKey;Lsun/awt/image/ImageCache$ImageSoftReference;>;

  private final int maxPixelCount;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int currentPixelCount;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.locks.ReadWriteLock lock;
    descriptor: Ljava/util/concurrent/locks/ReadWriteLock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.ref.ReferenceQueue<java.awt.Image> referenceQueue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/ref/ReferenceQueue<Ljava/awt/Image;>;

  public static sun.awt.image.ImageCache getInstance();
    descriptor: ()Lsun/awt/image/ImageCache;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 60
            ldc Lsun/awt/image/ImageCache;
         1: .line 61
            invokedynamic get()Ljava/util/function/Supplier;
              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;
                  sun/awt/image/ImageCache.lambda$0()Lsun/awt/image/ImageCache; (6)
                  ()Lsun/awt/image/ImageCache;
         2: .line 60
            invokestatic sun.awt.AppContext.getSoftReferenceValue:(Ljava/lang/Object;Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast sun.awt.image.ImageCache
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // sun.awt.image.ImageCache this
        start local 1 // int maxPixelCount
         0: .line 64
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 46
            aload 0 /* this */
         2: .line 47
            new java.util.LinkedHashMap
            dup
            bipush 16
            ldc 0.75
            iconst_1
            invokespecial java.util.LinkedHashMap.<init>:(IFZ)V
            putfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
         3: .line 52
            aload 0 /* this */
            iconst_0
            putfield sun.awt.image.ImageCache.currentPixelCount:I
         4: .line 55
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantReadWriteLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantReadWriteLock.<init>:()V
            putfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
         5: .line 57
            aload 0 /* this */
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            putfield sun.awt.image.ImageCache.referenceQueue:Ljava/lang/ref/ReferenceQueue;
         6: .line 65
            aload 0 /* this */
            iload 1 /* maxPixelCount */
            putfield sun.awt.image.ImageCache.maxPixelCount:I
         7: .line 66
            return
        end local 1 // int maxPixelCount
        end local 0 // sun.awt.image.ImageCache this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lsun/awt/image/ImageCache;
            0    8     1  maxPixelCount  I
    MethodParameters:
               Name  Flags
      maxPixelCount  final

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // sun.awt.image.ImageCache this
         0: .line 69
            aload 0 /* this */
            ldc 2097152
            invokespecial sun.awt.image.ImageCache.<init>:(I)V
         1: .line 70
            return
        end local 0 // sun.awt.image.ImageCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lsun/awt/image/ImageCache;

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // sun.awt.image.ImageCache this
         0: .line 73
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 75
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            invokevirtual java.util.LinkedHashMap.clear:()V
         2: .line 76
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Throwable
         3: astore 1
         4: .line 77
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         5: .line 78
            aload 1
            athrow
         6: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         7: .line 79
            return
        end local 0 // sun.awt.image.ImageCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lsun/awt/image/ImageCache;
      Exception table:
        from    to  target  type
           1     3       3  any

  public java.awt.Image getImage(sun.awt.image.ImageCache$PixelsKey);
    descriptor: (Lsun/awt/image/ImageCache$PixelsKey;)Ljava/awt/Image;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // sun.awt.image.ImageCache this
        start local 1 // sun.awt.image.ImageCache$PixelsKey key
         0: .line 83
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 85
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            aload 1 /* key */
            invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.awt.image.ImageCache$ImageSoftReference
            astore 2 /* ref */
        start local 2 // sun.awt.image.ImageCache$ImageSoftReference ref
         2: .line 86
            goto 6
        end local 2 // sun.awt.image.ImageCache$ImageSoftReference ref
      StackMap locals:
      StackMap stack: java.lang.Throwable
         3: astore 3
         4: .line 87
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         5: .line 88
            aload 3
            athrow
        start local 2 // sun.awt.image.ImageCache$ImageSoftReference ref
         6: .line 87
      StackMap locals: sun.awt.image.ImageCache$ImageSoftReference
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.readLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         7: .line 89
            aload 2 /* ref */
            ifnonnull 8
            aconst_null
            goto 9
      StackMap locals:
      StackMap stack:
         8: aload 2 /* ref */
            invokevirtual sun.awt.image.ImageCache$ImageSoftReference.get:()Ljava/lang/Object;
            checkcast java.awt.Image
      StackMap locals:
      StackMap stack: java.awt.Image
         9: areturn
        end local 2 // sun.awt.image.ImageCache$ImageSoftReference ref
        end local 1 // sun.awt.image.ImageCache$PixelsKey key
        end local 0 // sun.awt.image.ImageCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lsun/awt/image/ImageCache;
            0   10     1   key  Lsun/awt/image/ImageCache$PixelsKey;
            2    3     2   ref  Lsun/awt/image/ImageCache$ImageSoftReference;
            6   10     2   ref  Lsun/awt/image/ImageCache$ImageSoftReference;
      Exception table:
        from    to  target  type
           1     3       3  any
    MethodParameters:
      Name  Flags
      key   final

  public void setImage(sun.awt.image.ImageCache$PixelsKey, java.awt.Image);
    descriptor: (Lsun/awt/image/ImageCache$PixelsKey;Ljava/awt/Image;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=9, args_size=3
        start local 0 // sun.awt.image.ImageCache this
        start local 1 // sun.awt.image.ImageCache$PixelsKey key
        start local 2 // java.awt.Image image
         0: .line 100
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.lock:()V
         1: .line 102
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            aload 1 /* key */
            invokevirtual java.util.LinkedHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast sun.awt.image.ImageCache$ImageSoftReference
            astore 3 /* ref */
        start local 3 // sun.awt.image.ImageCache$ImageSoftReference ref
         2: .line 105
            aload 3 /* ref */
            ifnull 8
         3: .line 106
            aload 3 /* ref */
            invokevirtual sun.awt.image.ImageCache$ImageSoftReference.get:()Ljava/lang/Object;
            ifnull 6
         4: .line 144
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
         5: .line 107
            return
         6: .line 110
      StackMap locals: sun.awt.image.ImageCache$ImageSoftReference
      StackMap stack:
            aload 0 /* this */
            dup
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 1 /* key */
            invokeinterface sun.awt.image.ImageCache$PixelsKey.getPixelCount:()I
            isub
            putfield sun.awt.image.ImageCache.currentPixelCount:I
         7: .line 111
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            aload 1 /* key */
            invokevirtual java.util.LinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 116
      StackMap locals:
      StackMap stack:
            aload 1 /* key */
            invokeinterface sun.awt.image.ImageCache$PixelsKey.getPixelCount:()I
            istore 4 /* newPixelCount */
        start local 4 // int newPixelCount
         9: .line 117
            aload 0 /* this */
            dup
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            iload 4 /* newPixelCount */
            iadd
            putfield sun.awt.image.ImageCache.currentPixelCount:I
        10: .line 119
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.maxPixelCount:I
            if_icmple 15
        11: .line 120
            goto 14
        12: .line 122
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            aload 3 /* ref */
            getfield sun.awt.image.ImageCache$ImageSoftReference.key:Lsun/awt/image/ImageCache$PixelsKey;
            invokevirtual java.util.LinkedHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        13: .line 123
            aload 0 /* this */
            dup
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 3 /* ref */
            getfield sun.awt.image.ImageCache$ImageSoftReference.key:Lsun/awt/image/ImageCache$PixelsKey;
            invokeinterface sun.awt.image.ImageCache$PixelsKey.getPixelCount:()I
            isub
            putfield sun.awt.image.ImageCache.currentPixelCount:I
        14: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.referenceQueue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            checkcast sun.awt.image.ImageCache$ImageSoftReference
            dup
            astore 3 /* ref */
            ifnonnull 12
        15: .line 128
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.maxPixelCount:I
            if_icmple 25
        16: .line 130
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            invokevirtual java.util.LinkedHashMap.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5 /* mapIter */
        start local 5 // java.util.Iterator mapIter
        17: .line 131
            goto 24
        18: .line 133
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 5 /* mapIter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
        19: .line 132
            astore 6 /* entry */
        start local 6 // java.util.Map$Entry entry
        20: .line 134
            aload 5 /* mapIter */
            invokeinterface java.util.Iterator.remove:()V
        21: .line 135
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast sun.awt.image.ImageCache$ImageSoftReference
            invokevirtual sun.awt.image.ImageCache$ImageSoftReference.get:()Ljava/lang/Object;
            checkcast java.awt.Image
            astore 7 /* img */
        start local 7 // java.awt.Image img
        22: .line 136
            aload 7 /* img */
            ifnull 23
            aload 7 /* img */
            invokevirtual java.awt.Image.flush:()V
        23: .line 137
      StackMap locals: java.util.Map$Entry java.awt.Image
      StackMap stack:
            aload 0 /* this */
            dup
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 6 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast sun.awt.image.ImageCache$ImageSoftReference
            getfield sun.awt.image.ImageCache$ImageSoftReference.key:Lsun/awt/image/ImageCache$PixelsKey;
            invokeinterface sun.awt.image.ImageCache$PixelsKey.getPixelCount:()I
            isub
            putfield sun.awt.image.ImageCache.currentPixelCount:I
        end local 7 // java.awt.Image img
        end local 6 // java.util.Map$Entry entry
        24: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.currentPixelCount:I
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.maxPixelCount:I
            if_icmple 25
            aload 5 /* mapIter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 18
        end local 5 // java.util.Iterator mapIter
        25: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.map:Ljava/util/LinkedHashMap;
            aload 1 /* key */
            new sun.awt.image.ImageCache$ImageSoftReference
            dup
            aload 1 /* key */
            aload 2 /* image */
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.referenceQueue:Ljava/lang/ref/ReferenceQueue;
            invokespecial sun.awt.image.ImageCache$ImageSoftReference.<init>:(Lsun/awt/image/ImageCache$PixelsKey;Ljava/awt/Image;Ljava/lang/ref/ReferenceQueue;)V
            invokevirtual java.util.LinkedHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 4 // int newPixelCount
        end local 3 // sun.awt.image.ImageCache$ImageSoftReference ref
        26: .line 143
            goto 30
      StackMap locals: sun.awt.image.ImageCache sun.awt.image.ImageCache$PixelsKey java.awt.Image
      StackMap stack: java.lang.Throwable
        27: astore 8
        28: .line 144
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        29: .line 145
            aload 8
            athrow
        30: .line 144
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.awt.image.ImageCache.lock:Ljava/util/concurrent/locks/ReadWriteLock;
            invokeinterface java.util.concurrent.locks.ReadWriteLock.writeLock:()Ljava/util/concurrent/locks/Lock;
            invokeinterface java.util.concurrent.locks.Lock.unlock:()V
        31: .line 146
            return
        end local 2 // java.awt.Image image
        end local 1 // sun.awt.image.ImageCache$PixelsKey key
        end local 0 // sun.awt.image.ImageCache this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   32     0           this  Lsun/awt/image/ImageCache;
            0   32     1            key  Lsun/awt/image/ImageCache$PixelsKey;
            0   32     2          image  Ljava/awt/Image;
            2   26     3            ref  Lsun/awt/image/ImageCache$ImageSoftReference;
            9   26     4  newPixelCount  I
           17   25     5        mapIter  Ljava/util/Iterator<Ljava/util/Map$Entry<Lsun/awt/image/ImageCache$PixelsKey;Lsun/awt/image/ImageCache$ImageSoftReference;>;>;
           20   24     6          entry  Ljava/util/Map$Entry<Lsun/awt/image/ImageCache$PixelsKey;Lsun/awt/image/ImageCache$ImageSoftReference;>;
           22   24     7            img  Ljava/awt/Image;
      Exception table:
        from    to  target  type
           1     4      27  any
           6    27      27  any
    MethodParameters:
       Name  Flags
      key    final
      image  final

  private static sun.awt.image.ImageCache lambda$0();
    descriptor: ()Lsun/awt/image/ImageCache;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 61
            new sun.awt.image.ImageCache
            dup
            invokespecial sun.awt.image.ImageCache.<init>:()V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ImageCache.java"
NestMembers:
  sun.awt.image.ImageCache$ImageSoftReference  sun.awt.image.ImageCache$PixelsKey
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  private ImageSoftReference = sun.awt.image.ImageCache$ImageSoftReference of sun.awt.image.ImageCache
  public abstract PixelsKey = sun.awt.image.ImageCache$PixelsKey of sun.awt.image.ImageCache