aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Add android extensions.Christopher Ferris2018-09-1713-34/+762
| | |\ | | | | | | | | | | | | | | | | | | | | am: 03b5d1c549 Change-Id: Idbc4f9b200bc0dd71259bcfddaaf4c9e16dcdf54
| | | * Add android extensions.master-cuttlefish-testing-releaseChristopher Ferris2018-09-1413-34/+762
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 62621531 Bug: 110158834 Test: Ran unit tests and benchmarks using libc. Change-Id: Ie13ab8510c42f96b58496b0ab7e4f8c3a9cd2c6d
* | | | Add bp file and generated files. am: 7eecc47efa am: 1077cbaffaChristopher Ferris2018-09-0622-21/+18177
|\| | | | | | | | | | | | | | | | | | | | | | | am: e569762813 Change-Id: I6faed6e791ac603d9f1437bf81b4fa5406e7c7d1
| * | | Add bp file and generated files. am: 7eecc47efaChristopher Ferris2018-09-0622-21/+18177
| |\| | | | | | | | | | | | | | | | | | | | | | am: 1077cbaffa Change-Id: Ib668b39d55231ac0bb5279133f772dc6001bbc0f
| | * | Add bp file and generated files.Christopher Ferris2018-09-0622-21/+18177
| |/| | | | |/ | | | | | | | | | | | | am: 7eecc47efa Change-Id: I12fa024d82b08186f604eb15389ab3d2843437bb
| | * Add bp file and generated files.Christopher Ferris2018-09-0622-21/+18177
| |/ | | | | | | | | | | | | | | This does not add any android specific changes. Those will come in a follow-up cl. Test: Builds, and all unit tests pass on a hikey. Change-Id: Ibac11b324afeac93a0c93d19689be48458d56f56
* | Merge tag '5.1.0' into fixChristopher Ferris2018-08-21116-2224/+6649
|\| | | | | | | | | | | am: 4c5028eda4 Change-Id: I84871997c1f970373b0aab4d3a7518cd527c4dbc
| * Merge tag '5.1.0' into fixChristopher Ferris2018-08-16116-2224/+6649
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Release Bug: 62621531 Test: NA Change-Id: Iaad80d4f23702ecadbbdc1c3606f6faf704582ef
| | * Merge branch 'dev'Qi Wang2018-05-08116-2215/+6629
| | |\
| | | * Update ChangeLog for 5.1.0.Qi Wang2018-05-081-0/+117
| | | |
| | | * run_tests.sh: Don't test large vaddr with -m32.David T. Goldblatt2018-05-081-0/+5
| | | |
| | | * Reformat the version number in jemalloc.pc.in.Qi Wang2018-05-071-1/+1
| | | |
| | | * Fix include path order for out-of-tree builds.Christoph Muellner2018-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When configuring out-of-tree (source directory is not build directory), the generated include files from the build directory should have higher priority than those in the source dir. This is especially helpful when cross-compiling. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
| | | * run_tests.sh: Test --with-lg-vaddr.David Goldblatt2018-05-041-0/+8
| | | |
| | | * INSTALL.md: Clarify --with-lg-vaddr.David Goldblatt2018-05-041-5/+4
| | | | | | | | | | | | | | | | | | | | The current wording can be taken to imply that we return tagged pointers to the user, or otherwise rely on architectural support for them.
| | | * configure: Add --with-lg-vaddr configure option.Christoph Muellner2018-05-042-28/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows to override the lg-vaddr values, which are defined by the build machine's CPUID information (x86_64) or default values (other architectures like aarch64). Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
| | | * Update copyright dates.Qi Wang2018-05-031-2/+2
| | | |
| | | * Add TUNING.md.Qi Wang2018-05-031-0/+129
| | | |
| | | * Remove documentation for --disable-thp which was removed.Qi Wang2018-05-031-5/+0
| | | |
| | | * Fix a typo in INSTALL.md.Qi Wang2018-05-021-1/+1
| | | |
| | | * Mallctl: Add arenas.lookupLatchesar Ionkov2018-05-013-1/+59
| | | | | | | | | | | | | | | | | | | | Implement a new mallctl operation that allows looking up the arena a region of memory belongs to.
| | | * aarch64: Add ILP32 support.Christoph Muellner2018-04-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of setting a fix value of 48 allowed VA bits, we distiguish between LP64 and ILP32. Testsuite result with LP64: Test suite summary: pass: 13/13, skip: 0/13, fail: 0/13 Testsuit result with ILP32: Test suite summary: pass: 13/13, skip: 0/13, fail: 0/13 Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
| | | * Adding `install_lib_pc`Issam Maghni2018-04-221-0/+1
| | | | | | | | | | | | Related to https://github.com/jemalloc/jemalloc/issues/974
| | | * Remove an incorrect assertion.Qi Wang2018-04-181-1/+4
| | | | | | | | | | | | | | | | | | | | Background threads are created without holding the global background_thread lock, which mean paused state is possible (and fine).
| | | * Invoke dlsym() on demand.Qi Wang2018-04-181-11/+24
| | | | | | | | | | | | | | | | | | | | If no lazy lock or background thread is enabled, avoid dlsym pthread_create on boot.
| | | * Avoid a resource leak down extent split failure paths.David Goldblatt2018-04-181-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | Previously, we would leak the extent and memory associated with a salvageable portion of an extent that we were trying to split in three, in the case where the first split attempt succeeded and the second failed.
| | | * Add the --disable-initial-exec-tls configure option.David Goldblatt2018-04-172-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | Right now we always make our TLS use the initial-exec model if the compiler supports it. This change allows configure-time disabling of this setting, which can be helpful when dynamically loading jemalloc is the only option.
| | | * Fix abort_conf processing.Qi Wang2018-04-171-6/+4
| | | | | | | | | | | | | | | | | | | | When abort_conf is set, make sure we always error out at the end of the options processing loop.
| | | * Add UNUSED to avoid compiler warnings.Qi Wang2018-04-169-44/+43
| | | |
| | | * Avoid a printf format specifier warning.Jason Evans2018-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | This dodges a warning emitted by the FreeBSD system gcc when compiling libc for architectures which don't use clang as the system compiler.
| | | * Allow setting extent hooks on uninitialized auto arenas.Qi Wang2018-04-112-12/+71
| | | | | | | | | | | | | | | | | | | | Setting extent hooks can result in initializing an unused auto arena. This is useful to install extent hooks on auto arenas from the beginning.
| | | * Document liveness requirements for extent_hooks_t structures.Qi Wang2018-04-111-1/+3
| | | |
| | | * Fix a typo.Qi Wang2018-04-111-1/+1
| | | |
| | | * Fix a typo.Jason Evans2018-04-101-1/+1
| | | |
| | | * Silence a compiler warning.Jason Evans2018-04-101-2/+3
| | | |
| | | * background_thread: add max thread count configDave Watson2018-04-107-22/+177
| | | | | | | | | | | | | | | | | | | | Looking at the thread counts in our services, jemalloc's background thread is useful, but mostly idle. Add a config option to tune down the number of threads.
| | | * Consolidate the two memory loads in rtree_szind_slab_read().Qi Wang2018-04-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | szind and slab bits are read on fast path, where compiler generated two memory loads separately for them before this diff. Manually operate on the bits to avoid the extra memory load.
| | | * Stack address should not be used for ordering mutexesRajeev Misra2018-04-101-1/+1
| | | |
| | | * Fix const qualifier warnings.Qi Wang2018-04-092-2/+2
| | | |
| | | * Fix type warning on Windows.Qi Wang2018-04-095-31/+44
| | | | | | | | | | | | | | | | Add cast since read / write has unsigned return type on windows.
| | | * Fix arguments passed to extent_init.Qi Wang2018-04-091-1/+1
| | | |
| | | * Control idump and gdump with prof_active.Qi Wang2018-04-094-14/+14
| | | |
| | | * extents: Remove preserve_lru feature.Dave Watson2018-04-021-46/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preserve_lru feature adds lots of complication, for little value. Removing it means merged extents are re-added to the lru list, and may take longer to madvise away than they otherwise would. Canaries after removal seem flat for several services (no change).
| | | * Fix a background_thread shutdown issue.Qi Wang2018-04-022-21/+29
| | | | | | | | | | | | | | | | | | | | 1) make sure background thread 0 is always created; and 2) fix synchronization between thread 0 and the control thread.
| | | * Change mutable option output in stats to avoid stringify issues.Qi Wang2018-03-151-36/+37
| | | |
| | | * Fix a typo in stats.Qi Wang2018-03-151-1/+1
| | | |
| | | * Revert "CI: Remove "catgets" dependency on appveyor."Qi Wang2018-03-151-1/+0
| | | | | | | | | | | | | | | | This reverts commit ae0f5d5c3f29beb9977148dedb58575757139586.
| | | * Stats printing: Convert arena large stats to use emitter.David Goldblatt2018-03-091-49/+58
| | | | | | | | | | | | | | | | This completes the conversion; we now have only structured text output.
| | | * Stats printing: convert arena bin stats to use emitter.David Goldblatt2018-03-091-148/+182
| | | |
| | | * Stats printing: remove a spurious newline.David Goldblatt2018-03-091-3/+0
| | | | | | | | | | | | | | | | | | | | This was left over from a previous emitter conversion. It didn't affect the correctness of the output.