[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

Hi,

In message “Re: [RCR] GC.force_recycle(object)”
on Fri, 24 Jul 2009 00:58:41 +0900, Roger P.
[email protected] 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs