aboutsummaryrefslogtreecommitdiff
path: root/include/jemalloc/jemalloc.h
AgeCommit message (Collapse)Author
2018-10-22Fix settings for host bionicDan Willemsen
Bug: 31559095 Test: attempt to build host bionic Change-Id: I9e02fcd01f3f5c23fb4a64bd13d6b0a2fb2c1dbb
2018-09-13Build jemalloc for host, too.android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseChristopher Ferris
We build both static and dynamic libjemalloc and libjemalloc_jet for the host. For the target, only the static libraries are built, just as before. Disable sanitizer for the unit/integration tests on the host. Bug: 113365582 Test: 'mmma external/jemalloc', verify that it builds the same target libraries, verify it builds host libraries and they can be used to build ckati. Change-Id: I84212d0c51995aab25f83deb087d1670ddfb00a8
2018-09-13Revert "Build jemalloc for host, too."Christopher Ferris
This reverts commit fa9301657a7f5c1405cf2691d8e15e23eae113aa. Reason for revert: Unknown build failure. Change-Id: I0e29c414274568c70db361675014383f758acbc0
2018-09-12Build jemalloc for host, too.Christopher Ferris
We build both static and dynamic libjemalloc and libjemalloc_jet for the host. For the target, only the static libraries are built, just as before. Test: 'mmma external/jemalloc', verify that it builds the same target libraries, verify it builds host libraries and they can be used to build ckati. Change-Id: I588b84fba7785d31dc5200a805a43b34bb0723d1
2016-12-12Update to jemalloc 4.4.0.Christopher Ferris
Merge remote-tracking branch 'aosp/upstream-new' into upgrade Includes regenerating the necessary files. Bug: 33321361 Test: Built for x86_64/arm64. Built the no tcache and tcache enabled Test: configs (nexus 9/nexus 6p). Compared the before after running Test: all dumps through the memory replay and verified no unexpected Test: increases. Ran bionic unit tests in both configs, 32 bit and 64 bit Test: variants. Ran the jemalloc unit tests in both configs. Change-Id: I2e8f3305cd1717c7efced69718fff90797f21068
2016-11-10Merge remote-tracking branch 'aosp/upstream-new' into fixChristopher Ferris
Included in this change are all of the updated generated files. Bug: 32673024 Test: Built the angler build (normal config) and the volantis build Test: (svelte config). Ran memory_replay 32 bit and 64 bit on both Test: platforms before and after and verified results are similar. Test: Ran bionic unit tests and jemalloc unit tests. Test: Verified that two jemalloc unit test failures are due to Test: Android extension that puts all large chunks on arena 0. Change-Id: I12428bdbe15f51383489c9a1d72d687499fff01b
2016-09-19Fix -Wundef in _MSC_VER check.android-n-mr1-preview-2android-n-mr1-preview-1Josh Gao
Bug: http://b/31496165 Change-Id: Ia7acd464fd8dcc9cb88e61b4f4d369db49f5de76 Test: mma
2016-06-14Updates to generated files for 4.2.1 release.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Christopher Ferris
Bug: 28860984 Change-Id: If12daed270ec0a85cd151aaaa432d178c8389757
2016-03-05Update generated files for 4.1.0 update.Christopher Ferris
Removed the hack to do an always purge. Instead use the new decay purging mechanism, but set the decay timeout to 0 so it always purges without the need to change the code. Added back the a0get function to use for huge chunk allocation patch we use for android. Bug: 27408522 Change-Id: Ic75c4a03b362fd0f9654f0803fb9624ef82d417e
2016-02-03Update generated files for jemalloc.Christopher Ferris
Bug: 24264290 Change-Id: I68f819778a6ef4d2489e56e77b816b89ccf149fc
2015-12-29Fix some warningsColin Cross
Fix unsupported attribute warnings when compiling with clang, and comparing unsigned >= 0 warnings. Change-Id: Icbb7a381b77877ab58df4fb466e227068a68c3ff
2015-09-15Fix build problem.Christopher Ferris
The attribute alloc_size is not available for clang. Since it doesn't seem to buy us anything, don't use it all. Bug: 23633724 Change-Id: Ife1ffc3d52653a208daf8692cefbdf4b1bb42b9e
2015-09-14Regenerate files and re-add android changes.Christopher Ferris
Update to the jemalloc top of tree and regenerate all of the files using configure. Also, re-add all of small the android changes. In addition, add a new define to allow the chunk size to be changed easily. Use this define to set the chunk size to 512K for the 32 bit library, and set the chunk size to 2MB for the 64 bit library. Bug: 23633724 Change-Id: I9daef0428e6c22e56eb7b05089f9a3f6e2f86d82
2015-04-22Revert "Revert "Update for new version.""Christopher Ferris
This reverts commit 53372f270c36cc1770954fa60e274bcd97c81073. Change-Id: I1eb631a2aba35de7cbb5a6a8f6518b62c6bc22b8
2015-04-16Revert "Update for new version."Nicolas Geoffray
Revert to put us back to before https://android-review.googlesource.com/#/c/147045/ This reverts commit 0b9d74bfed176f3c83114086a9dbf207cdeeb1f1. Change-Id: I39940f1c9b351dafaff926cc106bcbd153f8ad30
2015-04-15Update for new version.Christopher Ferris
- Regenerated all of the header files. - Moved the je_mallinfo code into src/jemalloc.c since the variables are static in that file now. - Update the makefiles for new tests and files. Change-Id: I7f7be351f2543ac216754fc284cbccfe20785e62
2014-07-14Make sure je_XX functions are not exposed.Christopher Ferris
Also fix other android specific code to use __ANDROID__. Change-Id: I67055e7fdb6f59dc0677d169c1a262b3344a5ed2
2014-07-01Update header files from new jemalloc changes.Christopher Ferris
Also, fix gitignore, not to ignore generated headers. Change-Id: I6c781ae85112c2098d6808adba55c0c8e05e5ecc
2014-04-25Initial commit.Christopher Ferris
This change allows jemalloc to compile for all known targets. Bug: 981363 Change-Id: I847f653daa8430ae8fba90c8365aa0d11f7a4897