-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0, 6
-
Component/s: client-libs
-
None
With the upcoming "buffer per window" changes, Swing calls
BufferStrategy.show() on the Toolkit thread. When the OGL pipeline is
also enabled, this is likely to cause a deadlock. Refer to the following
diagram:
XToolkit thread QueueFlusher thread
- run() (event loop)
- acquire AWT lock
- dispatchEvent()
- ...
- BS.show()
- OGLIsoBlit()
- need to flush QFT
.... - OGLRenderQueue.flushNow()
- acquire AWT lock
(but the lock has already
been grabbed by the XToolkit
thread, so deadlock)
This is very similar to the deadlock scenario described in 6249101.
###@###.### 2005-04-10 02:05:46 GMT
Attached thread dump (deadlock2.txt).
###@###.### 2005-04-11 17:44:07 GMT
BufferStrategy.show() on the Toolkit thread. When the OGL pipeline is
also enabled, this is likely to cause a deadlock. Refer to the following
diagram:
XToolkit thread QueueFlusher thread
- run() (event loop)
- acquire AWT lock
- dispatchEvent()
- ...
- BS.show()
- OGLIsoBlit()
- need to flush QFT
.... - OGLRenderQueue.flushNow()
- acquire AWT lock
(but the lock has already
been grabbed by the XToolkit
thread, so deadlock)
This is very similar to the deadlock scenario described in 6249101.
###@###.### 2005-04-10 02:05:46 GMT
Attached thread dump (deadlock2.txt).
###@###.### 2005-04-11 17:44:07 GMT
- duplicates
-
JDK-6280286 OGL+XAWT: Mustang hangs when opening AWT file chooser on Linux when OGL enabled
-
- Closed
-
-
JDK-6249101 OGL: deadlock encountered with Xinerama enabled
-
- Closed
-
- relates to
-
JDK-6307918 RFE: Unsafe.tryMonitorEnter() support in HotSpot
-
- Closed
-