Re: Threads preventing garbage collection?
- From: Brian Candler <b.candler@xxxxxxxxx>
- Date: Wed, 17 Sep 2008 11:21:41 -0500
Ara Howard wrote:
but that it expected? you have a Foo which referes to a Thread which
has not died that is itself referred to by the global Thread.list
cfp:~ > ruby -e' 41.times{ Thread.new{ sleep } }; p Thread.list.size '
42
Foo ------------>
thread
thread list ---->
I don't think this should prevent garbage collection of Foo, if nothing
is holding a reference to Foo
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: Threads preventing garbage collection?
- From: ara.t.howard
- Re: Threads preventing garbage collection?
- References:
- Threads preventing garbage collection?
- From: Brian Candler
- Re: Threads preventing garbage collection?
- From: Robert Klemme
- Re: Threads preventing garbage collection?
- From: Brian Candler
- Re: Threads preventing garbage collection?
- From: Robert Klemme
- Re: Threads preventing garbage collection?
- From: Brian Candler
- Re: Threads preventing garbage collection?
- From: ara.t.howard
- Threads preventing garbage collection?
- Prev by Date: Re: irb shell exit
- Next by Date: Re: Gem program -- cannot install libxslt-ruby-0.3.6.gem
- Previous by thread: Re: Threads preventing garbage collection?
- Next by thread: Re: Threads preventing garbage collection?
- Index(es):
Relevant Pages
|