final class sun.security.pkcs11.SessionKeyRef extends java.lang.ref.PhantomReference<sun.security.pkcs11.P11Key>
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.SessionKeyRef
  super_class: java.lang.ref.PhantomReference
{
  private static java.lang.ref.ReferenceQueue<sun.security.pkcs11.P11Key> refQueue;
    descriptor: Ljava/lang/ref/ReferenceQueue;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/lang/ref/ReferenceQueue<Lsun/security/pkcs11/P11Key;>;

  private static java.util.Set<sun.security.pkcs11.SessionKeyRef> refSet;
    descriptor: Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Signature: Ljava/util/Set<Lsun/security/pkcs11/SessionKeyRef;>;

  private long keyID;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private sun.security.pkcs11.Session session;
    descriptor: Lsun/security/pkcs11/Session;
    flags: (0x0002) ACC_PRIVATE

  private boolean wrapperKeyUsed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 1332
            ldc Lsun/security/pkcs11/SessionKeyRef;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic sun.security.pkcs11.SessionKeyRef.$assertionsDisabled:Z
         3: .line 1334
            new java.lang.ref.ReferenceQueue
            dup
            invokespecial java.lang.ref.ReferenceQueue.<init>:()V
         4: .line 1333
            putstatic sun.security.pkcs11.SessionKeyRef.refQueue:Ljava/lang/ref/ReferenceQueue;
         5: .line 1336
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            invokestatic java.util.Collections.synchronizedSet:(Ljava/util/Set;)Ljava/util/Set;
         6: .line 1335
            putstatic sun.security.pkcs11.SessionKeyRef.refSet:Ljava/util/Set;
         7: .line 1336
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static java.lang.ref.ReferenceQueue<sun.security.pkcs11.P11Key> referenceQueue();
    descriptor: ()Ljava/lang/ref/ReferenceQueue;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 1339
            getstatic sun.security.pkcs11.SessionKeyRef.refQueue:Ljava/lang/ref/ReferenceQueue;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Signature: ()Ljava/lang/ref/ReferenceQueue<Lsun/security/pkcs11/P11Key;>;

  private static void drainRefQueueBounded();
    descriptor: ()V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=0
         0: .line 1344
      StackMap locals:
      StackMap stack:
            getstatic sun.security.pkcs11.SessionKeyRef.refQueue:Ljava/lang/ref/ReferenceQueue;
            invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
            checkcast sun.security.pkcs11.SessionKeyRef
            astore 0 /* next */
        start local 0 // sun.security.pkcs11.SessionKeyRef next
         1: .line 1345
            aload 0 /* next */
            ifnonnull 3
         2: .line 1346
            goto 5
         3: .line 1348
      StackMap locals: sun.security.pkcs11.SessionKeyRef
      StackMap stack:
            aload 0 /* next */
            invokevirtual sun.security.pkcs11.SessionKeyRef.dispose:()V
        end local 0 // sun.security.pkcs11.SessionKeyRef next
         4: .line 1343
            goto 0
         5: .line 1350
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    4     0  next  Lsun/security/pkcs11/SessionKeyRef;

  void <init>(sun.security.pkcs11.P11Key, long, boolean, sun.security.pkcs11.Session);
    descriptor: (Lsun/security/pkcs11/P11Key;JZLsun/security/pkcs11/Session;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // sun.security.pkcs11.SessionKeyRef this
        start local 1 // sun.security.pkcs11.P11Key p11Key
        start local 2 // long keyID
        start local 4 // boolean wrapperKeyUsed
        start local 5 // sun.security.pkcs11.Session session
         0: .line 1359
            aload 0 /* this */
            aload 1 /* p11Key */
            getstatic sun.security.pkcs11.SessionKeyRef.refQueue:Ljava/lang/ref/ReferenceQueue;
            invokespecial java.lang.ref.PhantomReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
         1: .line 1360
            aload 5 /* session */
            ifnonnull 3
         2: .line 1361
            new java.security.ProviderException
            dup
            ldc "key must be associated with a session"
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 1363
      StackMap locals: sun.security.pkcs11.SessionKeyRef sun.security.pkcs11.P11Key long int sun.security.pkcs11.Session
      StackMap stack:
            aload 0 /* this */
            lload 2 /* keyID */
            aload 5 /* session */
            invokevirtual sun.security.pkcs11.SessionKeyRef.registerNativeKey:(JLsun/security/pkcs11/Session;)V
         4: .line 1364
            aload 0 /* this */
            iload 4 /* wrapperKeyUsed */
            putfield sun.security.pkcs11.SessionKeyRef.wrapperKeyUsed:Z
         5: .line 1366
            getstatic sun.security.pkcs11.SessionKeyRef.refSet:Ljava/util/Set;
            aload 0 /* this */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         6: .line 1367
            invokestatic sun.security.pkcs11.SessionKeyRef.drainRefQueueBounded:()V
         7: .line 1368
            return
        end local 5 // sun.security.pkcs11.Session session
        end local 4 // boolean wrapperKeyUsed
        end local 2 // long keyID
        end local 1 // sun.security.pkcs11.P11Key p11Key
        end local 0 // sun.security.pkcs11.SessionKeyRef this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    8     0            this  Lsun/security/pkcs11/SessionKeyRef;
            0    8     1          p11Key  Lsun/security/pkcs11/P11Key;
            0    8     2           keyID  J
            0    8     4  wrapperKeyUsed  Z
            0    8     5         session  Lsun/security/pkcs11/Session;
    MethodParameters:
                Name  Flags
      p11Key          
      keyID           
      wrapperKeyUsed  
      session         

  void registerNativeKey(long, sun.security.pkcs11.Session);
    descriptor: (JLsun/security/pkcs11/Session;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // sun.security.pkcs11.SessionKeyRef this
        start local 1 // long newKeyID
        start local 3 // sun.security.pkcs11.Session newSession
         0: .line 1371
            getstatic sun.security.pkcs11.SessionKeyRef.$assertionsDisabled:Z
            ifne 1
            lload 1 /* newKeyID */
            lconst_0
            lcmp
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 1372
      StackMap locals:
      StackMap stack:
            getstatic sun.security.pkcs11.SessionKeyRef.$assertionsDisabled:Z
            ifne 2
            aload 3 /* newSession */
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 1373
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* newKeyID */
            aload 3 /* newSession */
            invokevirtual sun.security.pkcs11.SessionKeyRef.updateNativeKey:(JLsun/security/pkcs11/Session;)V
         3: .line 1374
            return
        end local 3 // sun.security.pkcs11.Session newSession
        end local 1 // long newKeyID
        end local 0 // sun.security.pkcs11.SessionKeyRef this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Lsun/security/pkcs11/SessionKeyRef;
            0    4     1    newKeyID  J
            0    4     3  newSession  Lsun/security/pkcs11/Session;
    MethodParameters:
            Name  Flags
      newKeyID    
      newSession  

  void removeNativeKey();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.security.pkcs11.SessionKeyRef this
         0: .line 1377
            getstatic sun.security.pkcs11.SessionKeyRef.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.session:Lsun/security/pkcs11/Session;
            ifnonnull 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 1378
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lconst_0
            aconst_null
            invokevirtual sun.security.pkcs11.SessionKeyRef.updateNativeKey:(JLsun/security/pkcs11/Session;)V
         2: .line 1379
            return
        end local 0 // sun.security.pkcs11.SessionKeyRef this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/pkcs11/SessionKeyRef;

  private void updateNativeKey(long, sun.security.pkcs11.Session);
    descriptor: (JLsun/security/pkcs11/Session;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=3
        start local 0 // sun.security.pkcs11.SessionKeyRef this
        start local 1 // long newKeyID
        start local 3 // sun.security.pkcs11.Session newSession
         0: .line 1382
            lload 1 /* newKeyID */
            lconst_0
            lcmp
            ifne 16
         1: .line 1383
            getstatic sun.security.pkcs11.SessionKeyRef.$assertionsDisabled:Z
            ifne 2
            aload 3 /* newSession */
            ifnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 1384
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.session:Lsun/security/pkcs11/Session;
            getfield sun.security.pkcs11.Session.token:Lsun/security/pkcs11/Token;
            astore 4 /* token */
        start local 4 // sun.security.pkcs11.Token token
         3: .line 1386
            aload 4 /* token */
            invokevirtual sun.security.pkcs11.Token.isValid:()Z
            ifeq 14
         4: .line 1387
            aconst_null
            astore 5 /* s */
        start local 5 // sun.security.pkcs11.Session s
         5: .line 1389
            aload 4 /* token */
            invokevirtual sun.security.pkcs11.Token.getOpSession:()Lsun/security/pkcs11/Session;
            astore 5 /* s */
         6: .line 1390
            aload 4 /* token */
            getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
            aload 5 /* s */
            invokevirtual sun.security.pkcs11.Session.id:()J
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.keyID:J
            invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_DestroyObject:(JJ)V
         7: .line 1391
            goto 13
      StackMap locals: sun.security.pkcs11.SessionKeyRef long sun.security.pkcs11.Session sun.security.pkcs11.Token sun.security.pkcs11.Session
      StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
         8: pop
         9: .line 1394
            aload 4 /* token */
            aload 5 /* s */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
            goto 14
        10: .line 1393
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6
        11: .line 1394
            aload 4 /* token */
            aload 5 /* s */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        12: .line 1395
            aload 6
            athrow
        13: .line 1394
      StackMap locals:
      StackMap stack:
            aload 4 /* token */
            aload 5 /* s */
            invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
            pop
        end local 5 // sun.security.pkcs11.Session s
        14: .line 1397
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.session:Lsun/security/pkcs11/Session;
            invokevirtual sun.security.pkcs11.Session.removeObject:()V
        end local 4 // sun.security.pkcs11.Token token
        15: .line 1398
            goto 17
        16: .line 1399
      StackMap locals:
      StackMap stack:
            aload 3 /* newSession */
            invokevirtual sun.security.pkcs11.Session.addObject:()V
        17: .line 1401
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* newKeyID */
            putfield sun.security.pkcs11.SessionKeyRef.keyID:J
        18: .line 1402
            aload 0 /* this */
            aload 3 /* newSession */
            putfield sun.security.pkcs11.SessionKeyRef.session:Lsun/security/pkcs11/Session;
        19: .line 1403
            return
        end local 3 // sun.security.pkcs11.Session newSession
        end local 1 // long newKeyID
        end local 0 // sun.security.pkcs11.SessionKeyRef this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   20     0        this  Lsun/security/pkcs11/SessionKeyRef;
            0   20     1    newKeyID  J
            0   20     3  newSession  Lsun/security/pkcs11/Session;
            3   15     4       token  Lsun/security/pkcs11/Token;
            5   14     5           s  Lsun/security/pkcs11/Session;
      Exception table:
        from    to  target  type
           5     7       8  Class sun.security.pkcs11.wrapper.PKCS11Exception
           5     9      10  any
    MethodParameters:
            Name  Flags
      newKeyID    
      newSession  

  void dispose();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // sun.security.pkcs11.SessionKeyRef this
         0: .line 1407
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.wrapperKeyUsed:Z
            ifeq 2
         1: .line 1410
            invokestatic sun.security.pkcs11.NativeKeyHolder.decWrapperKeyRef:()V
         2: .line 1412
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionKeyRef.keyID:J
            lconst_0
            lcmp
            ifeq 4
         3: .line 1413
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.SessionKeyRef.removeNativeKey:()V
         4: .line 1415
      StackMap locals:
      StackMap stack:
            getstatic sun.security.pkcs11.SessionKeyRef.refSet:Ljava/util/Set;
            aload 0 /* this */
            invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
            pop
         5: .line 1416
            aload 0 /* this */
            invokevirtual sun.security.pkcs11.SessionKeyRef.clear:()V
         6: .line 1417
            return
        end local 0 // sun.security.pkcs11.SessionKeyRef this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lsun/security/pkcs11/SessionKeyRef;
}
Signature: Ljava/lang/ref/PhantomReference<Lsun/security/pkcs11/P11Key;>;
SourceFile: "P11Key.java"