summaryrefslogtreecommitdiffstats
path: root/test/integration/sdallocx.c
Commit message (Collapse)AuthorAgeFilesLines
* Only run test/integration/sdallocx non-reentrantly.David Goldblatt2017-07-241-1/+1
| | | | | This is a temporary workaround until we add some beefier CI machines. Right now, we're seeing too many OOMs for this to be useful.
* Replace tabs following #define with spaces.Jason Evans2017-01-211-2/+2
| | | | This resolves #564.
* Remove extraneous parens around return arguments.Jason Evans2017-01-211-2/+2
| | | | This resolves #540.
* Update brace style.Jason Evans2017-01-211-8/+7
| | | | | | | 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.
* Reduce memory usage for sdallocx() test_alignment_and_size.Jason Evans2016-11-121-2/+2
|
* Add support for sized deallocation.Daniel Micay2014-09-091-0/+57
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