A
Albert
Hi, sudenly, my program doesn't exit any more. Using jstack i got this
stack trace:
"AWT-Shutdown" prio=10 tid=0x08394400 nid=0xd5a in Object.wait()
[0xb4dad000..0xb4daddc0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x60065140> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x60065140> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
I see that the thread lock an object and then wait for it. Is this a
deadlock ?
stack trace:
"AWT-Shutdown" prio=10 tid=0x08394400 nid=0xd5a in Object.wait()
[0xb4dad000..0xb4daddc0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x60065140> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x60065140> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
I see that the thread lock an object and then wait for it. Is this a
deadlock ?