Replace use of monitors with explicit locks in the JDK LDAP provider implementation

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: None
    • Component/s: core-libs

      JDK-8277795 is changing some of the internal locking of the JNDI provider to use Lock/Condition instead of synchronized/wait.
      This should have the side effect of improving the behaviour of the JNDI/LDAP stack when running in a virtual thread.
      It would be good to verify whether this is sufficient to prevent pinning the carrier thread, or whether there remain synchronized blocks/methods that should be updated to use j.u.c.l.Lock.

            Assignee:
            Aleksej Efimov
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: