[RCR] GC.force_recycle(object)

Background: currently you can't force a garbage collection [even if
you're pretty sure an object isn't referenced] except by doing a
GC.start, which itself isn't guaranteed to collect anything, because of
the conservative GC.

Rationale: If you could force collection [obviously it's dangerous, but
in certain controlled situations] you could avoid having to fire the GC
as much, thus saving running time.

Thoughts?
Thanks.
=r

···

--
Posted via http://www.ruby-forum.com/.

Hi,

···

In message "Re: [RCR] GC.force_recycle(object)" on Fri, 24 Jul 2009 00:58:41 +0900, Roger Pack <rogerpack2005@gmail.com> writes:

Rationale: If you could force collection [obviously it's dangerous, but
in certain controlled situations] you could avoid having to fire the GC
as much, thus saving running time.

It is too dangerous, I think. Sometimes a small programming flaw
is considered as a "security risk" these days.

              matz.

It is too dangerous, I think. Sometimes a small programming flaw
is considered as a "security risk" these days.

              matz.

Ok.
=r

···

--
Posted via http://www.ruby-forum.com/\.