Antti-Ville Tuuainen Passes GSoC Final Evaluation

Rory McGuire rjmcguire at gmail.com
Thu Aug 23 06:21:56 PDT 2012


On Thu, Aug 23, 2012 at 2:51 PM, dsimcha <dsimcha at yahoo.com> wrote:

> Basically, the idea is to store information about what is and isn't a
> pointer at the pool level instead of at the block level.  My attempt from a
> long time ago at precise heap scanning, and Antti-Ville's first attempt,
> stored meta-data at the end of every allocated block.  This worked well for
> large arrays, but was terribly inefficient for smaller allocations and made
> the GC code even messier than it already is.  The overhead was a fixed
> (void*).sizeof bits per block.  Now, each pool has a bit array that
> contains one bit for every possible aligned pointer.  The overhead is
> always 1 bit for every (void*).sizeof bytes no matter how large or small
> the block is.
>

Am I correct in thinking that this is still single threaded stop the world?

Any chance of the code being documented extensively in the hopes that it
would encourage participation/experimentation?

Thanks for all the work you guys have put in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20120823/3854bc1c/attachment-0001.html>


More information about the Digitalmars-d-announce mailing list