Re: [Gc] Alignment/padding of small objects on 64-bit platform (x86-64)

Bruce Hoult <[email protected]> Sun, 12 Oct 2014 10:31:21 +1300
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <CAMU+EkwwKYZxpaFUDiDp2fakOX_BnK5ADss2fo6mYr3OHEHmjA@mail.gmail.com>
The GC needs to store a pointer for a free list, so needs at least 8 bytes
per object. And aligned on most CPUs.

On Sunday, October 12, 2014, Stefan Kral <[email protected]> wrote:

> Hello.
>
> My app operates on a lot of 3-word objects and I wonder if it would be
> reasonable to adapt the granule size accordingly.
>
> The application requires 64-bit pointers and has no double-word alignment
> requirements, so I would be keen on reducing the memory requirement.
>
> I'm grateful for any advise and/or tips!
>
> Best Regards,
> Stefan.
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc