summaryrefslogtreecommitdiffstats
path: root/libc/bionic/jemalloc_wrapper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Slim down static binaries by avoiding stdio.Elliott Hughes2014-07-101-1/+1
| | | | | | | | | | | | | | It's okay for a program to choose to drag in stdio, but it's unfortunate if even the minimal "int main() { return 42; }" drags in stdio... This brings the minimal static binary on ARM down from 78KiB to 46KiB. Given that we don't have a separate -lpthread it's not obvious to me that we can shave this down any further. I'm not sure whether this is a worthwhile change for that reason. (And the fact that dynamic binaries, the usual case, are unaffected either way.) Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88
* Move common macros into bionic_macros.h.Christopher Ferris2014-06-181-6/+10
| | | | | Bug: 15590152 Change-Id: I730636613ef3653f68c5ab1d43b53beaf8e0dc25
* Move jemalloc due to whole_static_library bug.Christopher Ferris2014-06-161-0/+44
Rename jemalloc.cpp to jemalloc_wrapper.cpp to avoid problems with the libc library having two jemalloc.o files that clobber each other. Change-Id: I9a2d966dbf414b1367ee0ef1f0d73fca6f25b518