History log of /external/jemalloc/test/integration/rallocx.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
63b08f67da4f4c8cea919bbea3adeebd46000b24 28-May-2014 Mike Hommey <mh@glandium.org> Fixup after 3a730df (Avoid pointer arithmetic on void*[...])
/external/jemalloc/test/integration/rallocx.c
33b16c7fbbcf6e2ccfc4d518f0d63a2ea6ceb5d4 21-May-2014 Mike Hommey <mh@glandium.org> Avoid pointer arithmetic on void* in test/integration/rallocx.c
/external/jemalloc/test/integration/rallocx.c
ada8447cf6fb2c1f976b6311dade2e91026b3d83 30-Mar-2014 Jason Evans <jasone@canonware.com> Reduce maximum tested alignment.

Reduce maximum tested alignment from 2^29 to 2^25. Some systems may not
have enough contiguous virtual memory to satisfy the larger alignment,
but the smaller alignment is still adequate to test multi-chunk
alignment.
/external/jemalloc/test/integration/rallocx.c
e935c07e0066e5c7b8ae51e68ebcc4321eabcb7c 16-Dec-2013 Jason Evans <je@fb.com> Add rallocx() test of both alignment and zeroing.
/external/jemalloc/test/integration/rallocx.c
5a658b9c7517d62fa39759f5ff6119d26dfc4cb7 16-Dec-2013 Jason Evans <je@fb.com> Add zero/align tests for rallocx().
/external/jemalloc/test/integration/rallocx.c
d82a5e6a34f20698ab9368bb2b4953b81d175552 13-Dec-2013 Jason Evans <jasone@canonware.com> Implement the *allocx() API.

Implement the *allocx() API, which is a successor to the *allocm() API.
The *allocx() functions are slightly simpler to use because they have
fewer parameters, they directly return the results of primary interest,
and mallocx()/rallocx() avoid the strict aliasing pitfall that
allocm()/rallocx() share with posix_memalign(). The following code
violates strict aliasing rules:

foo_t *foo;
allocm((void **)&foo, NULL, 42, 0);

whereas the following is safe:

foo_t *foo;
void *p;
allocm(&p, NULL, 42, 0);
foo = (foo_t *)p;

mallocx() does not have this problem:

foo_t *foo = (foo_t *)mallocx(42, 0);
/external/jemalloc/test/integration/rallocx.c