In some cases the usage of TreeLock can be replaced by other synchronization

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8, 9
    • Component/s: client-libs
    • b92
    • generic
    • generic

        AWTTreeLock is a static lock, which should be used for the cases when we iterates over hierarchy of components, or in the code, which cannot use OtherLock, because it cannot control the order of OtherLock vs AWTTreeLock.

        AWTTreeLock should be used carefully, because if it is used incorrectly it can cause a deadlock. especially if used by the multiple threads via awt library.
        https://www.google.com/search?q=AWTTreeLock+deadlock

              Assignee:
              Sergey Bylokhov
              Reporter:
              Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: