[Gc] Re: allocation alignment
ivmai at mail.ru
Sat Nov 24 06:14:37 PST 2012
Thu 22 Nov 2012 17:13:51 Alexander Herz <alexander.herz at mytum.de>:
is there a way to control the alignment of the boehm allocated memory
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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gc