final class sun.security.pkcs11.SessionManager$Pool
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: sun.security.pkcs11.SessionManager$Pool
  super_class: java.lang.Object
{
  private final sun.security.pkcs11.SessionManager mgr;
    descriptor: Lsun/security/pkcs11/SessionManager;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<sun.security.pkcs11.Session> pool;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lsun/security/pkcs11/Session;>;

  void <init>(sun.security.pkcs11.SessionManager);
    descriptor: (Lsun/security/pkcs11/SessionManager;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.security.pkcs11.SessionManager$Pool this
        start local 1 // sun.security.pkcs11.SessionManager mgr
         0: .line 232
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 233
            aload 0 /* this */
            aload 1 /* mgr */
            putfield sun.security.pkcs11.SessionManager$Pool.mgr:Lsun/security/pkcs11/SessionManager;
         2: .line 234
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
         3: .line 235
            return
        end local 1 // sun.security.pkcs11.SessionManager mgr
        end local 0 // sun.security.pkcs11.SessionManager$Pool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lsun/security/pkcs11/SessionManager$Pool;
            0    4     1   mgr  Lsun/security/pkcs11/SessionManager;
    MethodParameters:
      Name  Flags
      mgr   

  boolean remove(sun.security.pkcs11.Session);
    descriptor: (Lsun/security/pkcs11/Session;)Z
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.security.pkcs11.SessionManager$Pool this
        start local 1 // sun.security.pkcs11.Session session
         0: .line 238
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            aload 1 /* session */
            invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // sun.security.pkcs11.Session session
        end local 0 // sun.security.pkcs11.SessionManager$Pool this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lsun/security/pkcs11/SessionManager$Pool;
            0    1     1  session  Lsun/security/pkcs11/Session;
    MethodParameters:
         Name  Flags
      session  

  sun.security.pkcs11.Session poll();
    descriptor: ()Lsun/security/pkcs11/Session;
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // sun.security.pkcs11.SessionManager$Pool this
         0: .line 242
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            istore 1 /* n */
        start local 1 // int n
         1: .line 243
            iload 1 /* n */
            ifne 3
         2: .line 244
            aconst_null
            areturn
         3: .line 246
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            iload 1 /* n */
            iconst_1
            isub
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            checkcast sun.security.pkcs11.Session
            astore 2 /* session */
        start local 2 // sun.security.pkcs11.Session session
         4: .line 247
            aload 2 /* session */
            areturn
        end local 2 // sun.security.pkcs11.Session session
        end local 1 // int n
        end local 0 // sun.security.pkcs11.SessionManager$Pool this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lsun/security/pkcs11/SessionManager$Pool;
            1    5     1        n  I
            4    5     2  session  Lsun/security/pkcs11/Session;

  void release(sun.security.pkcs11.Session);
    descriptor: (Lsun/security/pkcs11/Session;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // sun.security.pkcs11.SessionManager$Pool this
        start local 1 // sun.security.pkcs11.Session session
         0: .line 251
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            aload 1 /* session */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 253
            aload 1 /* session */
            invokevirtual sun.security.pkcs11.Session.hasObjects:()Z
            ifeq 3
         2: .line 254
            return
         3: .line 256
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            istore 2 /* n */
        start local 2 // int n
         4: .line 257
            iload 2 /* n */
            iconst_5
            if_icmpge 6
         5: .line 258
            return
         6: .line 260
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast sun.security.pkcs11.Session
            astore 3 /* oldestSession */
        start local 3 // sun.security.pkcs11.Session oldestSession
         7: .line 261
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 4 /* time */
        start local 4 // long time
         8: .line 262
            aload 1 /* session */
            lload 4 /* time */
            invokevirtual sun.security.pkcs11.Session.isLive:(J)Z
            ifeq 10
            aload 3 /* oldestSession */
            lload 4 /* time */
            invokevirtual sun.security.pkcs11.Session.isLive:(J)Z
            ifeq 10
         9: .line 263
            return
        10: .line 265
      StackMap locals: sun.security.pkcs11.Session long
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            invokestatic java.util.Collections.sort:(Ljava/util/List;)V
        11: .line 266
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        12: .line 267
            goto 18
        13: .line 268
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            iload 6 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast sun.security.pkcs11.Session
            astore 3 /* oldestSession */
        14: .line 269
            aload 3 /* oldestSession */
            lload 4 /* time */
            invokevirtual sun.security.pkcs11.Session.isLive:(J)Z
            ifeq 16
        15: .line 270
            goto 19
        16: .line 272
      StackMap locals:
      StackMap stack:
            iinc 6 /* i */ 1
        17: .line 273
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.mgr:Lsun/security/pkcs11/SessionManager;
            aload 3 /* oldestSession */
            invokevirtual sun.security.pkcs11.SessionManager.closeSession:(Lsun/security/pkcs11/Session;)V
        18: .line 267
      StackMap locals:
      StackMap stack:
            iload 6 /* i */
            iload 2 /* n */
            iconst_1
            isub
            if_icmplt 13
        19: .line 275
      StackMap locals:
      StackMap stack:
            getstatic sun.security.pkcs11.SessionManager.debug:Lsun/security/util/Debug;
            ifnull 23
        20: .line 276
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Closing "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* i */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " idle sessions, active: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        21: .line 277
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.mgr:Lsun/security/pkcs11/SessionManager;
            getfield sun.security.pkcs11.SessionManager.activeSessions:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        22: .line 276
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        23: .line 279
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.pkcs11.SessionManager$Pool.pool:Ljava/util/List;
            iconst_0
            iload 6 /* i */
            invokeinterface java.util.List.subList:(II)Ljava/util/List;
            astore 7 /* subList */
        start local 7 // java.util.List subList
        24: .line 280
            aload 7 /* subList */
            invokeinterface java.util.List.clear:()V
        25: .line 281
            return
        end local 7 // java.util.List subList
        end local 6 // int i
        end local 4 // long time
        end local 3 // sun.security.pkcs11.Session oldestSession
        end local 2 // int n
        end local 1 // sun.security.pkcs11.Session session
        end local 0 // sun.security.pkcs11.SessionManager$Pool this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   26     0           this  Lsun/security/pkcs11/SessionManager$Pool;
            0   26     1        session  Lsun/security/pkcs11/Session;
            4   26     2              n  I
            7   26     3  oldestSession  Lsun/security/pkcs11/Session;
            8   26     4           time  J
           12   26     6              i  I
           24   26     7        subList  Ljava/util/List<Lsun/security/pkcs11/Session;>;
    MethodParameters:
         Name  Flags
      session  
}
SourceFile: "SessionManager.java"
NestHost: sun.security.pkcs11.SessionManager
InnerClasses:
  private final Pool = sun.security.pkcs11.SessionManager$Pool of sun.security.pkcs11.SessionManager