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

Performance problem in DirContext.getAttributes() method.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs
    • None

      A base object search is 2 to 3 times faster than an equivalent getAttributes operation. They should have similar performance.

      The DirContext.getAttributes method performs an LDAP search (base) and then sends an LDAP abandon operation. The abandon operation is superfluous, is
      detrimental to performance and should not be sent.

            vinnie Vincent Ryan
            vinnie Vincent Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: