DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24309>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24309

MultiThreadedHttpConnectionManager daemon Thread never GC'd





------- Additional Comments From [EMAIL PROTECTED]  2003-10-31 23:34 -------
I'm not entirely satisfied with my previous patch, as it _should_ be possible
for the ReferenceQueueThread to detect that it is no longer needed, and exit on
its own.  It strikes me that that approach would actually require two rounds of
gc to actually collect the thread - one to indicate to the ReferenceQueueThread
that the manager had been gc'd, and one to gc the thread itself.  Absent that
kind of logic, I've put an explicit "shutdown" call on the connection manager.

You can see the bug in action if you comment out the line in
TestHttpConnectionManager.testDroppedThread() that reads: "mthcm.shutdown();",
then run the test cases.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to