History log of /external/jemalloc/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
54d4dfa33617e5df0d02b8b6135a64312fba9fe0 03-Mar-2016 Christopher Ferris <cferris@google.com> Update generated files for 4.1.0 update.

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

(cherry picked from commit 473a1853074261bb265060e04deeb8efb0fe6fac)

Change-Id: I2f6ab9be8784b039a08f83a8143785b3d8bcd5cf
/external/jemalloc/Android.mk
368f61eb45edd0ed92db68ff0c8c3c0d998ab010 30-Dec-2015 Colin Cross <ccross@android.com> Add je_iterate, je_malloc_disable, and je_malloc_enable

je_iterate calls a callback for every active jemalloc allocation in a
block of memory. je_malloc_disable prevents allocations to avoid
mutating the jemalloc internal data structures while je_iterate is
running, and je_malloc_enable re-enables allocations.

Bug: 27208635
(cherry picked from commit 6ab5f60a1e0d2b09ec7961b6e2d2c2a39e9c96f2)

Change-Id: Ia5360c940509048532263f3a0dfb296d9e20a8aa
/external/jemalloc/Android.mk
c43b70f22d0653305513e26f5616382a86a43366 07-Jan-2016 Josh Gao <jmgao@google.com> Add svelte configuration for jemalloc.

Disable the tcache in the configuration, and enable it via the Makefile,
so we can turn it on and off using MALLOC_SVELTE in BoardConfig.mk.

Bug: http://b/17207577
Change-Id: I104c64d0cfc1cabf91a0d5efd649f9324465d220
/external/jemalloc/Android.mk
7027478cb8b35dbc6d14e7bb0c7c6fc883aa8fc0 30-Dec-2015 Colin Cross <ccross@android.com> Fix some warnings

Fix unsupported attribute warnings when compiling with clang, and
comparing unsigned >= 0 warnings.

Change-Id: Icbb7a381b77877ab58df4fb466e227068a68c3ff
/external/jemalloc/Android.mk
3dd40011d9e65b78ced20ca0c1b072f7b2b3c74f 18-Dec-2015 Colin Cross <ccross@android.com> Revert "Use -O1 for jemalloc unit tests"

This reverts commit 4978c144e101dc0e6c5a84a79321a123298a2fac.

The clang bug is fixed.

Bug: 23256622
/external/jemalloc/Android.mk
4978c144e101dc0e6c5a84a79321a123298a2fac 26-Sep-2015 Colin Cross <ccross@android.com> Use -O1 for jemalloc unit tests

The current clang prebuilt hangs forever on test/unit/atomic.c when
compiling for aarch64, set the tests to -O1 until a prebuilt with the
fix is available.

Bug: 23256622
Change-Id: I12fe1ad28c278e364b966bf4904e26644e54cb95
/external/jemalloc/Android.mk
6f50cbc975f782b7576ed699a7c2b123655d1b95 09-Sep-2015 Christopher Ferris <cferris@google.com> Regenerate files and re-add android changes.

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
/external/jemalloc/Android.mk
35d78ee733903e8706a4b7c870252f2a501019a5 10-Jul-2015 Christopher Ferris <cferris@google.com> Fix an integer overflow bug.

This is the update to add the new unit test to the Android makefile,
test script, and update jemalloc_internal.h to match the .in version.

Bug: 21633176
Change-Id: I8ca04e7868386ff91686e963d390209fb7de8df0
/external/jemalloc/Android.mk
fc0bd6b6750515ce7cc7fe895764d4b2a1733283 25-Jun-2015 Christopher Ferris <cferris@google.com> Revert "Revert "Add aborts to catch frees of bad pointers.""

This reverts commit 66bb8cc7b688eaab2aa1b2e609cdd97c89cac92e.

Bug: 21873627
Change-Id: I4bb40bc6b67b4358e144b3605de3a9475daace2e
/external/jemalloc/Android.mk
66bb8cc7b688eaab2aa1b2e609cdd97c89cac92e 19-Jun-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Add aborts to catch frees of bad pointers."

bug:21873627

This reverts commit ad86b0533fd6bfc78ffebb8a8be275ed0ac93776.

Change-Id: I68c23b39ec4e0a746d3a92c51c9c7cd470cb4cde
/external/jemalloc/Android.mk
ad86b0533fd6bfc78ffebb8a8be275ed0ac93776 18-Jun-2015 Christopher Ferris <cferris@google.com> Add aborts to catch frees of bad pointers.

In addition, modify the makefiles slightly to use specific names
not generic ones.

Bug: 21873627
(cherry picked from commit 4e5c283ab0d7de8f5c851a04cebbb414a340dc40)

Change-Id: I341747d3868025a16973e59480f1c415bea0fd76
/external/jemalloc/Android.mk
53421a769e6eac142d053f7f90aab9635b4f46c8 12-Jun-2015 Evgenii Stepanov <eugenis@google.com> Don't sanitize jemalloc.

This is part of libc, which ASan runtime library depends on.

