AWT should use a pthread lock to serialize access to X11 and Motif

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 1.2.2
    • Component/s: client-libs
    • None
    • generic
    • linux, solaris_9

      AWT currently uses a Java object monitor to serialize access to X11
      and Motif, but this object monitor quickly gets promoted to a slow
      heavyweight Java monitor due to both contention and the fact that
      it is locked from native methods using JNI. Unfortunately such a
      heavyweight monitor is very slow compared to either a lightweight
      Java monitor and a native pthread mutex. A pthread mutex is the best
      match for the functionality desired.

            Assignee:
            Bino George
            Reporter:
            Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: