Commit Graph

  • a55dfa4b0a Implement more atomic operations. Jason Evans 2015-02-02 13:49:08 -08:00
  • 8ddc93293c Fix chunk_recycle()'s new_addr functionality. Jason Evans 2015-01-30 21:22:54 -08:00
  • f8723572d8 Add missing prototypes for bootstrap_{malloc,calloc,free}(). Jason Evans 2015-02-03 12:39:55 -08:00
  • b0808d5f63 Fix shell test to use = instead of ==. Jason Evans 2015-02-03 12:39:31 -08:00
  • 6505733012 Make opt.lg_dirty_mult work as documented Mike Hommey 2015-02-04 07:16:55 +09:00
  • 008267b9f6 util.c: strerror_r returns char* only on glibc Felix Janda 2015-02-03 18:58:02 +01:00
  • 5b8ed5b7c9 Implement the prof.gdump mallctl. Jason Evans 2015-01-25 21:16:57 -08:00
  • 41f2e692f6 Fix quoting for CONFIG-related sed expression. Jason Evans 2015-01-25 20:15:13 -08:00
  • 0fd663e9c5 Avoid pointless chunk_recycle() call. Jason Evans 2015-01-25 17:31:24 -08:00
  • 77d597ebb2 add openbsd support Sébastien Marie 2015-01-25 10:18:32 +01:00
  • eee27b2a38 huge_node_locked don't have to unlock huge_mtx Sébastien Marie 2015-01-25 15:12:28 +01:00
  • 4581b97809 Implement metadata statistics. Jason Evans 2014-11-27 17:22:36 -02:00
  • ec98a44662 Use the correct type for opt.junk when printing stats. Guilherme Goncalves 2015-01-23 10:52:13 -02:00
  • bec6a8da39 Implement the jemalloc-config script. Jason Evans 2015-01-22 17:55:58 -08:00
  • 8afcaa9d81 Update copyright dates for 2015. Jason Evans 2015-01-22 16:03:00 -08:00
  • 228b2e9242 Document under what circumstances in-place resizing succeeds. Jason Evans 2015-01-22 15:28:25 -08:00
  • 10aff3f3e1 Refactor bootstrapping to delay tsd initialization. Jason Evans 2015-01-20 15:37:51 -08:00
  • bc96876f99 Fix arenas_cache_cleanup(). Jason Evans 2015-01-21 09:01:43 -08:00
  • b617df81bb Add missing symbols to private_symbols.txt. Abhishek Kulkarni 2015-01-21 15:02:42 -05:00
  • 44b57b8e8b Fix OOM handling in memalign() and valloc(). Jason Evans 2015-01-16 18:04:17 -08:00
  • 24057f3da8 Fix an infinite recursion bug related to a0/tsd bootstrapping. Jason Evans 2015-01-14 16:27:31 -08:00
  • 51f86346c0 Add a isblank definition for MSVC < 2013 Guilherme Goncalves 2014-12-18 15:01:21 +09:00
  • b7b44dfad0 Make mixed declarations an error Mike Hommey 2014-12-18 15:12:53 +09:00
  • 9c6a8d3b0c Move variable declaration to the top its block for MSVC compatibility. Guilherme Goncalves 2014-12-17 14:46:35 -02:00
  • b4acf7300a [pprof] Produce global profile unless thread-local profile requested Bert Maher 2014-10-24 14:09:42 -07:00
  • 2c5cb613df Introduce two new modes of junk filling: "alloc" and "free". Guilherme Goncalves 2014-12-08 19:12:41 -02:00
  • b74041fb6e Ignore MALLOC_CONF in set{uid,gid,cap} binaries. Daniel Micay 2014-12-09 17:41:34 -05:00
  • e12eaf93dc Style and spelling fixes. Jason Evans 2014-12-08 14:40:14 -08:00
  • 59cd80e6c6 Add a C11 atomics-based implementation of atomic.h API. Chih-hung Hsieh 2014-12-05 17:42:41 -08:00
  • a18c2b1f15 Style fixes. Jason Evans 2014-12-05 17:49:47 -08:00
  • 1036ddbf11 Fix OOM cleanup in huge_palloc(). Jason Evans 2014-12-04 16:42:42 -08:00
  • f79e01f75b Fix test_stats_arenas_bins for 32-bit builds. Yuriy Kaminskiy 2014-12-02 16:24:11 -08:00
  • 879e76a9e5 teach the dss chunk allocator to handle new_addr Daniel Micay 2014-11-03 14:02:52 -05:00
  • a2136025c4 Remove extra definition of je_tsd_boot on win32. Guilherme Goncalves 2014-11-18 18:48:48 -02:00
  • d49cb68b9e Fix more pointer arithmetic undefined behavior. Jason Evans 2014-11-17 10:31:59 -08:00
  • 2012d5a560 Fix pointer arithmetic undefined behavior. Jason Evans 2014-11-17 09:54:49 -08:00
  • 9cf2be0a81 Make quarantine_init() static. Jason Evans 2014-11-07 14:50:38 -08:00
  • c002a5c800 Fix two quarantine regressions. Jason Evans 2014-11-04 18:03:11 -08:00
  • 2b2f6dc1e4 Disable arena_dirty_count() validation. Jason Evans 2014-11-01 02:29:10 -07:00
  • 82cb603ed7 Don't dereference NULL tdata in prof_{enter,leave}(). Jason Evans 2014-11-01 00:20:28 -07:00
  • d7a9bab92d Fix arena_sdalloc() to use promoted size (second attempt). Jason Evans 2014-10-31 22:26:24 -07:00
  • 6da2e9d4f6 Fix arena_sdalloc() to use promoted size. Jason Evans 2014-10-31 17:08:13 -07:00
  • dc65213111 rm unused arena wrangling from xallocx Daniel Micay 2014-10-30 23:23:16 -04:00
  • cfc5706f69 Miscellaneous cleanups. Jason Evans 2014-10-30 23:18:45 -07:00
  • d33f834591 avoid redundant chunk header reads Daniel Micay 2014-10-24 13:18:57 -04:00
  • 809b0ac391 mark huge allocations as unlikely Daniel Micay 2014-10-23 10:30:52 -04:00
  • c93ed81cd0 Fix prof_{enter,leave}() calls to pass tdata_self. Jason Evans 2014-10-30 16:50:33 -07:00
  • af1f592763 Use JEMALLOC_INLINE_C everywhere it's appropriate. Jason Evans 2014-10-30 16:38:08 -07:00
  • 1f725eb7b5 Merge pull request #154 from guilherme-pg/implicit-int Jason Evans 2014-10-20 16:55:33 -07:00
  • 79725aa6f6 Fix variable declaration with no type in the configure script. Guilherme Goncalves 2014-10-20 14:08:37 -02:00
  • 8f47e3d82b Merge pull request #151 from thestinger/ralloc Jason Evans 2014-10-16 13:12:05 -07:00
  • a9ea10d27c use sized deallocation internally for ralloc Daniel Micay 2014-10-16 15:05:02 -04:00
  • c83bccd273 Initialize chunks_mtx for all configurations. Jason Evans 2014-10-16 12:33:18 -07:00
  • 9673983443 Purge/zero sub-chunk huge allocations as necessary. Jason Evans 2014-10-15 18:02:02 -07:00
  • bf8d6a1092 Add small run utilization to stats output. Jason Evans 2014-10-15 16:18:42 -07:00
  • acbcbad1e1 Thwart compiler optimizations. Jason Evans 2014-10-15 14:49:14 -07:00
  • d1f3ab4008 Fix line wrapping. Jason Evans 2014-10-14 22:31:49 -07:00
  • 9b41ac909f Fix huge allocation statistics. Jason Evans 2014-10-14 22:20:00 -07:00
  • 0cdabd2d48 Update size class documentation. Jason Evans 2014-10-14 22:19:21 -07:00
  • 3c4d92e82a Add per size class huge allocation statistics. Jason Evans 2014-10-12 22:53:59 -07:00
  • 44c97b712e Fix a prof_tctx_t/prof_tdata_t cleanup race. Jason Evans 2014-10-12 13:03:20 -07:00
  • 381c23dd9d Remove arena_dalloc_bin_run() clean page preservation. Jason Evans 2014-10-10 23:01:03 -07:00
  • 81e547566e Add --with-lg-tiny-min, generalize --with-lg-quantum. Jason Evans 2014-10-10 22:34:25 -07:00
  • 2eb941a3d3 Add AC_CACHE_CHECK() for pause instruction. Jason Evans 2014-10-10 20:40:43 -07:00
  • 9b75677e53 Don't fetch tsd in a0{d,}alloc(). Jason Evans 2014-10-10 18:19:20 -07:00
  • fc0b3b7383 Add configure options. Jason Evans 2014-10-09 17:54:06 -07:00
  • b123ddc760 Don't configure HAVE_SSE2. Jason Evans 2014-10-08 18:18:03 -07:00
  • 57efa7bb0e Avoid atexit(3) when possible, disable prof_final by default. Jason Evans 2014-10-08 17:57:19 -07:00
  • 3a8b9b1fd9 Fix a recursive lock acquisition regression. Jason Evans 2014-10-08 00:54:16 -07:00
  • f22214a29d Use regular arena allocation for huge tree nodes. Daniel Micay 2014-10-06 03:42:10 -04:00
  • 8bb3198f72 Refactor/fix arenas manipulation. Jason Evans 2014-10-07 23:14:57 -07:00
  • bf40641c5c Fix a prof_tctx_t destruction race. Jason Evans 2014-10-06 16:35:11 -07:00
  • 155bfa7da1 Normalize size classes. Jason Evans 2014-10-05 17:54:10 -07:00
  • 3c3b3b1a94 Fix a docbook element nesting nit. Jason Evans 2014-10-05 14:48:44 -07:00
  • a95018ee81 Attempt to expand huge allocations in-place. Daniel Micay 2014-10-04 01:39:32 -04:00
  • f11a6776c7 Fix OOM-related regression in arena_tcache_fill_small(). Jason Evans 2014-10-05 13:05:10 -07:00
  • e9a3fa2e09 Add missing header includes in jemalloc/jemalloc.h . Jason Evans 2014-10-05 12:05:37 -07:00
  • f04a0bef99 Fix prof regressions. Jason Evans 2014-10-04 15:03:49 -07:00
  • 16854ebeb7 Don't disable tcache for lazy-lock. Jason Evans 2014-10-04 15:00:51 -07:00
  • 47395a1b4c Avoid purging in microbench when lazy-lock is enabled. Jason Evans 2014-10-04 14:59:38 -07:00
  • 0800afd03f Silence a compiler warning. Jason Evans 2014-10-04 14:59:17 -07:00
  • 34e85b4182 Make prof-related inline functions always-inline. Jason Evans 2014-10-04 11:26:05 -07:00
  • 29146e9d15 Don't force TLS on behalf of heap profiling. Jason Evans 2014-10-04 11:23:13 -07:00
  • 029d44cf8b Fix tsd cleanup regressions. Jason Evans 2014-10-04 11:12:53 -07:00
  • a4a972d9a1 Fix install_lib target (incorrect jemalloc.pc path). Jason Evans 2014-10-04 00:35:07 -07:00
  • b72d4abc5f Skip test_prof_thread_name_validation if !config_prof. Jason Evans 2014-10-03 23:41:53 -07:00
  • fc12c0b8bc Implement/test/fix prof-related mallctl's. Jason Evans 2014-10-03 23:25:30 -07:00
  • 551ebc4364 Convert to uniform style: cond == false --> !cond Jason Evans 2014-10-03 10:16:09 -07:00
  • ebbd0c91f0 Remove obsolete comment. Jason Evans 2014-10-02 23:05:23 -07:00
  • 20c31deaae Test prof.reset mallctl and fix numerous discovered bugs. Jason Evans 2014-10-02 23:01:10 -07:00
  • cc9e626ea9 Refactor permuted backtrace test allocation. Jason Evans 2014-10-01 17:51:52 -07:00
  • f8034540a1 Implement in-place huge allocation shrinking. Daniel Micay 2014-09-30 10:33:46 -04:00
  • 4dcf04bfc0 correctly detect adaptive mutexes in pthreads Eric Wong 2014-08-31 03:57:06 +00:00
  • bbc5481cf9 Merge pull request #128 from daverigby/cygwin Jason Evans 2014-09-29 15:16:10 -07:00
  • 5d9732f2cf Merge pull request #129 from daverigby/msvc_lg_floor Jason Evans 2014-09-29 15:15:31 -07:00
  • e3a16fce5e Mark malloc_conf as a weak symbol Dave Rigby 2014-09-24 14:19:28 +01:00
  • 0c5dd03e88 Move small run metadata into the arena chunk header. Jason Evans 2014-09-29 01:31:39 -07:00
  • f97e5ac4ec Implement compile-time bitmap size computation. Jason Evans 2014-09-28 14:43:11 -07:00
  • 6ef80d68f0 Fix profile dumping race. Jason Evans 2014-09-24 22:14:21 -07:00
  • 112704cfbf Use MSVC intrinsics for lg_floor Dave Rigby 2014-09-22 15:54:33 +01:00