8f61fdedb908c29905103b22dda32ceb29cd8ede |
|
28-Oct-2016 |
Jason Evans <jasone@canonware.com> |
Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *). This avoids warnings in some cases, and is otherwise generally good hygiene.
/external/jemalloc/test/integration/rallocx.c
|
a62e94cabb349982f3270a2057ab49b975e7cbb7 |
|
27-Feb-2016 |
Jason Evans <jasone@canonware.com> |
Remove invalid tests. Remove invalid tests that were intended to be tests of (hugemax+1) OOM, for which tests already exist.
/external/jemalloc/test/integration/rallocx.c
|
e3195fa4a54344cf707d30e510e91ed43f5a8b84 |
|
26-Feb-2016 |
Jason Evans <jasone@canonware.com> |
Cast PTRDIFF_MAX to size_t before adding 1. This fixes compilation warnings regarding integer overflow that were introduced by 0c516a00c4cb28cff55ce0995f756b5aae074c9e (Make *allocx() size class overflow behavior defined.).
/external/jemalloc/test/integration/rallocx.c
|
0c516a00c4cb28cff55ce0995f756b5aae074c9e |
|
26-Feb-2016 |
Jason Evans <je@fb.com> |
Make *allocx() size class overflow behavior defined. Limit supported size and alignment to HUGE_MAXCLASS, which in turn is now limited to be less than PTRDIFF_MAX. This resolves #278 and #295.
/external/jemalloc/test/integration/rallocx.c
|
9e1810ca9dc4a5f5f0841b9a6c1abb4337753552 |
|
24-Feb-2016 |
Jason Evans <je@fb.com> |
Silence miscellaneous 64-to-32-bit data loss warnings.
/external/jemalloc/test/integration/rallocx.c
|
560a4e1e01d3733c2f107cdb3cc3580f3ed84442 |
|
12-Sep-2015 |
Jason Evans <jasone@canonware.com> |
Fix xallocx() bugs. Fix xallocx() bugs related to the 'extra' parameter when specified as non-zero.
/external/jemalloc/test/integration/rallocx.c
|
40cbd30d508b0d4e6462f5c36ffdbf6c1f29da22 |
|
25-Jul-2015 |
Jason Evans <jasone@canonware.com> |
Fix huge_ralloc_no_move() to succeed more often. Fix huge_ralloc_no_move() to succeed if an allocation request results in the same usable size as the existing allocation, even if the request size is smaller than the usable size. This bug did not cause correctness issues, but it could cause unnecessary moves during reallocation.
/external/jemalloc/test/integration/rallocx.c
|
b54aef1d8cc16f7b3f295cf857842aa6d5844d46 |
|
28-May-2014 |
Mike Hommey <mh@glandium.org> |
Fixup after 3a730df (Avoid pointer arithmetic on void*[...])
/external/jemalloc/test/integration/rallocx.c
|
3a730dfd5062ecd6fc46b68f28342e14b461f560 |
|
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
|