summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove chunks_dirty tree, nruns_avail and nruns_adjac since we noQinfan Wu2014-08-122-196/+10
| | | | | | | | longer need to maintain the tree for dirty page purging.
| * Purge dirty pages from the beginning of the dirty list.Qinfan Wu2014-08-121-165/+70
| |
| * Add dirty page counting for debugQinfan Wu2014-08-121-4/+29
| |
| * Maintain all the dirty runs in a linked list for each arenaQinfan Wu2014-08-122-0/+53
| |
| * Merge pull request #105 from psi-mankoski/devJason Evans2014-08-121-2/+2
| |\ | | | | | | Set VERSION also when the source directory is a git submodule using a "....
| | * Set VERSION also when the source directory is a git submodule using a ".git" ↵Psi Mankoski2014-08-121-2/+2
| |/ | | | | | | file pointing to the repo. directory.
| * Fix the cactive statistic.Jason Evans2014-08-071-3/+3
| | | | | | | | | | | | | | Fix the cactive statistic to decrease (rather than increase) when active memory decreases. This regression was introduced by aa5113b1fdafd1129c22512837c6c3d66c295fc8 (Refactor overly large/complex functions) and first released in 3.5.0.
| * Add atomic operations tests and fix latent bugs.Jason Evans2014-08-073-13/+128
| |
| * Merge pull request #103 from wqfish/devJason Evans2014-08-071-3/+11
| |\ | | | | | | | | | | | | | | | Fix the bug that causes not allocating free run with lowest address. This fixes a regression due to f9ff60346d7c25ad653ea062e496a5d0864233b2, which was never incorporated into a release.
| | * Reintroduce the comment that was removed in f9ff603.Qinfan Wu2014-08-061-1/+5
| | |
| | * Fix the bug that causes not allocating free run with lowest address.Qinfan Wu2014-08-061-3/+7
| | |
| * | Merge pull request #102 from mneumann/dflyJason Evans2014-08-061-0/+5
| |\ \ | | | | | | | | Support DragonFlyBSD
| | * | Support DragonFlyBSDMichael Neumann2014-08-051-0/+5
| | |/ | | | | | | | | | | | | Note that in contrast to FreeBSD, DragonFly does not work with force_lazy_lock enabled.
| * | Remove ${srcroot} from cfghdrs_in, cfgoutputs_in and cfghdrs_tup in configureMike Hommey2014-08-052-25/+25
| | | | | | | | | | | | | | | | | | On Windows, srcroot may start with "drive:", which confuses autoconf's AC_CONFIG_* macros. The macros works equally well without ${srcroot}, provided some adjustment to Makefile.in.
| * | Merge pull request #96 from manuelafm/devJason Evans2014-08-053-176/+40
| |\ \ | | |/ | |/| Please add support for OpenRISC/or1k architecture
| | * Update config.{guess,sub} to more recent versions, to add better support to ↵Manuel A. Fernandez Montecelo2014-07-292-176/+37
| | | | | | | | | | | | OpenRISC/or1k (among others)
| | * Add OpenRISC/or1k LG_QUANTUM size definitionManuel A. Fernandez Montecelo2014-07-291-0/+3
| |/
| * Merge pull request #88 from sstewartgallus/fix-bashismsJason Evans2014-07-081-3/+3
| |\ | | | | | | Fix unportable == operator in configure scripts
| | * Fix unportable == operator in configure scriptsSteven Stewart-Gallus2014-06-191-3/+3
| |/ | | | | | | | | | | | | | | Now this code is more portable and now people can use faster shells than Bash such as Dash. To use a faster shell with autoconf set the CONFIG_SHELL environment variable to the shell and run the configure script with the shell.
| * Allow to build with clang-clMike Hommey2014-06-121-0/+4
| |
| * Ensure the default purgeable zone is after the default zone on OS XMike Hommey2014-06-101-9/+25
| |
| * Support for iOS compilationValerii Hiora2014-06-042-1/+3
| |
| * Use JEMALLOC_INTERNAL_FFSL in STATIC_PAGE_SHIFT testMike Hommey2014-06-041-40/+39
| |
| * Check for __builtin_ffsl before ffsl.Mike Hommey2014-06-041-13/+14
| | | | | | | | | | | | | | When building with -O0, GCC doesn't use builtins for ffs and ffsl calls, and uses library function calls instead. But the Android NDK doesn't have those functions exported from any library, leading to build failure. However, using __builtin_ffs* uses the builtin inlines.
| * Add check for madvise(2) to configure.ac.Richard Diamond2014-06-033-2/+24
| | | | | | | | | | | | Some platforms, such as Google's Portable Native Client, use Newlib and thus lack access to madvise(2). In those instances, pages_purge() is transformed into a no-op.
| * Fix -Wsometimes-uninitialized warningsChris Peterson2014-06-021-1/+3
| |
| * Fix -Wsign-compare warningsChris Peterson2014-06-022-4/+4
| |
| * Don't catch fork()ing events for Native Client.Richard Diamond2014-06-021-1/+1
| | | | | | | | | | | | | | | | Native Client doesn't allow forking, thus there is no need to catch fork()ing events for Native Client. Additionally, without this commit, jemalloc will introduce an unresolved pthread_atfork() in PNaCl Rust bins.
| * Try to use __builtin_ffsl if ffsl is unavailable.Richard Diamond2014-06-029-17/+71
| | | | | | | | | | | | | | | | | | | | | | Some platforms (like those using Newlib) don't have ffs/ffsl. This commit adds a check to configure.ac for __builtin_ffsl if ffsl isn't found. __builtin_ffsl performs the same function as ffsl, and has the added benefit of being available on any platform utilizing Gcc-compatible compiler. This change does not address the used of ffs in the MALLOCX_ARENA() macro.
| * Fix fallback lg_floor() implementations.Jason Evans2014-06-021-10/+16
| |
| * Make in-tree MSVC builds workMike Hommey2014-06-021-2/+2
| |
| * Add -FS flag to support parallel builds with MSVC 2013Mike Hommey2014-06-021-0/+1
| |
| * Don't use msvc_compat's C99 headers with MSVC versions that have (some) C99 ↵Mike Hommey2014-06-024-0/+4
| | | | | | | | support
| * Fix thd_join on win64Mike Hommey2014-06-021-2/+5
| |
| * Use KQU() rather than QU() where applicable.Jason Evans2014-05-295-1052/+1052
| | | | | | | | Fix KZI() and KQI() to append LL rather than ULL.
| * Add size class computation capability.Jason Evans2014-05-299-91/+462
| | | | | | | | | | | | | | Add size class computation capability, currently used only as validation of the size class lookup tables. Generalize the size class spacing used for bins, for eventual use throughout the full range of allocation sizes.
| * Use nallocx() rather than mallctl() to trigger initialization.Jason Evans2014-05-281-1/+1
| | | | | | | | | | | | Use nallocx() rather than mallctl() to trigger initialization, because nallocx() has no side effects other than initialization, whereas mallctl() does a bunch of internal memory allocation.
| * Make sure initialization occurs prior to running tests.Jason Evans2014-05-281-1/+14
| |
| * STATIC_PAGE_SHIFT for cross-compiling jemallocDaniel Micay2014-05-281-1/+2
| | | | | | | | | | | | Sets `STATIC_PAGE_SHIFT` for cross-compiling jemalloc to 12. A shift of 12 represents a page size of 4k for practically all platforms.
| * Fixup after 3a730df (Avoid pointer arithmetic on void*[...])Mike Hommey2014-05-281-2/+2
| |
| * Correctly return exit code from thd_join on WindowsMike Hommey2014-05-281-1/+2
| |
| * Define INFINITY when it's not definedMike Hommey2014-05-281-0/+6
| |
| * Move platform headers and tricks from jemalloc_internal.h.in to a new ↵Mike Hommey2014-05-284-56/+60
| | | | | | | | jemalloc_internal_decls.h header
| * Use a configure test to detect the form of malloc_usable_size in malloc.hMike Hommey2014-05-271-2/+16
| |
| * Move __func__ to jemalloc_internal_macros.hMike Hommey2014-05-272-1/+4
| | | | | | | | test/integration/aligned_alloc.c needs it.
| * Use ULL prefix instead of LLU for unsigned long longsMike Hommey2014-05-273-1005/+1005
| | | | | | | | MSVC only supports the former.
| * Avoid pointer arithmetic on void* in test/integration/rallocx.cMike Hommey2014-05-271-3/+5
| |
| * Rename "small" local variable, because windows headers #define itMike Hommey2014-05-271-4/+4
| |
| * Use C99 varadic macros instead of GCC onesMike Hommey2014-05-272-196/+196
| |
| * Add missing $(EXE) to filter TESTS_UNIT_AUX_OBJSMike Hommey2014-05-271-1/+1
| |