public class org.ehcache.core.collections.ConcurrentWeakIdentityHashMap<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.ehcache.core.collections.ConcurrentWeakIdentityHashMap
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentMap<org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference<K>, V> map;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference<TK;>;TV;>;
private final java.lang.ref.ReferenceQueue<K> queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/ReferenceQueue<TK;>;
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.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
2: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
public V putIfAbsent(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 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.newKey:(Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(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/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key final
value final
public boolean remove(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference
dup
aload 1
aconst_null
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
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 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key Ljava/lang/Object;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key final
value final
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 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.newKey:(Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
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/ehcache/core/collections/ConcurrentWeakIdentityHashMap<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 final
oldValue final
newValue final
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 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.newKey:(Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
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/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key final
value final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<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
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference
dup
aload 1
aconst_null
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
invokeinterface java.util.concurrent.ConcurrentMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key final
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 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.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 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value final
public V get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference
dup
aload 1
aconst_null
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
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 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key final
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 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 1
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.newKey:(Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
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/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key TK;
0 2 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key final
value final
public V remove();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference
dup
aload 1
aconst_null
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
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 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 2 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key final
public void putAll(java.util.Map<? extends K, ? extends V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.ehcache.core.collections.ConcurrentWeakIdentityHashMap java.util.Map top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.newKey:(Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 6 1 m Ljava/util/Map<+TK;+TV;>;
3 4 2 entry Ljava/util/Map$Entry<+TK;+TV;>;
Signature: (Ljava/util/Map<+TK;+TV;>;)V
MethodParameters:
Name Flags
m final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
public java.util.Set<K> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$1
dup
aload 0
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$1.<init>:(Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
Signature: ()Ljava/util/Set<TK;>;
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
invokevirtual org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.purgeKeys:()V
1: aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.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 2 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<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.ehcache.core.collections.ConcurrentWeakIdentityHashMap$2
dup
aload 0
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$2.<init>:(Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
private void purgeKeys();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: goto 2
start local 1 1: StackMap locals: java.lang.ref.Reference
StackMap stack:
aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.map:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 2: StackMap locals:
StackMap stack:
aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
dup
astore 1
start local 1 3: ifnonnull 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
1 2 1 reference Ljava/lang/ref/Reference<+TK;>;
3 5 1 reference Ljava/lang/ref/Reference<+TK;>;
private org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference<K> newKey(K);
descriptor: (Ljava/lang/Object;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference
dup
aload 1
aload 0
getfield org.ehcache.core.collections.ConcurrentWeakIdentityHashMap.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference.<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/ehcache/core/collections/ConcurrentWeakIdentityHashMap<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)Lorg/ehcache/core/collections/ConcurrentWeakIdentityHashMap$WeakReference<TK;>;
MethodParameters:
Name Flags
key final
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/concurrent/ConcurrentMap<TK;TV;>;
SourceFile: "ConcurrentWeakIdentityHashMap.java"
NestMembers:
org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$1 org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$1$1 org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$2 org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$2$1 org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakSafeIterator
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$1
org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$2
private WeakReference = org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakReference of org.ehcache.core.collections.ConcurrentWeakIdentityHashMap
private abstract WeakSafeIterator = org.ehcache.core.collections.ConcurrentWeakIdentityHashMap$WeakSafeIterator of org.ehcache.core.collections.ConcurrentWeakIdentityHashMap