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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.2.2
    • 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.

            bino Bino George
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: