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

JGSS: Don't dispose() of creds too eagerly

    XMLWordPrintable

Details

    • b19
    • Not verified

    Description

      We must not dispose() of any credential handle passed to the
      NativeGSSContext() constructor. But we must dispose() of credentials
      that are acquired in NativeGSSContext.

      This is very important because the JVM does not know about the size of
      the JNI credential objects, so it doesn't readily recognize memory
      pressure from them, leading to memory pressure issues in SASL and GSS
      server applications.

      Attachments

        Activity

          People

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: