[Fwd: Thread group disposal question]
Xiaobin.Lu at Sun.COM
Fri Aug 22 10:04:05 PDT 2008
Artem Ananiev wrote:
> Hi, Xiaobin,
> thanks to David, the deadlock seems to be caused by improper AWT tree
> lock usage, so the question about Unsafe.park() calls is now: why
> there are so many pool-XX-thread-X threads are alive and parking?
This is a question for the library folks. But is that how thread pool
thing suppose to work? There are a bunch of threads there waiting to be
picked up and used. I don't know the default size of the
ThreadPoolExecutor or its variant, but you can check the application or
the library code to see whether that is correct.
More information about the hotspot-runtime-dev