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

Consider reducing the time while the AWTLock is held

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
      None

      Description

      There are several deadlock fixes JDK-8129116, JDK-7155963, JDK-7158311. All of them are about to release the awtLock in each particular case to avoid deadlocking. This pattern doesn't look good to me.
      Currently we are dispatching events in XToolkit under the awtLock. We should consider to release the lock upon dispatchEvent() call in XToolkit and acquire it only when necessary.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                azvegint Alexander Zvegintsev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: