-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
1.2.2
-
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.
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.
- relates to
-
JDK-6317330 Use ReentrantLock to serialize access to Xlib, etc for improved performance
-
- Resolved
-