dev@grizzly.java.net

DefaultThreadPool.getQueueSize()

From: Minoru Nitta <minoru.nitta_at_jp.fujitsu.com>
Date: Sat, 20 Mar 2010 20:04:02 +0900

Hi,


It seems to me that DefaultThreadPool.getQueueSize() returns incorrect
value. I am using grizzly-1.9.18-i and while running server, which is
using grizzly, I periodically get statistics by calling getQueueSize()
of DefaultThreadPool. It sometimes returns negative value.

I changed the program which gets statistics, from getQueueSize() of
DefaultThreadPool to getQueue().size(), it was OK.


Thanks,

Minoru