This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: In the search of heap enlightenment...


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> Greg Harvey <Greg.Harvey@thezone.net> writes:
> 
> > It can be fairly expensive when the gc marks are moved off of the
> > objects and into separate heap cells. Currently, it's able to get at
> > those marks by doing a few shifts and &'s with the location of the
> > cell. With variable ncells, tho, it means that setting a gc mark also
> > requires looking up the segment that the object is in, and figuring
> > out the correct shifts and masks to get at the mark locations. 

[...]

> OK, then

But, wait a minute!  Why would you need to treat the 4 word cells
differently?  Why not use the same mark principle?  Every second bit
would be constantly zero, but that's no problem, or?

/mdj