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

Consider reducing the time while the AWTLock is held

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • client-libs
    • None

      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.

            Unassigned Unassigned
            azvegint Alexander Zvegintsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: