Class Instance allocations

Sean Kelly sean at invisibleduck.org
Thu Jan 14 12:52:41 PST 2010


Pelle MÃ¥nsson Wrote:

> On 01/13/2010 06:18 PM, bearophile wrote:
> > bearophile:
> >> And currently the D GC seems to always return aligned to 16 bytes (even chunks of memory smaller than 16 bytes).<
> >
> > I hope to be wrong :-)
> I think the GC has a 16 byte minimum allocation block, I believe I read 
> it somewhere around here.

It does.  So every block returned from the GC will be 16 byte aligned.



More information about the Digitalmars-d mailing list