public class org.apache.catalina.webresources.Cache
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.catalina.webresources.Cache
  super_class: java.lang.Object
{
  private static final org.apache.juli.logging.Log log;
    descriptor: Lorg/apache/juli/logging/Log;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  protected static final org.apache.tomcat.util.res.StringManager sm;
    descriptor: Lorg/apache/tomcat/util/res/StringManager;
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL

  private static final long TARGET_FREE_PERCENT_GET;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 5

  private static final long TARGET_FREE_PERCENT_BACKGROUND;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 10

  private static final int OBJECT_MAX_SIZE_FACTOR;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 20

  private final org.apache.catalina.webresources.StandardRoot root;
    descriptor: Lorg/apache/catalina/webresources/StandardRoot;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicLong size;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long ttl;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long maxSize;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

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

  private java.util.concurrent.atomic.AtomicLong lookupCount;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0002) ACC_PRIVATE

  private java.util.concurrent.atomic.AtomicLong hitCount;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.ConcurrentMap<java.lang.String, org.apache.catalina.webresources.CachedResource> resourceCache;
    descriptor: Ljava/util/concurrent/ConcurrentMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Lorg/apache/catalina/webresources/CachedResource;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 33
            ldc Lorg/apache/catalina/webresources/Cache;
            invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
            putstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
         1: .line 34
            ldc Lorg/apache/catalina/webresources/Cache;
            invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
            putstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
         2: .line 40
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.apache.catalina.webresources.StandardRoot);
    descriptor: (Lorg/apache/catalina/webresources/StandardRoot;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // org.apache.catalina.webresources.StandardRoot root
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            lconst_0
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
            putfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
         2: .line 45
            aload 0 /* this */
            ldc 5000
            putfield org.apache.catalina.webresources.Cache.ttl:J
         3: .line 46
            aload 0 /* this */
            ldc 10485760
            putfield org.apache.catalina.webresources.Cache.maxSize:J
         4: .line 47
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            l2i
            bipush 20
            idiv
            putfield org.apache.catalina.webresources.Cache.objectMaxSize:I
         5: .line 49
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            lconst_0
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
            putfield org.apache.catalina.webresources.Cache.lookupCount:Ljava/util/concurrent/atomic/AtomicLong;
         6: .line 50
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicLong
            dup
            lconst_0
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
            putfield org.apache.catalina.webresources.Cache.hitCount:Ljava/util/concurrent/atomic/AtomicLong;
         7: .line 52
            aload 0 /* this */
         8: .line 53
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
         9: .line 56
            aload 0 /* this */
            aload 1 /* root */
            putfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
        10: .line 57
            return
        end local 1 // org.apache.catalina.webresources.StandardRoot root
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lorg/apache/catalina/webresources/Cache;
            0   11     1  root  Lorg/apache/catalina/webresources/StandardRoot;
    MethodParameters:
      Name  Flags
      root  

  protected org.apache.catalina.WebResource getResource(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=12, args_size=3
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // java.lang.String path
        start local 2 // boolean useClassLoaderResources
         0: .line 61
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual org.apache.catalina.webresources.Cache.noCache:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 62
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
            aload 1 /* path */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.StandardRoot.getResourceInternal:(Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
            areturn
         2: .line 65
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.lookupCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            pop2
         3: .line 67
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* path */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 3 /* cacheEntry */
        start local 3 // org.apache.catalina.webresources.CachedResource cacheEntry
         4: .line 69
            aload 3 /* cacheEntry */
            ifnull 7
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResource:(Z)Z
            ifne 7
         5: .line 70
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
         6: .line 71
            aconst_null
            astore 3 /* cacheEntry */
         7: .line 74
      StackMap locals: org.apache.catalina.webresources.CachedResource
      StackMap stack:
            aload 3 /* cacheEntry */
            ifnonnull 27
         8: .line 76
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.Cache.getObjectMaxSizeBytes:()I
            istore 4 /* objectMaxSizeBytes */
        start local 4 // int objectMaxSizeBytes
         9: .line 77
            new org.apache.catalina.webresources.CachedResource
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
            aload 1 /* path */
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.Cache.getTtl:()J
        10: .line 78
            iload 4 /* objectMaxSizeBytes */
            iload 2 /* useClassLoaderResources */
        11: .line 77
            invokespecial org.apache.catalina.webresources.CachedResource.<init>:(Lorg/apache/catalina/webresources/Cache;Lorg/apache/catalina/webresources/StandardRoot;Ljava/lang/String;JIZ)V
            astore 5 /* newCacheEntry */
        start local 5 // org.apache.catalina.webresources.CachedResource newCacheEntry
        12: .line 82
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* path */
            aload 5 /* newCacheEntry */
            invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 3 /* cacheEntry */
        13: .line 84
            aload 3 /* cacheEntry */
            ifnonnull 25
        14: .line 86
            aload 5 /* newCacheEntry */
            astore 3 /* cacheEntry */
        15: .line 87
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResource:(Z)Z
            pop
        16: .line 92
            aload 3 /* cacheEntry */
            invokevirtual org.apache.catalina.webresources.CachedResource.getSize:()J
            lstore 6 /* delta */
        start local 6 // long delta
        17: .line 93
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            lload 6 /* delta */
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
        18: .line 95
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            lcmp
            ifle 28
        19: .line 100
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            ldc 95
            lmul
            ldc 100
            ldiv
            lstore 8 /* targetSize */
        start local 8 // long targetSize
        20: .line 101
            aload 0 /* this */
            lload 8 /* targetSize */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokevirtual org.apache.catalina.webresources.Cache.evict:(JLjava/util/Iterator;)J
            lstore 10 /* newSize */
        start local 10 // long newSize
        21: .line 102
            lload 10 /* newSize */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            lcmp
            ifle 28
        22: .line 105
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
        23: .line 106
            getstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
            getstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "cache.addFail"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* path */
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
            invokevirtual org.apache.catalina.webresources.StandardRoot.getContext:()Lorg/apache/catalina/Context;
            invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
            aastore
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
        end local 10 // long newSize
        end local 8 // long targetSize
        end local 6 // long delta
        24: .line 109
            goto 28
        25: .line 112
      StackMap locals: int org.apache.catalina.webresources.CachedResource
      StackMap stack:
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResource:(Z)Z
            pop
        end local 5 // org.apache.catalina.webresources.CachedResource newCacheEntry
        end local 4 // int objectMaxSizeBytes
        26: .line 114
            goto 28
        27: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.hitCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            pop2
        28: .line 118
      StackMap locals:
      StackMap stack:
            aload 3 /* cacheEntry */
            areturn
        end local 3 // org.apache.catalina.webresources.CachedResource cacheEntry
        end local 2 // boolean useClassLoaderResources
        end local 1 // java.lang.String path
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   29     0                     this  Lorg/apache/catalina/webresources/Cache;
            0   29     1                     path  Ljava/lang/String;
            0   29     2  useClassLoaderResources  Z
            4   29     3               cacheEntry  Lorg/apache/catalina/webresources/CachedResource;
            9   26     4       objectMaxSizeBytes  I
           12   26     5            newCacheEntry  Lorg/apache/catalina/webresources/CachedResource;
           17   24     6                    delta  J
           20   24     8               targetSize  J
           21   24    10                  newSize  J
    MethodParameters:
                         Name  Flags
      path                     
      useClassLoaderResources  

  protected org.apache.catalina.WebResource[] getResources(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=9, locals=12, args_size=3
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // java.lang.String path
        start local 2 // boolean useClassLoaderResources
         0: .line 122
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.lookupCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            pop2
         1: .line 127
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* path */
            invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 3 /* cacheEntry */
        start local 3 // org.apache.catalina.webresources.CachedResource cacheEntry
         2: .line 129
            aload 3 /* cacheEntry */
            ifnull 5
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResources:(Z)Z
            ifne 5
         3: .line 130
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
         4: .line 131
            aconst_null
            astore 3 /* cacheEntry */
         5: .line 134
      StackMap locals: org.apache.catalina.webresources.CachedResource
      StackMap stack:
            aload 3 /* cacheEntry */
            ifnonnull 25
         6: .line 136
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.Cache.getObjectMaxSizeBytes:()I
            istore 4 /* objectMaxSizeBytes */
        start local 4 // int objectMaxSizeBytes
         7: .line 137
            new org.apache.catalina.webresources.CachedResource
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
            aload 1 /* path */
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.Cache.getTtl:()J
         8: .line 138
            iload 4 /* objectMaxSizeBytes */
            iload 2 /* useClassLoaderResources */
         9: .line 137
            invokespecial org.apache.catalina.webresources.CachedResource.<init>:(Lorg/apache/catalina/webresources/Cache;Lorg/apache/catalina/webresources/StandardRoot;Ljava/lang/String;JIZ)V
            astore 5 /* newCacheEntry */
        start local 5 // org.apache.catalina.webresources.CachedResource newCacheEntry
        10: .line 142
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* path */
            aload 5 /* newCacheEntry */
            invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 3 /* cacheEntry */
        11: .line 144
            aload 3 /* cacheEntry */
            ifnonnull 23
        12: .line 146
            aload 5 /* newCacheEntry */
            astore 3 /* cacheEntry */
        13: .line 147
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResources:(Z)Z
            pop
        14: .line 150
            aload 3 /* cacheEntry */
            invokevirtual org.apache.catalina.webresources.CachedResource.getSize:()J
            lstore 6 /* delta */
        start local 6 // long delta
        15: .line 151
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            lload 6 /* delta */
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
        16: .line 153
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            lcmp
            ifle 26
        17: .line 158
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            ldc 95
            lmul
            ldc 100
            ldiv
            lstore 8 /* targetSize */
        start local 8 // long targetSize
        18: .line 159
            aload 0 /* this */
            lload 8 /* targetSize */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            invokevirtual org.apache.catalina.webresources.Cache.evict:(JLjava/util/Iterator;)J
            lstore 10 /* newSize */
        start local 10 // long newSize
        19: .line 160
            lload 10 /* newSize */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            lcmp
            ifle 26
        20: .line 163
            aload 0 /* this */
            aload 1 /* path */
            invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
        21: .line 164
            getstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
            getstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "cache.addFail"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* path */
            aastore
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
        end local 10 // long newSize
        end local 8 // long targetSize
        end local 6 // long delta
        22: .line 167
            goto 26
        23: .line 170
      StackMap locals: int org.apache.catalina.webresources.CachedResource
      StackMap stack:
            aload 3 /* cacheEntry */
            iload 2 /* useClassLoaderResources */
            invokevirtual org.apache.catalina.webresources.CachedResource.validateResources:(Z)Z
            pop
        end local 5 // org.apache.catalina.webresources.CachedResource newCacheEntry
        end local 4 // int objectMaxSizeBytes
        24: .line 172
            goto 26
        25: .line 173
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.hitCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
            pop2
        26: .line 176
      StackMap locals:
      StackMap stack:
            aload 3 /* cacheEntry */
            invokevirtual org.apache.catalina.webresources.CachedResource.getWebResources:()[Lorg/apache/catalina/WebResource;
            areturn
        end local 3 // org.apache.catalina.webresources.CachedResource cacheEntry
        end local 2 // boolean useClassLoaderResources
        end local 1 // java.lang.String path
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   27     0                     this  Lorg/apache/catalina/webresources/Cache;
            0   27     1                     path  Ljava/lang/String;
            0   27     2  useClassLoaderResources  Z
            2   27     3               cacheEntry  Lorg/apache/catalina/webresources/CachedResource;
            7   24     4       objectMaxSizeBytes  I
           10   24     5            newCacheEntry  Lorg/apache/catalina/webresources/CachedResource;
           15   22     6                    delta  J
           18   22     8               targetSize  J
           19   22    10                  newSize  J
    MethodParameters:
                         Name  Flags
      path                     
      useClassLoaderResources  

  protected void backgroundProcess();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=10, locals=7, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 184
            new java.util.TreeSet
            dup
            new org.apache.catalina.webresources.Cache$EvictionOrder
            dup
            invokespecial org.apache.catalina.webresources.Cache$EvictionOrder.<init>:()V
            invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
         1: .line 183
            astore 1 /* orderedResources */
        start local 1 // java.util.TreeSet orderedResources
         2: .line 185
            aload 1 /* orderedResources */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
            invokevirtual java.util.TreeSet.addAll:(Ljava/util/Collection;)Z
            pop
         3: .line 187
            aload 1 /* orderedResources */
            invokevirtual java.util.TreeSet.iterator:()Ljava/util/Iterator;
            astore 2 /* iter */
        start local 2 // java.util.Iterator iter
         4: .line 190
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            ldc 90
            lmul
            ldc 100
            ldiv
         5: .line 189
            lstore 3 /* targetSize */
        start local 3 // long targetSize
         6: .line 191
            aload 0 /* this */
            lload 3 /* targetSize */
            aload 2 /* iter */
            invokevirtual org.apache.catalina.webresources.Cache.evict:(JLjava/util/Iterator;)J
            lstore 5 /* newSize */
        start local 5 // long newSize
         7: .line 193
            lload 5 /* newSize */
            lload 3 /* targetSize */
            lcmp
            ifle 13
         8: .line 194
            getstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
            getstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "cache.backgroundEvictFail"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         9: .line 195
            ldc 10
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_1
        10: .line 196
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.root:Lorg/apache/catalina/webresources/StandardRoot;
            invokevirtual org.apache.catalina.webresources.StandardRoot.getContext:()Lorg/apache/catalina/Context;
            invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
            aastore
            dup
            iconst_2
        11: .line 197
            lload 5 /* newSize */
            ldc 1024
            ldiv
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
        12: .line 194
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
        13: .line 199
      StackMap locals: org.apache.catalina.webresources.Cache java.util.TreeSet java.util.Iterator long long
      StackMap stack:
            return
        end local 5 // long newSize
        end local 3 // long targetSize
        end local 2 // java.util.Iterator iter
        end local 1 // java.util.TreeSet orderedResources
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   14     0              this  Lorg/apache/catalina/webresources/Cache;
            2   14     1  orderedResources  Ljava/util/TreeSet<Lorg/apache/catalina/webresources/CachedResource;>;
            4   14     2              iter  Ljava/util/Iterator<Lorg/apache/catalina/webresources/CachedResource;>;
            6   14     3        targetSize  J
            7   14     5           newSize  J

  private boolean noCache(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // java.lang.String path
         0: .line 204
            aload 1 /* path */
            ldc ".class"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 205
            aload 1 /* path */
            ldc "/WEB-INF/classes/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 3
            aload 1 /* path */
            ldc "/WEB-INF/lib/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 3
         2: .line 207
      StackMap locals:
      StackMap stack:
            aload 1 /* path */
            ldc "/WEB-INF/lib/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 4
            aload 1 /* path */
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 4
         3: .line 208
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         4: .line 210
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.String path
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/catalina/webresources/Cache;
            0    5     1  path  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  private long evict(long, java.util.Iterator<org.apache.catalina.webresources.CachedResource>);
    descriptor: (JLjava/util/Iterator;)J
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=9, args_size=3
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // long targetSize
        start local 3 // java.util.Iterator iter
         0: .line 215
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 4 /* now */
        start local 4 // long now
         1: .line 217
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lstore 6 /* newSize */
        start local 6 // long newSize
         2: .line 219
            goto 8
         3: .line 220
      StackMap locals: long long
      StackMap stack:
            aload 3 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 8 /* resource */
        start local 8 // org.apache.catalina.webresources.CachedResource resource
         4: .line 223
            aload 8 /* resource */
            invokevirtual org.apache.catalina.webresources.CachedResource.getNextCheck:()J
            lload 4 /* now */
            lcmp
            ifle 6
         5: .line 224
            goto 8
         6: .line 228
      StackMap locals: org.apache.catalina.webresources.CachedResource
      StackMap stack:
            aload 0 /* this */
            aload 8 /* resource */
            invokevirtual org.apache.catalina.webresources.CachedResource.getWebappPath:()Ljava/lang/String;
            invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
         7: .line 230
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lstore 6 /* newSize */
        end local 8 // org.apache.catalina.webresources.CachedResource resource
         8: .line 219
      StackMap locals:
      StackMap stack:
            lload 6 /* newSize */
            lload 1 /* targetSize */
            lcmp
            ifle 9
            aload 3 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         9: .line 233
      StackMap locals:
      StackMap stack:
            lload 6 /* newSize */
            lreturn
        end local 6 // long newSize
        end local 4 // long now
        end local 3 // java.util.Iterator iter
        end local 1 // long targetSize
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Lorg/apache/catalina/webresources/Cache;
            0   10     1  targetSize  J
            0   10     3        iter  Ljava/util/Iterator<Lorg/apache/catalina/webresources/CachedResource;>;
            1   10     4         now  J
            2   10     6     newSize  J
            4    8     8    resource  Lorg/apache/catalina/webresources/CachedResource;
    Signature: (JLjava/util/Iterator<Lorg/apache/catalina/webresources/CachedResource;>;)J
    MethodParameters:
            Name  Flags
      targetSize  
      iter        

  void removeCacheEntry(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // java.lang.String path
         0: .line 239
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            aload 1 /* path */
            invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.apache.catalina.webresources.CachedResource
            astore 2 /* cachedResource */
        start local 2 // org.apache.catalina.webresources.CachedResource cachedResource
         1: .line 240
            aload 2 /* cachedResource */
            ifnull 4
         2: .line 241
            aload 2 /* cachedResource */
            invokevirtual org.apache.catalina.webresources.CachedResource.getSize:()J
            lstore 3 /* delta */
        start local 3 // long delta
         3: .line 242
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            lload 3 /* delta */
            lneg
            invokevirtual java.util.concurrent.atomic.AtomicLong.addAndGet:(J)J
            pop2
        end local 3 // long delta
         4: .line 244
      StackMap locals: org.apache.catalina.webresources.CachedResource
      StackMap stack:
            return
        end local 2 // org.apache.catalina.webresources.CachedResource cachedResource
        end local 1 // java.lang.String path
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    5     0            this  Lorg/apache/catalina/webresources/Cache;
            0    5     1            path  Ljava/lang/String;
            1    5     2  cachedResource  Lorg/apache/catalina/webresources/CachedResource;
            3    4     3           delta  J
    MethodParameters:
      Name  Flags
      path  

  public long getTtl();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 247
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.ttl:J
            lreturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  public void setTtl(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // long ttl
         0: .line 251
            aload 0 /* this */
            lload 1 /* ttl */
            putfield org.apache.catalina.webresources.Cache.ttl:J
         1: .line 252
            return
        end local 1 // long ttl
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/catalina/webresources/Cache;
            0    2     1   ttl  J
    MethodParameters:
      Name  Flags
      ttl   

  public long getMaxSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 256
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            ldc 1024
            ldiv
            lreturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  public void setMaxSize(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // long maxSize
         0: .line 261
            aload 0 /* this */
            lload 1 /* maxSize */
            ldc 1024
            lmul
            putfield org.apache.catalina.webresources.Cache.maxSize:J
         1: .line 262
            return
        end local 1 // long maxSize
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/apache/catalina/webresources/Cache;
            0    2     1  maxSize  J
    MethodParameters:
         Name  Flags
      maxSize  

  public long getLookupCount();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 265
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.lookupCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lreturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  public long getHitCount();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 269
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.hitCount:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lreturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  public void setObjectMaxSize(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.Cache this
        start local 1 // int objectMaxSize
         0: .line 273
            iload 1 /* objectMaxSize */
            i2l
            ldc 1024
            lmul
            ldc 2147483647
            lcmp
            ifle 3
         1: .line 274
            getstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
            getstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "cache.objectMaxSizeTooBigBytes"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* objectMaxSize */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
         2: .line 275
            aload 0 /* this */
            ldc 2147483647
            putfield org.apache.catalina.webresources.Cache.objectMaxSize:I
         3: .line 278
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* objectMaxSize */
            sipush 1024
            imul
            putfield org.apache.catalina.webresources.Cache.objectMaxSize:I
         4: .line 279
            return
        end local 1 // int objectMaxSize
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lorg/apache/catalina/webresources/Cache;
            0    5     1  objectMaxSize  I
    MethodParameters:
               Name  Flags
      objectMaxSize  

  public int getObjectMaxSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 283
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.objectMaxSize:I
            sipush 1024
            idiv
            ireturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  public int getObjectMaxSizeBytes();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 287
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.objectMaxSize:I
            ireturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;

  void enforceObjectMaxSizeLimit();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=8, locals=3, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 291
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.maxSize:J
            ldc 20
            ldiv
            lstore 1 /* limit */
        start local 1 // long limit
         1: .line 292
            lload 1 /* limit */
            ldc 2147483647
            lcmp
            ifle 3
         2: .line 293
            return
         3: .line 295
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.objectMaxSize:I
            i2l
            lload 1 /* limit */
            lcmp
            ifle 8
         4: .line 296
            getstatic org.apache.catalina.webresources.Cache.log:Lorg/apache/juli/logging/Log;
            getstatic org.apache.catalina.webresources.Cache.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "cache.objectMaxSizeTooBig"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 297
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.objectMaxSize:I
            sipush 1024
            idiv
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            lload 1 /* limit */
            l2i
            sipush 1024
            idiv
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         6: .line 296
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
         7: .line 298
            aload 0 /* this */
            lload 1 /* limit */
            l2i
            putfield org.apache.catalina.webresources.Cache.objectMaxSize:I
         8: .line 300
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long limit
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Lorg/apache/catalina/webresources/Cache;
            1    9     1  limit  J

  public void clear();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 303
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.resourceCache:Ljava/util/concurrent/ConcurrentMap;
            invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
         1: .line 304
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
         2: .line 305
            return
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/catalina/webresources/Cache;

  public long getSize();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.Cache this
         0: .line 308
            aload 0 /* this */
            getfield org.apache.catalina.webresources.Cache.size:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            ldc 1024
            ldiv
            lreturn
        end local 0 // org.apache.catalina.webresources.Cache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/Cache;
}
SourceFile: "Cache.java"
NestMembers:
  org.apache.catalina.webresources.Cache$EvictionOrder
InnerClasses:
  private EvictionOrder = org.apache.catalina.webresources.Cache$EvictionOrder of org.apache.catalina.webresources.Cache