class com.sun.prism.sw.SWTexturePool extends com.sun.prism.impl.BaseResourcePool<com.sun.prism.sw.SWTexture> implements com.sun.prism.impl.TextureResourcePool<com.sun.prism.sw.SWTexture>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.prism.sw.SWTexturePool
  super_class: com.sun.prism.impl.BaseResourcePool
{
  static final com.sun.prism.sw.SWTexturePool instance;
    descriptor: Lcom/sun/prism/sw/SWTexturePool;
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  private static volatile int[] $SWITCH_TABLE$com$sun$prism$PixelFormat;
    descriptor: [I
    flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 36
            new com.sun.prism.sw.SWTexturePool
            dup
            invokespecial com.sun.prism.sw.SWTexturePool.<init>:()V
            putstatic com.sun.prism.sw.SWTexturePool.instance:Lcom/sun/prism/sw/SWTexturePool;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static long maxVram();
    descriptor: ()J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=0
         0: .line 39
            invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
            invokevirtual java.lang.Runtime.maxMemory:()J
            lstore 0 /* heapmax */
        start local 0 // long heapmax
         1: .line 40
            getstatic com.sun.prism.impl.PrismSettings.maxVram:J
            lstore 2 /* setmax */
        start local 2 // long setmax
         2: .line 41
            lload 0 /* heapmax */
            ldc 4
            ldiv
            lload 2 /* setmax */
            invokestatic java.lang.Math.min:(JJ)J
            lreturn
        end local 2 // long setmax
        end local 0 // long heapmax
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            1    3     0  heapmax  J
            2    3     2   setmax  J

  private static long targetVram();
    descriptor: ()J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=0
         0: .line 45
            invokestatic com.sun.prism.sw.SWTexturePool.maxVram:()J
            lstore 0 /* max */
        start local 0 // long max
         1: .line 46
            lload 0 /* max */
            ldc 2
            ldiv
            getstatic com.sun.prism.impl.PrismSettings.targetVram:J
            invokestatic java.lang.Math.min:(JJ)J
            lreturn
        end local 0 // long max
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     0   max  J

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // com.sun.prism.sw.SWTexturePool this
         0: .line 50
            aload 0 /* this */
            aconst_null
            invokestatic com.sun.prism.sw.SWTexturePool.targetVram:()J
            invokestatic com.sun.prism.sw.SWTexturePool.maxVram:()J
            invokespecial com.sun.prism.impl.BaseResourcePool.<init>:(Lcom/sun/prism/impl/ResourcePool;JJ)V
         1: .line 51
            return
        end local 0 // com.sun.prism.sw.SWTexturePool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/prism/sw/SWTexturePool;

  public long used();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.prism.sw.SWTexturePool this
         0: .line 58
            lconst_0
            lreturn
        end local 0 // com.sun.prism.sw.SWTexturePool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/prism/sw/SWTexturePool;

  public long size(com.sun.prism.sw.SWTexture);
    descriptor: (Lcom/sun/prism/sw/SWTexture;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // com.sun.prism.sw.SWTexturePool this
        start local 1 // com.sun.prism.sw.SWTexture resource
         0: .line 63
            aload 1 /* resource */
            invokevirtual com.sun.prism.sw.SWTexture.getPhysicalWidth:()I
            i2l
            lstore 2 /* size */
        start local 2 // long size
         1: .line 64
            lload 2 /* size */
            aload 1 /* resource */
            invokevirtual com.sun.prism.sw.SWTexture.getPhysicalHeight:()I
            i2l
            lmul
            lstore 2 /* size */
         2: .line 65
            aload 1 /* resource */
            instanceof com.sun.prism.sw.SWArgbPreTexture
            ifeq 4
         3: .line 66
            lload 2 /* size */
            ldc 4
            lmul
            lstore 2 /* size */
         4: .line 68
      StackMap locals: long
      StackMap stack:
            lload 2 /* size */
            lreturn
        end local 2 // long size
        end local 1 // com.sun.prism.sw.SWTexture resource
        end local 0 // com.sun.prism.sw.SWTexturePool this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lcom/sun/prism/sw/SWTexturePool;
            0    5     1  resource  Lcom/sun/prism/sw/SWTexture;
            1    5     2      size  J
    MethodParameters:
          Name  Flags
      resource  

  public long estimateTextureSize(int, int, com.sun.prism.PixelFormat);
    descriptor: (IILcom/sun/prism/PixelFormat;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.sun.prism.sw.SWTexturePool this
        start local 1 // int width
        start local 2 // int height
        start local 3 // com.sun.prism.PixelFormat format
         0: .line 73
            invokestatic com.sun.prism.sw.SWTexturePool.$SWITCH_TABLE$com$sun$prism$PixelFormat:()[I
            aload 3 /* format */
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iaload
            tableswitch { // 5 - 5
                    5: 1
              default: 2
          }
         1: .line 75
      StackMap locals:
      StackMap stack:
            iload 1 /* width */
            i2l
            iload 2 /* height */
            i2l
            lmul
            lreturn
         2: .line 77
      StackMap locals:
      StackMap stack:
            iload 1 /* width */
            i2l
            iload 2 /* height */
            i2l
            lmul
            ldc 4
            lmul
            lreturn
        end local 3 // com.sun.prism.PixelFormat format
        end local 2 // int height
        end local 1 // int width
        end local 0 // com.sun.prism.sw.SWTexturePool this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/sun/prism/sw/SWTexturePool;
            0    3     1   width  I
            0    3     2  height  I
            0    3     3  format  Lcom/sun/prism/PixelFormat;
    MethodParameters:
        Name  Flags
      width   
      height  
      format  

  public long estimateRTTextureSize(int, int, boolean);
    descriptor: (IIZ)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.sun.prism.sw.SWTexturePool this
        start local 1 // int width
        start local 2 // int height
        start local 3 // boolean hasDepth
         0: .line 83
            iload 1 /* width */
            i2l
            iload 2 /* height */
            i2l
            lmul
            ldc 4
            lmul
            lreturn
        end local 3 // boolean hasDepth
        end local 2 // int height
        end local 1 // int width
        end local 0 // com.sun.prism.sw.SWTexturePool this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/sun/prism/sw/SWTexturePool;
            0    1     1     width  I
            0    1     2    height  I
            0    1     3  hasDepth  Z
    MethodParameters:
          Name  Flags
      width     
      height    
      hasDepth  

  public long size(java.lang.Object);
    descriptor: (Ljava/lang/Object;)J
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast com.sun.prism.sw.SWTexture
            invokevirtual com.sun.prism.sw.SWTexturePool.size:(Lcom/sun/prism/sw/SWTexture;)J
            lreturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static int[] $SWITCH_TABLE$com$sun$prism$PixelFormat();
    descriptor: ()[I
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 33
            getstatic com.sun.prism.sw.SWTexturePool.$SWITCH_TABLE$com$sun$prism$PixelFormat:[I
            dup
            ifnull 1
            areturn
      StackMap locals:
      StackMap stack: int[]
         1: pop
            invokestatic com.sun.prism.PixelFormat.values:()[Lcom/sun/prism/PixelFormat;
            arraylength
            newarray 10
            astore 0
         2: aload 0
            getstatic com.sun.prism.PixelFormat.BYTE_ALPHA:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iconst_5
            iastore
         3: goto 5
      StackMap locals: int[]
      StackMap stack: java.lang.NoSuchFieldError
         4: pop
      StackMap locals:
      StackMap stack:
         5: aload 0
            getstatic com.sun.prism.PixelFormat.BYTE_APPLE_422:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            bipush 7
            iastore
         6: goto 8
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
         7: pop
      StackMap locals:
      StackMap stack:
         8: aload 0
            getstatic com.sun.prism.PixelFormat.BYTE_BGRA_PRE:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iconst_2
            iastore
         9: goto 11
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        10: pop
      StackMap locals:
      StackMap stack:
        11: aload 0
            getstatic com.sun.prism.PixelFormat.BYTE_GRAY:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iconst_4
            iastore
        12: goto 14
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        13: pop
      StackMap locals:
      StackMap stack:
        14: aload 0
            getstatic com.sun.prism.PixelFormat.BYTE_RGB:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iconst_3
            iastore
        15: goto 17
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        16: pop
      StackMap locals:
      StackMap stack:
        17: aload 0
            getstatic com.sun.prism.PixelFormat.FLOAT_XYZW:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            bipush 8
            iastore
        18: goto 20
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        19: pop
      StackMap locals:
      StackMap stack:
        20: aload 0
            getstatic com.sun.prism.PixelFormat.INT_ARGB_PRE:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            iconst_1
            iastore
        21: goto 23
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        22: pop
      StackMap locals:
      StackMap stack:
        23: aload 0
            getstatic com.sun.prism.PixelFormat.MULTI_YCbCr_420:Lcom/sun/prism/PixelFormat;
            invokevirtual com.sun.prism.PixelFormat.ordinal:()I
            bipush 6
            iastore
        24: goto 26
      StackMap locals:
      StackMap stack: java.lang.NoSuchFieldError
        25: pop
      StackMap locals:
      StackMap stack:
        26: aload 0
            dup
            putstatic com.sun.prism.sw.SWTexturePool.$SWITCH_TABLE$com$sun$prism$PixelFormat:[I
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.NoSuchFieldError
           5     6       7  Class java.lang.NoSuchFieldError
           8     9      10  Class java.lang.NoSuchFieldError
          11    12      13  Class java.lang.NoSuchFieldError
          14    15      16  Class java.lang.NoSuchFieldError
          17    18      19  Class java.lang.NoSuchFieldError
          20    21      22  Class java.lang.NoSuchFieldError
          23    24      25  Class java.lang.NoSuchFieldError
}
Signature: Lcom/sun/prism/impl/BaseResourcePool<Lcom/sun/prism/sw/SWTexture;>;Lcom/sun/prism/impl/TextureResourcePool<Lcom/sun/prism/sw/SWTexture;>;
SourceFile: "SWTexturePool.java"