summaryrefslogtreecommitdiffstats
path: root/test/stress
Commit message (Collapse)AuthorAgeFilesLines
* Fix MinGW-related portability issues.Jason Evans2015-07-231-2/+2
| | | | | | | | | | | | | Create and use FMT* macros that are equivalent to the PRI* macros that inttypes.h defines. This allows uniform use of the Unix-specific format specifiers, e.g. "%zu", as well as avoiding Windows-specific definitions of e.g. PRIu64. Add ffs()/ffsl() support for compiling with gcc. Extract compatibility definitions of ENOENT, EINVAL, EAGAIN, EPERM, ENOMEM, and ENORANGE into include/msvc_compat/windows_extra.h and use the file for tests as well as for core jemalloc code.
* Thwart compiler optimizations.Jason Evans2014-10-151-0/+12
|
* Avoid purging in microbench when lazy-lock is enabled.Jason Evans2014-10-041-0/+9
|
* Add support for sized deallocation.Daniel Micay2014-09-091-0/+20
| | | | | | | | | | | | | | | | | This adds a new `sdallocx` function to the external API, allowing the size to be passed by the caller. It avoids some extra reads in the thread cache fast path. In the case where stats are enabled, this avoids the work of calculating the size from the pointer. An assertion validates the size that's passed in, so enabling debugging will allow users of the API to debug cases where an incorrect size is passed in. The performance win for a contrived microbenchmark doing an allocation and immediately freeing it is ~10%. It may have a different impact on a real workload. Closes #28
* Add relevant function attributes to [msn]allocx().Jason Evans2014-09-081-17/+9
|
* Thwart optimization of free(malloc(1)) in microbench.Jason Evans2014-09-081-19/+25
|
* avoid conflict with the POSIX timer_t typeDaniel Micay2014-09-081-2/+2
| | | | It hits a compilation error with glibc 2.19 without a rename.
* Add microbench tests.Jason Evans2014-09-081-0/+142