Garbage collection

Brian Rice water at tunes.org
Mon Sep 19 07:50:30 PDT 2005


New VM's and Images are now posted with this feature, and alpha and  
the current tarball are updated as well. Bootstrapping is safe again,  
of course.

On Sep 16, 2005, at 7:35 AM, Brian Rice wrote:

> I've added this to the main repository, but there are bugs there  
> which prevent a full correct bootstrap. I am still looking into it,  
> but you can see that the patch is trivial and can be applied and  
> bootstrapped in easily:
>
> lobby at LobbyObject collectGarbage
> "Invokes the internal garbage-collection routine."
> [
>   CurrentMemory garbageCollect.
>   CurrentMemory memorySize
> ] `pidginPrimitive.
>
> Of course, it returns memorySize which is not very useful, but we  
> don't have a ready way to ascertain the free space left. (Probably  
> the best idea is to build an array of free, total, etc. sizes and  
> return that).
>
> On Sep 16, 2005, at 6:30 AM, Brian Rice wrote:
>
>
>> Not right now. You can add a GC primitive to vm/ext/prims.slate  
>> which calls CurrentMemory garbageCollect in pidgin.
>>
>> On Sep 16, 2005, at 5:28 AM, Nick Forde wrote:
>>
>>
>>> Is there a way to force a GC cycle from Slate?
>>> I'm running some timed performance tests and
>>> want to reduce the impact of GC variations.
>>>
>>> Thanks,
>>>
>>> Nick.
>>>
>
> --
> -Brian
>

--
-Brian




More information about the Slate mailing list