Bug: 21785137
Change-Id: I27d6333bc9448d612fb5840cef4f958ebac2134a
/external/jemalloc/Android.mk
ff55436d8e692cfdf141923db002ae8bc8eceebb 19-May-2015 Chih-Hung Hsieh <chh@google.com> Enable clang/llvm for arm64 and mips targets.

Only arm64 and mips targets use c11 atomic functions now,
depending on JEMALLOC_C11ATOMICS in include/jemalloc/internal/atomic.h.

BUG: 21119263
Change-Id: I8f60207e3e677d57a0b9b9d73224fc985057121d
/external/jemalloc/Android.mk
aaf0730e43f282635912674b6325c8c5bc60cef6 14-May-2015 Chih-Hung Hsieh <chh@google.com> Disable clang compilation for mips and arm64 targets.

Temporary workaround before we fix all mips and arm64
clang/llvm compilation errors.

BUG: 21119263
Change-Id: Id50d1d472cef9640b1689fa53bad1cc2f0d99c42
/external/jemalloc/Android.mk
46799943028c7eaf859523c5caf33e7a66a527ea 22-Apr-2015 Christopher Ferris <cferris@google.com> Revert "Revert "Do not build jemalloc with clang.""

This reverts commit a8788f23efc2d09bf7d3147a35de3e93c0e8c03a.

Change-Id: I65815e5a2815ded9fb75259fe554aff8d712a243
/external/jemalloc/Android.mk
96d58c8575eeac2a4a026e4d3629388573335bfa 22-Apr-2015 Christopher Ferris <cferris@google.com> Revert "Revert "Update for new version.""

This reverts commit 53372f270c36cc1770954fa60e274bcd97c81073.

Change-Id: I1eb631a2aba35de7cbb5a6a8f6518b62c6bc22b8
/external/jemalloc/Android.mk
53372f270c36cc1770954fa60e274bcd97c81073 16-Apr-2015 Nicolas Geoffray <ngeoffray@google.com> Revert "Update for new version."

Revert to put us back to before https://android-review.googlesource.com/#/c/147045/

This reverts commit 0b9d74bfed176f3c83114086a9dbf207cdeeb1f1.

Change-Id: I39940f1c9b351dafaff926cc106bcbd153f8ad30
/external/jemalloc/Android.mk
0b9d74bfed176f3c83114086a9dbf207cdeeb1f1 16-Apr-2015 Christopher Ferris <cferris@google.com> Update for new version.

- 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
/external/jemalloc/Android.mk
9528f3c08a68a8e591f02fd8cac9e7245ed086d2 05-Dec-2014 Christopher Ferris <cferris@google.com> Add new unit test and rewrite run script.

Change-Id: I22a36d3369a39f7c0228d8a836ffd0b7c23071a5
/external/jemalloc/Android.mk
d481006e6fe6ba1316f72d71f51580507d44ef4f 14-Nov-2014 Christopher Ferris <cferris@google.com> Tune the jemalloc to reign in PSS.

The tcache in jemalloc can take up quite a bit of extra PSS. Disabling
the tcache can save a lot of PSS, but it radically reduces performance.

Tune the number of small and large values to store in the tcache.
Immediately force any dirty pages to be purged, rather than keep some
number of dirty pages around.

Restore the chunk size back to 4MB. Using this chunk size and the force
dirty page results in a higher cf-bench native mallocs score but about
the same amount of PSS use.

Limit the number of arenas to 2. The default is 2 * number of cpus, but
that increases the amount of PSS used. My benchmarking indicates that
more than 2 really doesn't help too much even on a device with 4 cpus.
Nearly all speed-ups come from the tcache.

Bug: 17498287

(cherry picked from commit fb795867f0b3aa28bbdf177e1026f3e3408e0338)

Change-Id: I9343445108c19aa1ea6d24f84694bdd0c6da9279
/external/jemalloc/Android.mk
c2ad06ca8f49492aace30b574eadd5d3bc29ffb1 09-Jul-2014 Christopher Ferris <cferris@google.com> Add jemalloc tests.

Change-Id: Ie9fd75467f7e139cdb610e2434e3e649a10a7017
/external/jemalloc/Android.mk
9ebe2acb722ad8e29179cfbff35547f607e0f532 01-Jul-2014 Christopher Ferris <cferris@google.com> Update header files from new jemalloc changes.

Also, fix gitignore, not to ignore generated headers.

Change-Id: I6c781ae85112c2098d6808adba55c0c8e05e5ecc
/external/jemalloc/Android.mk
18ff84135248f3566b938c836a02fa6138a281f6 14-May-2014 Christopher Ferris <cferris@google.com> Create a simple je_mallinfo function.

Move the scripts into a separate directory under android too.

Bug: 981363
Change-Id: Ifddc5cedea25a1bc8e31e870313a944a3293c737
/external/jemalloc/Android.mk
5daf4e4a8d52ac2d5b40b0d12ce5721c6b9676e7 23-Apr-2014 Christopher Ferris <cferris@google.com> Initial commit.

This change allows jemalloc to compile for all known targets.

Bug: 981363
Change-Id: I847f653daa8430ae8fba90c8365aa0d11f7a4897
/external/jemalloc/Android.mk