Re: [OpenJDK 2D-Dev] Deadlock in SunGraphicsEnvironment / FontManager?

2009-10-02 Thread Jeremy Manson
Phil, Thanks for responding. I'm sorry about the lack of detail in the stack traces: I wanted to take out the bits that were specific to our application. Given the line numbers, I thought it would be relatively easy to determine what the locks were. The reason I didn't want to fix it is because

Re: [OpenJDK 2D-Dev] Deadlock in SunGraphicsEnvironment / FontManager?

2009-10-01 Thread Phil Race
Jeremy Manson wrote: Does anyone have any thoughts about this? If we were to make up a patch, would you take it? In summary the situation looks like this, (although your dumps aren't showing the locks, which I'd expected to see) : Thread 1 -> SunGraphicsEnvironment.loadFonts()

Re: [OpenJDK 2D-Dev] Deadlock in SunGraphicsEnvironment / FontManager?

2009-10-01 Thread Jeremy Manson
Does anyone have any thoughts about this? If we were to make up a patch, would you take it? I did get an email about how this should all be single threaded on an event dispatcher thread, to which I would reply: 1) If it is all supposed to be single threaded, then there shouldn't be any locks in

[OpenJDK 2D-Dev] Deadlock in SunGraphicsEnvironment / FontManager?

2009-09-23 Thread Jeremy Manson
Hi 2d folks, We have an application running on OpenJDK6 that seems to be deadlocking in SunGraphicsEnvironment. I found it rather difficult to write a cut-down reproduction, but the errant lock acquisition is on line 482 of SunGraphicsEnvironment.java.: http://hg.openjdk.java.net/jdk6/jdk6-gate/