Bugs item #820401, was opened at 2003-10-09 02:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=820401&group_id=23735
Category: None
Group: None
Status: Open
Resolution: None
Priority: 9
Submitted By: Scott G. Miller (scgmille)
Assigned to: Nobody/Anonymous (nobody)
Summary: ThreadContext blocks garbage collection
Initial Comment:
ThreadContext maintains a strong reference to the
hosting thread, which is the key into the threads map
in Context. This prevents threads and their related
stacks, lexical envs, etc from ever being garbage
collected. Test case:
(define (infinite-leaky-loop)
(force (let loop () (delay (force (loop))))))
(let loop ()
(let ([t (thread/new infinite-leaky-loop)])
(thread/start t)
(sleep 1000)
(thread/interrupt t))
(loop))
Eventually dies with out of memory.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=820401&group_id=23735
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
|