public class org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap<K, V> extends java.util.AbstractMap<K, V> implements java.util.concurrent.ConcurrentMap<K, V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap
super_class: java.util.AbstractMap
{
private final java.util.concurrent.ConcurrentMap<org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key, V> map;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;TV;>;
private final java.lang.ref.ReferenceQueue<java.lang.Object> queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/ReferenceQueue<Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractMap.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.queue:Ljava/lang/ref/ReferenceQueue;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
public void maintain();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 5
start local 1 1: StackMap locals: org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key.isDead:()Z
ifeq 3
2: goto 5
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key.ackDeath:()V
4: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key
dup
astore 1
start local 1 6: ifnonnull 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
1 5 1 key Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
6 8 1 key Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
private org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key createStoreKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key
dup
aload 1
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
private org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key createLookupKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key
dup
aload 1
aconst_null
invokespecial org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.containsValue:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 3 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
invokeinterface java.util.concurrent.ConcurrentMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 3 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public V get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 3 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public V put(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createStoreKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
public V remove();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 1 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
1: aload 0
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.maintain:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
public V putIfAbsent(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createStoreKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
astore 3
start local 3 2: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 3
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 3
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key.ackDeath:()V
5: StackMap locals: org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 6 1 key TK;
0 6 2 value TV;
2 6 3 storeKey Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
3 6 4 oldValue TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
public boolean remove(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 3 1 key Ljava/lang/Object;
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public boolean replace(K, V, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
aload 2
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.replace:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 oldValue TV;
0 2 3 newValue TV;
Signature: (TK;TV;TV;)Z
MethodParameters:
Name Flags
key
oldValue
newValue
public V replace(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.createLookupKey:(Ljava/lang/Object;)Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap$Key;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.replace:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
public java.util.Collection<V> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
Signature: ()Ljava/util/Collection<TV;>;
public java.util.Set<java.util.Map$Entry<K, V>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1
dup
aload 0
invokespecial org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1.<init>:(Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/collections/ManagedConcurrentWeakHashMap<TK;TV;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/AbstractMap<TK;TV;>;Ljava/util/concurrent/ConcurrentMap<TK;TV;>;
SourceFile: "ManagedConcurrentWeakHashMap.java"
NestMembers:
org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1 org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1$1 org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1$1$1 org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$1
private Key = org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap$Key of org.apache.tomcat.util.collections.ManagedConcurrentWeakHashMap