Garbage collection
Nick Forde
nickf at system-7.freeserve.co.uk
Fri Sep 16 08:56:16 PDT 2005
Great, thanks.
I thought this was the case but wanted to be sure I hadn't
missed something. Perhaps #garbageCollect should also be renamed
#collectGarbage (vm/ext/prims.slate & vm/gc/mark-compact.slate).
Nick.
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
>
>
More information about the Slate
mailing list