final class sun.security.pkcs11.KeyCache
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.pkcs11.KeyCache
super_class: java.lang.Object
{
private final sun.security.util.Cache strongCache;
descriptor: Lsun/security/util/Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.ref.WeakReference<java.util.Map<java.security.Key, sun.security.pkcs11.P11Key>> cacheReference;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljava/util/Map<Ljava/security/Key;Lsun/security/pkcs11/P11Key;>;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 16
invokestatic sun.security.util.Cache.newHardMemoryCache:(I)Lsun/security/util/Cache;
putfield sun.security.pkcs11.KeyCache.strongCache:Lsun/security/util/Cache;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/KeyCache;
synchronized sun.security.pkcs11.P11Key get(java.security.Key);
descriptor: (Ljava/security/Key;)Lsun/security/pkcs11/P11Key;
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.pkcs11.KeyCache.strongCache:Lsun/security/util/Cache;
new sun.security.pkcs11.KeyCache$IdentityWrapper
dup
aload 1
invokespecial sun.security.pkcs11.KeyCache$IdentityWrapper.<init>:(Ljava/lang/Object;)V
invokevirtual sun.security.util.Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs11.P11Key
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: sun.security.pkcs11.P11Key
StackMap stack:
aload 0
getfield sun.security.pkcs11.KeyCache.cacheReference:Ljava/lang/ref/WeakReference;
ifnonnull 4
aconst_null
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield sun.security.pkcs11.KeyCache.cacheReference:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.Map
5: StackMap locals:
StackMap stack: java.util.Map
astore 3
start local 3 6: aload 3
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.util.Map
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs11.P11Key
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/pkcs11/KeyCache;
0 9 1 key Ljava/security/Key;
1 9 2 p11Key Lsun/security/pkcs11/P11Key;
6 9 3 map Ljava/util/Map<Ljava/security/Key;Lsun/security/pkcs11/P11Key;>;
MethodParameters:
Name Flags
key
synchronized void put(java.security.Key, sun.security.pkcs11.P11Key);
descriptor: (Ljava/security/Key;Lsun/security/pkcs11/P11Key;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.pkcs11.KeyCache.strongCache:Lsun/security/util/Cache;
new sun.security.pkcs11.KeyCache$IdentityWrapper
dup
aload 1
invokespecial sun.security.pkcs11.KeyCache$IdentityWrapper.<init>:(Ljava/lang/Object;)V
aload 2
invokevirtual sun.security.util.Cache.put:(Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 0
getfield sun.security.pkcs11.KeyCache.cacheReference:Ljava/lang/ref/WeakReference;
ifnonnull 2
aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield sun.security.pkcs11.KeyCache.cacheReference:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.util.Map
3: StackMap locals:
StackMap stack: java.util.Map
astore 3
start local 3 4: aload 3
ifnonnull 7
5: new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
astore 3
6: aload 0
new java.lang.ref.WeakReference
dup
aload 3
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.security.pkcs11.KeyCache.cacheReference:Ljava/lang/ref/WeakReference;
7: StackMap locals: java.util.Map
StackMap stack:
aload 3
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/pkcs11/KeyCache;
0 9 1 key Ljava/security/Key;
0 9 2 p11Key Lsun/security/pkcs11/P11Key;
4 9 3 map Ljava/util/Map<Ljava/security/Key;Lsun/security/pkcs11/P11Key;>;
MethodParameters:
Name Flags
key
p11Key
}
SourceFile: "KeyCache.java"
NestMembers:
sun.security.pkcs11.KeyCache$IdentityWrapper
InnerClasses:
private final IdentityWrapper = sun.security.pkcs11.KeyCache$IdentityWrapper of sun.security.pkcs11.KeyCache