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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3
    • 22
    • None
    • core-libs

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: