Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240256

Better resource cleaning for SunPKCS11 Provider

    XMLWordPrintable

Details

    Backports

      Description

        Submitter complaining that Sessions seen left on heap after numerous SunPKCS11 providers and initialized and logged out from.

        # jcmd 170515 GC.class_histogram | grep pkcs11.Sess
         558: 35 1680 sun.security.pkcs11.SessionManager
         559: 70 1680 sun.security.pkcs11.SessionManager$Pool
         614: 35 1400 sun.security.pkcs11.Session
         615: 35 1400 sun.security.pkcs11.SessionRef
        # jcmd 170515 GC.class_histogram | grep pkcs11.Sess
         535: 38 1824 sun.security.pkcs11.SessionManager
         536: 76 1824 sun.security.pkcs11.SessionManager$Pool
         585: 38 1520 sun.security.pkcs11.Session
         586: 38 1520 sun.security.pkcs11.SessionRef

        Attachments

          Issue Links

            Activity

              People

                coffeys Sean Coffey
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: