Occurs under JBoss 3.2.0-beta,
Windows2000 or NT4.0,
Sun jdk 1.3.1_01 *and* 1.4.1-beta.

Today I posted in jboss-user about a memory leak problem.
investigating further I am suspecting that some thread handling
in jboss must trigger a known bug of  the sun jdk.

If you create a thread and have no reference to it, it is only
garbage collected after it has stopped, but _not_ if it was never started.
(java bug id is 4519036)

Such threads increment the ThreadGroup.activecount() but don't
show up under ThreadGroup.enumerate() !

Under jboss 3.2 every once in a while my threadcount (activecount)
rises by 40, but the threadcount when checking with enumerate
only rises by 20 (as does the thread count under taskmanager).
After around one minute both counts decrement by 20, so there
remains a cummulative difference.

I have not yet found the offending code (there is a "rest risk" that it is
in one of my own mbeans, or else I would have filed a bug)
but I strongly suspect that it lies somewhere within JBoss.

Regards,
Michael Bartmann



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to