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

Add system property for fair AWT lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 17, 20, 21
    • client-libs
    • None
    • b18

      There are freezes reported on some Linux configurations which are believed to may be caused by the toolkit thread quickly reacquiring AWT_LOCK while polling for events, which starves EDT thread waiting on that lock.
      I propose to add `awt.lock.fair` system property to help diagnosing such issues.
      Theoretically, this can also be useful on other platforms, e.g. macOS.

            ngubarkov Nikita Gubarkov
            ngubarkov Nikita Gubarkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: