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

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • None
    • 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.

            aefimov Aleksej Efimov
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: