[Gc] Re: allocation alignment

Ivan Maidanski ivmai at mail.ru
Sat Nov 24 06:14:37 PST 2012


Hi Alexander,

Thu 22 Nov 2012 17:13:51 Alexander Herz <alexander.herz at mytum.de>:
>Hi,
>
>
is there a way to control the alignment of the boehm allocated memory 
>
(for SSE)?
There is GC_memalign (and GC_posix_memalign) replacing GC_malloc in case an alignment should be set. This exists for primarily for malloc routines redirection purpose and is not well tested. Atomic companion (GC_memalign_atomic) is missing (but it could be added on demand). There is no way to setup default alignment at runtime (I can't say right now about configuration options for alignment).

Regards,
Ivan


>
>
Thx,
>
Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20121124/c7fa5d45/attachment.htm


More information about the Gc mailing list