This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/17254] [java-gui-branch] Hang when resizing AWT window on Alpha
- From: "graydon at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2004 07:42:06 -0000
- Subject: [Bug AWT/17254] [java-gui-branch] Hang when resizing AWT window on Alpha
- References: <20040831212751.17254.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From graydon at redhat dot com 2004-09-02 07:42 -------
thread #5 is in a condition-wait triggered by its attempt to acquire a mutex
recursively. afaik recursive mutexes are supposed to work in java, but perhaps
there is something funny about the way they work on alpha. the thread clearly
already acquired the mutex (in validateTree(), one of its earlier frames) so
afaik it should not be *waiting* to re-acquire the mutex. it should just be
acquiring it.
of course, I really don't know how any of this is implemented. maybe a quick and
ignorable wait is always part of that call path. it just jumped out at me as
something which might be wrong. does anyone know much about alpha pthreads?
(I'm also somewhat surprised that thread 4, not thread 5, is handling the AWT
event queue, when thread 5 is actually mucking with the AWT graph in a GTK
callback. I would have thought that the thread doing layout is the same one
waiting on the AWT queue, but I don't know the structure of threads in AWT very
well outside of swing)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17254