libarena provides a custom memory allocator interface specification and
several allocator implementations. It includes a flat arena allocator,
an object pool allocator, and a wrapper around malloc(3) which exports
the allocator interface.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
Un scénario pathologique avec de nombreuses réaffectations augmentation séquentielle a été abordé pour améliorer la facilité d'utilisation pour le incluse basée sur la pile allocateur arène.
Tags:
Minor feature enhancements
A pathological scenario with many increasing
sequential reallocations was addressed to improve
ease-of-use for the included stack-based arena
allocator.
Un bug critique compensée en pool_realloc () a été fixée. Les données antérieures a été copié vers le pointeur de la base, d'où la comptabilité est conservée, et non à l'offset, qui est renvoyé à l'appelant. Cela pourrait entraîner une corruption de mémoire.
Tags:
Major bugfixes
A critical offset bug in pool_realloc() was fixed.
The previous data was copied to the base pointer,
whence the bookkeeping is kept, and not to the
offset, which is returned to the caller. This
could lead to memory corruption.
Pointeurs NULL passé à tous gratuitement et realloc méthodes sont manipulés, obéissant aux règles du libre standard (3) et realloc (3). L'objet ARENA_STDLIB renvoie désormais pure pointeurs système. ARENA_STDLIB_ALIGNED est utilisé pour un malloc (3) surcouche qui se rallient à la limite spécifiée.
Tags:
Minor bugfixes
NULL pointers passed to all free and realloc
methods are handled, obeying the rules of standard
free(3) and realloc(3). The ARENA_STDLIB object
now returns unadulterated system pointers.
ARENA_STDLIB_ALIGNED is used for a malloc(3)
wrapper which will align to the specified
boundary.