summaryrefslogtreecommitdiffstats
path: root/test/unit/pack.c
Commit message (Collapse)AuthorAgeFilesLines
* Skip test/unit/pack when profiling is enabled.Qi Wang2017-12-181-0/+6
| | | | The test assumes no sampled allocations.
* Support --with-lg-page values larger than system page size.Jason Evans2017-04-191-1/+1
| | | | | | | | | All mappings continue to be PAGE-aligned, even if the system page size is smaller. This change is primarily intended to provide a mechanism for supporting multiple page sizes with the same binary; smaller page sizes work better in conjunction with jemalloc's design. This resolves #467.
* Use MALLOC_CONF rather than malloc_conf for tests.Jason Evans2017-02-231-3/+0
| | | | | | | | | malloc_conf does not reliably work with MSVC, which complains of "inconsistent dll linkage", i.e. its inability to support the application overriding malloc_conf when dynamically linking/loading. Work around this limitation by adding test harness support for per test shell script sourcing, and converting all tests to use MALLOC_CONF instead of malloc_conf.
* Replace tabs following #define with spaces.Jason Evans2017-01-211-3/+3
| | | | This resolves #564.
* Remove extraneous parens around return arguments.Jason Evans2017-01-211-6/+6
| | | | This resolves #540.
* Update brace style.Jason Evans2017-01-211-15/+12
| | | | | | | Add braces around single-line blocks, and remove line breaks before function-opening braces. This resolves #537.
* Remove leading blank lines from function bodies.Jason Evans2017-01-131-1/+0
| | | | This resolves #535.
* Rename the arenas.extend mallctl to arenas.create.Jason Evans2017-01-071-4/+4
|
* Uniformly cast mallctl[bymib]() oldp/newp arguments to (void *).Jason Evans2016-11-151-6/+6
| | | | | This avoids warnings in some cases, and is otherwise generally good hygiene.
* Add packing test, which verifies stable layout policy.Jason Evans2016-11-151-0/+167