Commit Graph

  • ed90c97332 document what stats.active does not track Jan Beich 2012-10-18 00:06:32 +04:00
  • 847ff223de Don't register jemalloc's zone allocator if something else already replaced the system default zone Mike Hommey 2012-10-23 08:42:48 +02:00
  • e3d13060c8 Purge unused dirty pages in a fragmentation-reducing order. Jason Evans 2012-10-30 15:42:37 -07:00
  • 34457f5144 Fix deadlock in the arenas.purge mallctl. Jason Evans 2012-11-03 21:18:28 -07:00
  • 12efefb195 Fix dss/mmap allocation precedence code. Jason Evans 2012-10-16 22:06:56 -07:00
  • 3b1f3aca54 Merge branch 'dev' 3.1.0 Jason Evans 2012-10-16 10:40:57 -07:00
  • 2b592b0f0b Update ChangeLog for 3.1.0. Jason Evans 2012-10-16 10:12:40 -07:00
  • a5c80f893e Add ctl_mutex proection to arena_i_dss_ctl(). Jason Evans 2012-10-15 12:48:59 -07:00
  • 609ae595f0 Add arena-specific and selective dss allocation. Jason Evans 2012-10-11 13:53:15 -07:00
  • d0ffd8ed4f mark _pthread_mutex_init_calloc_cb as public explicitly Jan Beich 2012-09-18 07:40:31 -05:00
  • 2cc11ff837 Make malloc_usable_size() implementation consistent with prototype. Jason Evans 2012-10-09 16:29:21 -07:00
  • 247d124847 Drop const from malloc_usable_size() argument on Linux. Jason Evans 2012-10-09 16:20:10 -07:00
  • b5225928fe Fix fork(2)-related mutex acquisition order. Jason Evans 2012-10-09 16:16:00 -07:00
  • 20f1fc95ad Fix fork(2)-related deadlocks. Jason Evans 2012-10-09 14:46:22 -07:00
  • 7de92767c2 Fix mlockall()/madvise() interaction. Jason Evans 2012-10-08 17:56:11 -07:00
  • f4c3f8545b Fix error return value in thread_tcache_enabled_ctl(). Jason Evans 2012-10-08 15:48:04 -07:00
  • 1d553f72cb If sysconf() fails, the number of CPUs is reported as UINT_MAX, not 1 as it should be Corey Richardson 2012-09-26 16:28:29 -04:00
  • 35579afb55 Remove unused variable and branch (reported by clang-analzyer) Corey Richardson 2012-09-26 16:06:14 -04:00
  • dd03a2e377 Define LG_QUANTUM for hppa. Jason Evans 2012-10-08 15:41:06 -07:00
  • 5c710cee78 Remove const from __*_hook variable declarations. Jason Evans 2012-05-23 16:09:22 -07:00
  • f1966e1dc7 Update a comment. Jason Evans 2012-05-14 15:03:48 -07:00
  • 174b70efb4 Disable tcache by default if running inside Valgrind. Jason Evans 2012-05-15 23:31:53 -07:00
  • 781fe75e0a Auto-detect whether running inside Valgrind. Jason Evans 2012-05-15 14:48:14 -07:00
  • 3860eac170 Fix heap profiling crash for realloc(p, 0) case. Jason Evans 2012-05-15 13:53:21 -07:00
  • fc9b1dbf69 Merge branch 'dev' 3.0.0 Jason Evans 2012-05-11 17:48:33 -07:00
  • cbb71caceb Update ChangeLog for 3.0.0. Jason Evans 2012-05-11 17:00:20 -07:00
  • 58ad1e4956 Return early in _malloc_{pre,post}fork() if uninitialized. Jason Evans 2012-05-11 17:40:16 -07:00
  • d8ceef6c55 Fix large calloc() zeroing bugs. Jason Evans 2012-05-10 20:59:39 -07:00
  • 30fe12b866 Add arena chunk map assertions. Jason Evans 2012-05-10 17:09:17 -07:00
  • 5b0c99649f Refactor arena_run_alloc(). Jason Evans 2012-05-10 15:47:24 -07:00
  • 53bd42c1fe Update a comment. Jason Evans 2012-05-10 00:18:46 -07:00
  • 80fe0478e6 Generalize "stats.mapped" documentation. Jason Evans 2012-05-09 23:08:48 -07:00
  • 37b6f95dcd Export je_memalign and je_valloc Mike Hommey 2012-05-07 16:08:34 +02:00
  • a6770a7049 Remove -fno-common compiler flag for OS X. Mike Hommey 2012-05-03 14:12:49 +02:00
  • 2e671ffbad Add the --enable-mremap option. Jason Evans 2012-05-09 16:12:00 -07:00
  • 374d26a43b Fix chunk_recycle() to stop leaking trailing chunks. Jason Evans 2012-05-09 14:48:35 -07:00
  • de6fbdb72c Fix chunk_alloc_mmap() bugs. Jason Evans 2012-05-09 13:05:04 -07:00
  • 34a8cf6c40 Fix a base allocator deadlock. Jason Evans 2012-05-02 20:41:42 -07:00
  • c584fc75bb Don't use sizeof() on a VARIABLE_ARRAY Mike Hommey 2012-05-02 21:30:53 +02:00
  • 1d01206bbc Use "standard" printf prefixes instead of MSVC ones in inttypes.h Mike Hommey 2012-05-02 21:30:52 +02:00
  • 79c4bca7d1 Use "hardcoded" dependencies when compiler doesn't support -MM Mike Hommey 2012-05-02 21:30:51 +02:00
  • 3597e91482 Allow je_malloc_message to be overridden when linking statically Mike Hommey 2012-05-02 13:15:00 +02:00
  • 80737c3323 Further optimize and harden arena_salloc(). Jason Evans 2012-05-02 16:11:03 -07:00
  • 7bfecf412d Check for VALGRIND_RESIZEINPLACE_BLOCK support Mike Hommey 2012-04-30 15:15:15 +02:00
  • 1b523da21c Fix partial rename of s/EXPORT/JEMALLOC_EXPORT/g. Jason Evans 2012-05-02 03:02:53 -07:00
  • 9a7944f8ab Update private namespace mangling. Jason Evans 2012-05-02 02:16:51 -07:00
  • 889ec59bd3 Make malloc_write() non-inline. Jason Evans 2012-05-02 02:08:03 -07:00
  • 8d5865eb57 Make CACHELINE a raw constant. Jason Evans 2012-05-02 01:22:16 -07:00
  • 203484e2ea Optimize malloc() and free() fast paths. Jason Evans 2012-05-02 00:30:36 -07:00
  • fd97b1dfc7 Add support for MSVC Mike Hommey 2012-04-30 12:38:31 +02:00
  • b45c57ecaf Import msinttypes Mike Hommey 2012-04-30 12:38:30 +02:00
  • da99e31105 Replace JEMALLOC_ATTR with various different macros when it makes sense Mike Hommey 2012-04-30 12:38:29 +02:00
  • 7cdea3973c Few configure.ac adjustments Mike Hommey 2012-04-30 12:38:27 +02:00
  • a14bce85e8 Use Get/SetLastError on Win32 Mike Hommey 2012-04-30 12:38:26 +02:00
  • af04b744bd Remove the VOID macro Mike Hommey 2012-04-30 12:38:25 +02:00
  • 8b49971d0c Avoid variable length arrays and remove declarations within code Mike Hommey 2012-04-24 23:22:02 +02:00
  • f278994029 Fix more prof_tdata resurrection corner cases. Jason Evans 2012-04-28 23:27:13 -07:00
  • 0050a0f7e6 Handle prof_tdata resurrection. Jason Evans 2012-04-28 18:14:24 -07:00
  • 95ff6aadca Don't set prof_tdata during thread cleanup. Jason Evans 2012-04-28 14:15:28 -07:00
  • d926c90500 Fix Valgrind URL in documentation. Jason Evans 2012-04-25 23:17:57 -07:00
  • 3fb50b0407 Fix a PROF_ALLOC_PREP() error path. Jason Evans 2012-04-25 13:13:44 -07:00
  • 6b9ed67b4b Fix the "epoch" mallctl. Jason Evans 2012-04-25 13:12:46 -07:00
  • f54166e7ef Add missing Valgrind annotations. Jason Evans 2012-04-23 22:41:36 -07:00
  • 7e060397a3 Fix quarantine_grow() bugs. Jason Evans 2012-04-23 22:07:30 -07:00
  • 9cd351d147 Add usize sanity checking to quarantine. Jason Evans 2012-04-23 21:43:18 -07:00
  • 577dd84660 Handle quarantine resurrection during thread exit. Jason Evans 2012-04-23 21:14:26 -07:00
  • 87667a86a0 Fix two CHILD() macro calls in the ctl tree. Jason Evans 2012-04-23 19:54:15 -07:00
  • 65f343a632 Fix ctl regression. Jason Evans 2012-04-23 19:31:45 -07:00
  • 598779aa55 Don't link tests with superfluous libraries. Jason Evans 2012-04-23 18:04:52 -07:00
  • 8694e2e7b9 Silence compiler warnings. Jason Evans 2012-04-23 13:05:32 -07:00
  • 6716aa8352 Force use of TLS if heap profiling is enabled. Jason Evans 2012-04-23 13:04:55 -07:00
  • 079687bb87 Clean up documentation and formatting. Jason Evans 2012-04-23 12:49:23 -07:00
  • a4936ce4d6 Fix jemalloc.sh code generation. Jason Evans 2012-04-23 12:46:46 -07:00
  • 461ad5c87a Avoid using a union for ctl_node_s Mike Hommey 2012-04-20 08:38:42 +02:00
  • 40f514fd92 Document MinGW support. Jason Evans 2012-04-22 16:21:06 -07:00
  • 52386b2dc6 Fix heap profiling bugs. Jason Evans 2012-04-22 16:00:11 -07:00
  • a5288ca934 Remove unused #includes Mike Hommey 2012-04-20 08:38:41 +02:00
  • 834f8770ee Remove #includes in tests Mike Hommey 2012-04-20 08:38:40 +02:00
  • 14103d3598 Fix intmax_t configure error message Mike Hommey 2012-04-20 08:38:39 +02:00
  • 08e2221e99 Remove leftovers from the vsnprintf check in malloc_vsnprintf Mike Hommey 2012-04-20 08:38:38 +02:00
  • a19e87fbad Add support for Mingw Mike Hommey 2012-04-21 21:27:46 -07:00
  • a8f8d7540d Remove mmap_unaligned. Jason Evans 2012-04-21 19:17:21 -07:00
  • 7ad54c1c30 Fix chunk allocation/deallocation bugs. Jason Evans 2012-04-21 16:04:51 -07:00
  • 8f0e0eb1c0 Fix a memory corruption bug in chunk_alloc_dss(). Jason Evans 2012-04-21 13:33:48 -07:00
  • 606f1fdc3c Put CONF_HANDLE_*() keys in quotes. Jason Evans 2012-04-20 21:39:14 -07:00
  • bedceea2a8 Fix isthreaded-related build breakage. Jason Evans 2012-04-20 14:12:30 -07:00
  • 918d6e20b7 Add missing private namespace mangling. Jason Evans 2012-04-20 13:42:21 -07:00
  • 7d20fbc44a Don't mangle pthread_create(). Jason Evans 2012-04-20 13:06:39 -07:00
  • f7088e6c99 Make arena_salloc() an inline function. Jason Evans 2012-04-19 18:28:03 -07:00
  • 13067ec835 Remove extra argument for malloc_tsd_cleanup_register Mike Hommey 2012-04-18 18:29:49 +02:00
  • 8ad483fe60 Remove initialization of the non-TLS tsd wrapper from static memory Mike Hommey 2012-04-18 18:29:48 +02:00
  • 7ff1ce4131 Initialize all members of non-TLS tsd wrapper when creating it Mike Hommey 2012-04-18 18:29:47 +02:00
  • 86e58583bb Make special FreeBSD function overrides visible. Jason Evans 2012-04-18 19:01:00 -07:00
  • 1ad56385ad Fix malloc_vsnprintf handling of %o, %u and %x Mike Hommey 2012-04-18 18:29:44 +02:00
  • 666c5bf7a8 Add a pages_purge function to wrap madvise(JEMALLOC_MADV_PURGE) calls Mike Hommey 2012-04-18 18:29:43 +02:00
  • e38e45743f Add an abstraction layer for threading in tests Mike Hommey 2012-04-18 18:29:42 +02:00
  • 188da7c3f5 Refactor object and library build, and only build PIC libraries when PIC_CFLAGS is defined Mike Hommey 2012-04-18 18:29:41 +02:00
  • 85221d5d75 Make versioned shared library suffix configurable Mike Hommey 2012-04-18 18:29:40 +02:00
  • 78f7352259 Clean up a few config-related conditionals/asserts. Jason Evans 2012-04-18 13:38:40 -07:00
  • 0b25fe79aa Update prof defaults to match common usage. Jason Evans 2012-04-17 16:39:33 -07:00