From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 2 Feb 2011 14:31:19 -0500 To: 9fans@9fans.net Message-ID: <1b02265d72d36587244181d64c04e8e0@brasstown.quanstro.net> In-Reply-To: <1296674131.17627.59.camel@jcast-desktop> References: <86ipx4s36p.fsf@cmarib.ramside> <86ei7ry76s.fsf@cmarib.ramside> <86zkqf46vz.fsf@cmarib.ramside> <86mxmfuiep.fsf_-_@cmarib.ramside> <1296674131.17627.59.camel@jcast-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely Topicbox-Message-UUID: a8c1bf60-ead6-11e9-9d60-3106f5b1d025 > I don't follow. Garbage collection certainly can be done in a library > (e.g., Boehm). GC is in my experience normally triggered by > > * Allocation --- which is a function call in C > * Explicit call to the `garbage collect now' entry point in the > standard library. A function call in every language. > > What other events canonically would trigger garbage collection, but not > be invoked by function calls? i should have said automatic garbage collection. i think of it this way, the janitor doesn't insist that the factory shut down so he can sweep. he waits for the factory to be idle, and then sweeps. - erik