Hi,
Two threads seems to be in WAITING indefinately(VisualVM shows 100% Waiting)..
The following is a block from thread dump
"EventWriter-2" daemon prio=10 tid=0x00007f7764b54800 nid=0x33c5 in Object.wait() [0x00007f7762442000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006895bc720> (a it.gotoandplay.smartfoxserver.lib.ChannelQueue)
at java.lang.Object.wait(Object.java:502)
at it.gotoandplay.smartfoxserver.lib.ChannelQueue.deQ ueue(ChannelQueue.java:51)
- locked <0x00000006895bc720> (a it.gotoandplay.smartfoxserver.lib.ChannelQueue)
at it.gotoandplay.smartfoxserver.EventWriter.run(Even tWriter.java:73)
at java.lang.Thread.run(Thread.java:636)
Locked ownable synchronizers:
- None
"EventWriter-1" daemon prio=10 tid=0x00007f7764324800 nid=0x33c4 in Object.wait() [0x00007f7762543000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000006895bc720> (a it.gotoandplay.smartfoxserver.lib.ChannelQueue)
at java.lang.Object.wait(Object.java:502)
at it.gotoandplay.smartfoxserver.lib.ChannelQueue.deQ ueue(ChannelQueue.java:51)
- locked <0x00000006895bc720> (a it.gotoandplay.smartfoxserver.lib.ChannelQueue)
at it.gotoandplay.smartfoxserver.EventWriter.run(Even tWriter.java:73)
at java.lang.Thread.run(Thread.java:636)
Locked ownable synchronizers:
- None
These are the only 2 threads that are accessing the corresponsing object.
Can 2 threads waiting on same object monitor ?.
Can somebody help with what could be the issue here and what should be done ?
Thanks..