[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixes to goops + light structs + 'u' slots
From: |
Andy Wingo |
Subject: |
Re: fixes to goops + light structs + 'u' slots |
Date: |
Sat, 19 Apr 2008 18:28:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi Mikael,
On Tue 15 Apr 2008 00:16, "Mikael Djurfeldt" <address@hidden> writes:
> 2008/4/14, Andy Wingo <address@hidden>:
>> Regarding memory consumption. Currently, structs are double-cells: one
>> word for the vtable, one for the data, one empty, and one for the
>> "STRUCT_GC_CHAIN", used (please correct me) during GC to ensure that
>> structs are freed before their vtables.
>
> I wash my hands. :-) When I left, structs where two words.
commit 08c880a36746289330f3722522960ea21fe4ddc8
Author: Mikael Djurfeldt <address@hidden>
Date: Wed Aug 9 18:29:31 2000 +0000
* struct.c (scm_make_struct, scm_make_vtable_vtable): Structs
handles are now double cells; Initialize SCM_STRUCT_GC_CHAIN to
0.
(scm_struct_gc_init, scm_free_structs): New GC C hooks.
(scm_struct_prehistory): Install them.
It is natural for our memory to fade over this much time ;-)
But if at any point something sparks in your brain to figure out a way
around the GC chain, I'd certainly be interested. Otherwise we could put
that empty third word to good use.
Andy
--
http://wingolog.org/
- fixes to goops + light structs + 'u' slots, Andy Wingo, 2008/04/09
- Re: fixes to goops + light structs + 'u' slots, Ludovic Courtès, 2008/04/10
- Re: fixes to goops + light structs + 'u' slots, Andy Wingo, 2008/04/10
- Re: fixes to goops + light structs + 'u' slots, Ludovic Courtès, 2008/04/13
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/13
- Re: fixes to goops + light structs + 'u' slots, Ludovic Courtès, 2008/04/13
- Re: fixes to goops + light structs + 'u' slots, Andy Wingo, 2008/04/14
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/14
- Re: fixes to goops + light structs + 'u' slots,
Andy Wingo <=
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/19
- Re: fixes to goops + light structs + 'u' slots, Andy Wingo, 2008/04/20
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/14
- Re: fixes to goops + light structs + 'u' slots, Andy Wingo, 2008/04/15
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/16
- Re: fixes to goops + light structs + 'u' slots, Mikael Djurfeldt, 2008/04/16