public final class jdk.nashorn.internal.WeakValueCache<K, V>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.WeakValueCache
  super_class: java.lang.Object
{
  private final java.util.HashMap<K, jdk.nashorn.internal.WeakValueCache$KeyValueReference<K, V>> map;
    descriptor: Ljava/util/HashMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/HashMap<TK;Ljdk/nashorn/internal/WeakValueCache$KeyValueReference<TK;TV;>;>;

  private final java.lang.ref.ReferenceQueue<V> refQueue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/ref/ReferenceQueue<TV;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.WeakValueCache this
         0: .line 41
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.nashorn.internal.WeakValueCache.map:Ljava/util/HashMap;
         2: .line 44
            aload 0 /* this */
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
            putfield jdk.nashorn.internal.WeakValueCache.refQueue:Ljava/lang/ref/ReferenceQueue;
         3: .line 41
            return
        end local 0 // jdk.nashorn.internal.WeakValueCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/nashorn/internal/WeakValueCache<TK;TV;>;

  public V get();
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.nashorn.internal.WeakValueCache this
        start local 1 // java.lang.Object key
         0: .line 55
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.WeakValueCache.refQueue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            checkcast jdk.nashorn.internal.WeakValueCache$KeyValueReference
            astore 2 /* ref */
        start local 2 // jdk.nashorn.internal.WeakValueCache$KeyValueReference ref
         1: .line 56
            aload 2 /* ref */
            ifnonnull 3
         2: .line 57
            goto 5
         3: .line 59
      StackMap locals: jdk.nashorn.internal.WeakValueCache$KeyValueReference
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.WeakValueCache.map:Ljava/util/HashMap;
            aload 2 /* ref */
            getfield jdk.nashorn.internal.WeakValueCache$KeyValueReference.key:Ljava/lang/Object;
            aload 2 /* ref */
            invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
            pop
        end local 2 // jdk.nashorn.internal.WeakValueCache$KeyValueReference ref
         4: .line 54
            goto 0
         5: .line 62
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.internal.WeakValueCache.map:Ljava/util/HashMap;
            aload 1 /* key */
            invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.nashorn.internal.WeakValueCache$KeyValueReference
            astore 2 /* ref */
        start local 2 // jdk.nashorn.internal.WeakValueCache$KeyValueReference ref
         6: .line 63
            aload 2 /* ref */
            ifnull 8
         7: .line 64
            aload 2 /* ref */
            invokevirtual jdk.nashorn.internal.WeakValueCache$KeyValueReference.get:()Ljava/lang/Object;
            areturn
         8: .line 66
      StackMap locals: jdk.nashorn.internal.WeakValueCache$KeyValueReference
      StackMap stack:
            aconst_null
            areturn
        end local 2 // jdk.nashorn.internal.WeakValueCache$KeyValueReference ref
        end local 1 // java.lang.Object key
        end local 0 // jdk.nashorn.internal.WeakValueCache this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/nashorn/internal/WeakValueCache<TK;TV;>;
            0    9     1   key  TK;
            1    4     2   ref  Ljdk/nashorn/internal/WeakValueCache$KeyValueReference<**>;
            6    9     2   ref  Ljdk/nashorn/internal/WeakValueCache$KeyValueReference<TK;TV;>;
    Signature: (TK;)TV;
    MethodParameters:
      Name  Flags
      key   final

  public V getOrCreate(K, java.util.function.Function<? super K, ? extends V>);
    descriptor: (Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // jdk.nashorn.internal.WeakValueCache this
        start local 1 // java.lang.Object key
        start local 2 // java.util.function.Function creator
         0: .line 78
            aload 0 /* this */
            aload 1 /* key */
            invokevirtual jdk.nashorn.internal.WeakValueCache.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
        start local 3 // java.lang.Object value
         1: .line 80
            aload 3 /* value */
            ifnonnull 4
         2: .line 82
            aload 2 /* creator */
            aload 1 /* key */
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 3 /* value */
         3: .line 83
            aload 0 /* this */
            getfield jdk.nashorn.internal.WeakValueCache.map:Ljava/util/HashMap;
            aload 1 /* key */
            new jdk.nashorn.internal.WeakValueCache$KeyValueReference
            dup
            aload 1 /* key */
            aload 3 /* value */
            invokespecial jdk.nashorn.internal.WeakValueCache$KeyValueReference.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
            invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 86
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 3 /* value */
            areturn
        end local 3 // java.lang.Object value
        end local 2 // java.util.function.Function creator
        end local 1 // java.lang.Object key
        end local 0 // jdk.nashorn.internal.WeakValueCache this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Ljdk/nashorn/internal/WeakValueCache<TK;TV;>;
            0    5     1      key  TK;
            0    5     2  creator  Ljava/util/function/Function<-TK;+TV;>;
            1    5     3    value  TV;
    Signature: (TK;Ljava/util/function/Function<-TK;+TV;>;)TV;
    MethodParameters:
         Name  Flags
      key      final
      creator  final
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "WeakValueCache.java"
NestMembers:
  jdk.nashorn.internal.WeakValueCache$KeyValueReference
InnerClasses:
  private KeyValueReference = jdk.nashorn.internal.WeakValueCache$KeyValueReference of jdk.nashorn.internal.WeakValueCache