public class freemarker.cache.SoftCacheStorage implements freemarker.cache.ConcurrentCacheStorage, freemarker.cache.CacheStorageWithGetSize
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: freemarker.cache.SoftCacheStorage
  super_class: java.lang.Object
{
  private static final java.lang.reflect.Method atomicRemove;
    descriptor: Ljava/lang/reflect/Method;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.lang.ref.ReferenceQueue queue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map map;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean concurrent;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 42
            invokestatic freemarker.cache.SoftCacheStorage.getAtomicRemoveMethod:()Ljava/lang/reflect/Method;
            putstatic freemarker.cache.SoftCacheStorage.atomicRemove:Ljava/lang/reflect/Method;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // freemarker.cache.SoftCacheStorage this
         0: .line 52
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            invokespecial freemarker.cache.SoftCacheStorage.<init>:(Ljava/util/Map;)V
         1: .line 53
            return
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lfreemarker/cache/SoftCacheStorage;

  public boolean isConcurrent();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // freemarker.cache.SoftCacheStorage this
         0: .line 59
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.concurrent:Z
            ireturn
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lfreemarker/cache/SoftCacheStorage;

  public void <init>(java.util.Map);
    descriptor: (Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // freemarker.cache.SoftCacheStorage this
        start local 1 // java.util.Map backingMap
         0: .line 62
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 44
            aload 0 /* this */
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            putfield freemarker.cache.SoftCacheStorage.queue:Ljava/lang/ref/ReferenceQueue;
         2: .line 63
            aload 0 /* this */
            aload 1 /* backingMap */
            putfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
         3: .line 64
            aload 0 /* this */
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            instanceof java.util.concurrent.ConcurrentMap
            putfield freemarker.cache.SoftCacheStorage.concurrent:Z
         4: .line 65
            return
        end local 1 // java.util.Map backingMap
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lfreemarker/cache/SoftCacheStorage;
            0    5     1  backingMap  Ljava/util/Map;
    MethodParameters:
            Name  Flags
      backingMap  

  public java.lang.Object get(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // freemarker.cache.SoftCacheStorage this
        start local 1 // java.lang.Object key
         0: .line 68
            aload 0 /* this */
            invokevirtual freemarker.cache.SoftCacheStorage.processQueue:()V
         1: .line 69
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.ref.Reference
            astore 2 /* ref */
        start local 2 // java.lang.ref.Reference ref
         2: .line 70
            aload 2 /* ref */
            ifnonnull 3
            aconst_null
            goto 4
      StackMap locals: java.lang.ref.Reference
      StackMap stack:
         3: aload 2 /* ref */
            invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
      StackMap locals:
      StackMap stack: java.lang.Object
         4: areturn
        end local 2 // java.lang.ref.Reference ref
        end local 1 // java.lang.Object key
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lfreemarker/cache/SoftCacheStorage;
            0    5     1   key  Ljava/lang/Object;
            2    5     2   ref  Ljava/lang/ref/Reference;
    MethodParameters:
      Name  Flags
      key   

  public void put(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // freemarker.cache.SoftCacheStorage this
        start local 1 // java.lang.Object key
        start local 2 // java.lang.Object value
         0: .line 74
            aload 0 /* this */
            invokevirtual freemarker.cache.SoftCacheStorage.processQueue:()V
         1: .line 75
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            aload 1 /* key */
            new freemarker.cache.SoftCacheStorage$SoftValueReference
            dup
            aload 1 /* key */
            aload 2 /* value */
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.queue:Ljava/lang/ref/ReferenceQueue;
            invokespecial freemarker.cache.SoftCacheStorage$SoftValueReference.<init>:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 76
            return
        end local 2 // java.lang.Object value
        end local 1 // java.lang.Object key
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lfreemarker/cache/SoftCacheStorage;
            0    3     1    key  Ljava/lang/Object;
            0    3     2  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      key    
      value  

  public void remove(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // freemarker.cache.SoftCacheStorage this
        start local 1 // java.lang.Object key
         0: .line 79
            aload 0 /* this */
            invokevirtual freemarker.cache.SoftCacheStorage.processQueue:()V
         1: .line 80
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            aload 1 /* key */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 81
            return
        end local 1 // java.lang.Object key
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lfreemarker/cache/SoftCacheStorage;
            0    3     1   key  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      key   

  public void clear();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // freemarker.cache.SoftCacheStorage this
         0: .line 84
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            invokeinterface java.util.Map.clear:()V
         1: .line 85
            aload 0 /* this */
            invokevirtual freemarker.cache.SoftCacheStorage.processQueue:()V
         2: .line 86
            return
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lfreemarker/cache/SoftCacheStorage;

  public int getSize();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // freemarker.cache.SoftCacheStorage this
         0: .line 94
            aload 0 /* this */
            invokevirtual freemarker.cache.SoftCacheStorage.processQueue:()V
         1: .line 95
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            invokeinterface java.util.Map.size:()I
            ireturn
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lfreemarker/cache/SoftCacheStorage;

  private void processQueue();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // freemarker.cache.SoftCacheStorage this
         0: .line 100
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.queue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            checkcast freemarker.cache.SoftCacheStorage$SoftValueReference
            astore 1 /* ref */
        start local 1 // freemarker.cache.SoftCacheStorage$SoftValueReference ref
         1: .line 101
            aload 1 /* ref */
            ifnonnull 3
         2: .line 102
            return
         3: .line 104
      StackMap locals: freemarker.cache.SoftCacheStorage$SoftValueReference
      StackMap stack:
            aload 1 /* ref */
            invokevirtual freemarker.cache.SoftCacheStorage$SoftValueReference.getKey:()Ljava/lang/Object;
            astore 2 /* key */
        start local 2 // java.lang.Object key
         4: .line 105
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.concurrent:Z
            ifeq 11
         5: .line 107
            getstatic freemarker.cache.SoftCacheStorage.atomicRemove:Ljava/lang/reflect/Method;
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* key */
            aastore
            dup
            iconst_1
            aload 1 /* ref */
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 108
            goto 0
      StackMap locals: freemarker.cache.SoftCacheStorage freemarker.cache.SoftCacheStorage$SoftValueReference java.lang.Object
      StackMap stack: java.lang.IllegalAccessException
         7: astore 3 /* e */
        start local 3 // java.lang.IllegalAccessException e
         8: .line 109
            new freemarker.template.utility.UndeclaredThrowableException
            dup
            aload 3 /* e */
            invokespecial freemarker.template.utility.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.IllegalAccessException e
         9: .line 110
      StackMap locals:
      StackMap stack: java.lang.reflect.InvocationTargetException
            astore 3 /* e */
        start local 3 // java.lang.reflect.InvocationTargetException e
        10: .line 111
            new freemarker.template.utility.UndeclaredThrowableException
            dup
            aload 3 /* e */
            invokespecial freemarker.template.utility.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.reflect.InvocationTargetException e
        11: .line 113
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            aload 2 /* key */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            aload 1 /* ref */
            if_acmpne 0
        12: .line 114
            aload 0 /* this */
            getfield freemarker.cache.SoftCacheStorage.map:Ljava/util/Map;
            aload 2 /* key */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 2 // java.lang.Object key
        end local 1 // freemarker.cache.SoftCacheStorage$SoftValueReference ref
        13: .line 99
            goto 0
        end local 0 // freemarker.cache.SoftCacheStorage this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Lfreemarker/cache/SoftCacheStorage;
            1   13     1   ref  Lfreemarker/cache/SoftCacheStorage$SoftValueReference;
            4   13     2   key  Ljava/lang/Object;
            8    9     3     e  Ljava/lang/IllegalAccessException;
           10   11     3     e  Ljava/lang/reflect/InvocationTargetException;
      Exception table:
        from    to  target  type
           5     6       7  Class java.lang.IllegalAccessException
           5     6       9  Class java.lang.reflect.InvocationTargetException

  private static java.lang.reflect.Method getAtomicRemoveMethod();
    descriptor: ()Ljava/lang/reflect/Method;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=1, args_size=0
         0: .line 134
            ldc "java.util.concurrent.ConcurrentMap"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            ldc "remove"
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/Object;
            aastore
            dup
            iconst_1
            ldc Ljava/lang/Object;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
         1: areturn
         2: .line 135
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            pop
         3: .line 136
            aconst_null
            areturn
         4: .line 137
      StackMap locals:
      StackMap stack: java.lang.NoSuchMethodException
            astore 0 /* e */
        start local 0 // java.lang.NoSuchMethodException e
         5: .line 138
            new freemarker.template.utility.UndeclaredThrowableException
            dup
            aload 0 /* e */
            invokespecial freemarker.template.utility.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // java.lang.NoSuchMethodException e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            5    6     0     e  Ljava/lang/NoSuchMethodException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.ClassNotFoundException
           0     1       4  Class java.lang.NoSuchMethodException
}
SourceFile: "SoftCacheStorage.java"
NestMembers:
  freemarker.cache.SoftCacheStorage$SoftValueReference
InnerClasses:
  private final SoftValueReference = freemarker.cache.SoftCacheStorage$SoftValueReference of freemarker.cache.SoftCacheStorage