Commit Graph

  • 6b5cba4191 Convert arena->stats synchronization to atomics. Jason Evans 2017-02-12 17:43:33 -08:00
  • fa2d64c94b Convert arena->prof_accumbytes synchronization to atomics. Jason Evans 2017-02-12 17:03:46 -08:00
  • b779522b9b Convert arena->dss_prec synchronization to atomics. Jason Evans 2017-02-12 16:34:36 -08:00
  • 0721b895ff Do not generate unused tsd_*_[gs]et() functions. Jason Evans 2017-02-12 18:28:30 -08:00
  • cd2501efd6 Fix extent_alloc_dss() regression. Jason Evans 2017-02-09 13:00:59 -08:00
  • 6b8ef771a9 Fix rtree_subkey() regression. Jason Evans 2017-02-09 12:31:11 -08:00
  • 7f55dbef9b Enable mutex witnesses even when !isthreaded. Jason Evans 2017-02-09 09:06:22 -08:00
  • db7da56359 Spin adaptively in rtree_elm_acquire(). Jason Evans 2017-02-05 23:58:02 -08:00
  • de8a68e853 Enhance spin_adaptive() to yield after several iterations. Jason Evans 2017-02-08 10:30:44 -08:00
  • 5f11830754 Replace spin_init() with SPIN_INITIALIZER. Jason Evans 2017-02-05 23:57:16 -08:00
  • 650c070e10 Remove rtree support for 0 (NULL) keys. Jason Evans 2017-02-05 02:50:59 -08:00
  • f5cf9b19c8 Determine rtree levels at compile time. Jason Evans 2017-02-06 13:17:12 -08:00
  • ff4db5014e Remove rtree leading 0 bit optimization. Jason Evans 2017-02-04 23:08:48 -08:00
  • cdc240d501 Make non-essential inline rtree functions static functions. Jason Evans 2017-02-03 19:44:33 -08:00
  • c511a44e99 Split rtree_elm_lookup_hard() out of rtree_elm_lookup(). Jason Evans 2017-02-03 20:12:49 -08:00
  • 4a346f5593 Replace rtree path cache with LRU cache. Jason Evans 2017-02-03 20:21:56 -08:00
  • 0ecf692726 Optimize a branch out of rtree_read() if !dependent. Jason Evans 2017-02-03 20:17:47 -08:00
  • 3bd6d8e41d Conditianalize lg_tcache_max use on JEMALLOC_TCACHE. Jason Evans 2017-02-06 12:54:41 -08:00
  • 5177995530 Fix extent_record(). Jason Evans 2017-02-05 23:59:53 -08:00
  • 6737d5f61e Fix a race in extent_grow_retained(). Jason Evans 2017-02-04 00:43:32 -08:00
  • 1bac516aaa Optimize compute_size_with_overflow(). Jason Evans 2017-02-03 15:33:37 -08:00
  • 767ffa2b5f Fix compute_size_with_overflow(). Jason Evans 2017-02-03 15:30:42 -08:00
  • d27f29b468 Disentangle arena and extent locking. Jason Evans 2017-01-29 21:57:14 -08:00
  • 1b6e43507e Fix/refactor tcaches synchronization. Jason Evans 2017-01-29 21:32:39 -08:00
  • d0e93ada51 Add witness_assert_depth[_to_rank](). Jason Evans 2017-01-21 15:12:03 -08:00
  • ace679ce74 Synchronize extent_grow_next accesses. Jason Evans 2017-01-27 15:03:11 -08:00
  • 5033a9176a Call prof_gctx_create() without owing bt2gctx_mtx. Jason Evans 2017-01-29 21:51:30 -08:00
  • 397f54aa46 Conditionalize prof fork handling on config_prof. Jason Evans 2017-01-29 17:35:57 -08:00
  • bbff6ca674 Handle race in stats_arena_bins_print Qi Wang 2017-01-30 15:54:16 -08:00
  • 190f81c6d5 Silence harmless warnings discovered via run_tests.sh. Jason Evans 2017-02-01 10:03:04 -08:00
  • 449b7f4867 CI: Run --enable-debug builds on windows David Goldblatt 2017-01-31 16:44:57 -08:00
  • 5260d9c12f Introduce scripts to run all possible tests David Goldblatt 2017-01-27 13:16:56 -08:00
  • 6e7d0890cb Beef up travis CI integration testing David Goldblatt 2017-01-25 12:58:50 -08:00
  • 85d2841818 Fix a bug in which a potentially invalid usize replaced size David Goldblatt 2017-01-25 15:50:59 -08:00
  • 0874b648e0 Avoid redeclaring glibc's secure_getenv Tamir Duberstein 2017-01-24 14:54:18 -05:00
  • b973ec7975 Avoid redeclaring glibc's secure_getenv Tamir Duberstein 2017-01-24 14:54:18 -05:00
  • b49c649bc1 Fix lock order reversal during gdump. Jason Evans 2017-01-20 17:36:56 -08:00
  • dad74bd3c8 Convert witness_assert_lockless() to witness_assert_lock_depth(). Jason Evans 2017-01-21 15:12:03 -08:00
  • c0cc5db871 Replace tabs following #define with spaces. Jason Evans 2017-01-19 21:41:41 -08:00
  • f408643a4c Remove extraneous parens around return arguments. Jason Evans 2017-01-19 18:15:45 -08:00
  • c4c2592c83 Update brace style. Jason Evans 2017-01-15 16:56:30 -08:00
  • 5154ff32ee Unify the allocation paths David Goldblatt 2017-01-18 14:04:24 -08:00
  • 9eb1b1c881 Fix --disable-stats support. Jason Evans 2017-01-18 23:03:37 -08:00
  • 66bf773ef2 Test JSON output of malloc_stats_print() and fix bugs. Jason Evans 2017-01-18 01:01:19 -08:00
  • 7a61ebe71f Remove -Werror=declaration-after-statement. Jason Evans 2017-01-19 09:11:46 -08:00
  • 58424e679d Added stats about number of bytes cached in tcache currently. Qi Wang 2016-04-22 18:37:44 -07:00
  • 12ab4383e9 Add dummy implementations for most remaining OSX zone allocator functions Mike Hommey 2017-01-17 16:20:05 +09:00
  • 0f7376eb62 Don't rely on OSX SDK malloc/malloc.h for malloc_zone struct definitions Mike Hommey 2017-01-17 15:54:36 +09:00
  • c6943acb3c Add dummy implementations for most remaining OSX zone allocator functions Mike Hommey 2017-01-17 16:20:05 +09:00
  • c68bb41793 Don't rely on OSX SDK malloc/malloc.h for malloc_zone struct definitions Mike Hommey 2017-01-17 15:54:36 +09:00
  • 1ff09534b5 Fix prof_realloc() regression. Jason Evans 2017-01-16 11:09:24 -08:00
  • de5e1aff2a Formatting/comment fixes. Jason Evans 2017-01-17 07:19:17 -08:00
  • 8115f05b26 Add nullptr support to sized delete operators. Jason Evans 2017-01-13 18:43:21 -08:00
  • 41aa41853c Fix style nits. Jason Evans 2017-01-13 18:17:54 -08:00
  • e8990dc7c7 Remove redundent stats-merging logic when destroying tcache. Qi Wang 2017-01-13 15:22:16 -08:00
  • ffbb7dac3d Remove leading blank lines from function bodies. Jason Evans 2017-01-13 10:35:35 -08:00
  • 87e81e609b Fix indentation. Jason Evans 2017-01-13 10:34:50 -08:00
  • 9389335b86 Use better pre-processor defines for sparc64 John Paul Adrian Glaubitz 2016-12-21 09:38:54 +01:00
  • 77cccac8cd Break up headers into constituent parts David Goldblatt 2017-01-10 18:06:31 -08:00
  • 94c5d22a4d Remove mb.h, which is unused David Goldblatt 2017-01-11 13:23:17 -08:00
  • 77de5f27d8 Use better pre-processor defines for sparc64 John Paul Adrian Glaubitz 2016-12-21 09:38:54 +01:00
  • edf1bafb2b Implement arena.<i>.destroy . Jason Evans 2017-01-03 17:21:59 -08:00
  • 3f291d59ad Refactor test extent hook code to be reusable. Jason Evans 2017-01-06 11:22:08 -08:00
  • dc2125cf95 Replace the arenas.initialized mallctl with arena.<i>.initialized . Jason Evans 2017-01-04 10:21:53 -08:00
  • 6edbedd916 Range-check mib[1] --> arena_ind casts. Jason Evans 2017-01-04 07:51:49 -08:00
  • c0a05e6aba Move static ctl_epoch variable into ctl_stats_t (as epoch). Jason Evans 2017-01-03 15:09:50 -08:00
  • d778dd2afc Refactor ctl_stats_t. Jason Evans 2017-01-03 12:40:54 -08:00
  • 0f04bb1d6f Rename the arenas.extend mallctl to arenas.create. Jason Evans 2017-01-03 08:21:29 -08:00
  • 3dc4e83ccb Add MALLCTL_ARENAS_ALL. Jason Evans 2017-01-03 07:27:42 -08:00
  • 027ace8519 Reindent. Jason Evans 2016-12-27 19:16:41 -08:00
  • d0a3129b88 Fix locking in arena_dirty_count(). Jason Evans 2017-01-06 18:57:18 -08:00
  • 363629df88 Fix allocated_large stats with respect to sampled small allocations. Jason Evans 2017-01-06 18:56:02 -08:00
  • 5c5ff8d121 Fix arena_large_reset_stats_cancel(). Jason Evans 2017-01-04 20:09:03 -08:00
  • a0dd3a4483 Implement per arena base allocators. Jason Evans 2016-12-22 16:39:10 -06:00
  • a6e86810d8 Refactor purging and splitting/merging. Jason Evans 2016-12-03 15:38:25 -08:00
  • 884fa22b8c Rename arena_decay_t's ndirty to nunpurged. Jason Evans 2016-12-03 12:40:36 -08:00
  • 411697adcd Use exponential series to size extents. Jason Evans 2016-11-21 23:23:03 -08:00
  • c1baa0a9b7 Add huge page configuration and pages_[no}huge(). Jason Evans 2016-11-17 13:36:17 -08:00
  • eab3b180e5 Fix JSON-mode output for !config_stats and/or !config_prof cases. Jason Evans 2016-12-23 11:15:44 -08:00
  • bacb6afc6c Simplify arena_slab_regind(). Jason Evans 2016-12-21 12:33:17 -08:00
  • 194d6f9de8 Restructure *CFLAGS/*CXXFLAGS configuration. Jason Evans 2016-12-16 07:18:55 -08:00
  • a965a9cb12 Re-expand the Travis-CI build matrix. Jason Evans 2016-12-13 16:19:20 -08:00
  • 590ee2a6e0 Update Travis-CI config for C++ integration. Jason Evans 2016-12-13 14:53:10 -08:00
  • 69c26cdb01 Add some missing explicit casts. Jason Evans 2016-12-13 13:38:11 -08:00
  • 2319152d9f jemalloc cpp new/delete bindings Dave Watson 2016-10-23 15:56:30 -07:00
  • d4c5aceb7c Add a_type parameter to qr_{meld,split}(). Jason Evans 2016-12-12 18:04:20 -08:00
  • 1819ae581c Fix OOM-related regression in arena_tcache_fill_small(). stable-3 Jason Evans 2014-10-05 13:05:10 -07:00
  • 1ba886fb69 Fix the cactive statistic. Jason Evans 2014-08-06 23:38:39 -07:00
  • f1f7635731 Merge branch 'rc-4.4.0' 4.4.0 Jason Evans 2016-12-03 22:48:43 -08:00
  • 2d1bb8980f Update ChangeLog for 4.4.0. Jason Evans 2016-12-03 12:22:59 -08:00
  • fbe3015818 Update ChangeLog for 4.4.0. Jason Evans 2016-12-03 12:22:59 -08:00
  • 145f3cd173 Add --disable-syscall. Jason Evans 2016-12-03 16:47:36 -08:00
  • acb7b1f53e Add --disable-syscall. Jason Evans 2016-12-03 16:47:36 -08:00
  • e1b2970d28 Update configure cache file example. Jason Evans 2016-11-30 09:57:12 -08:00
  • 34a7e37a71 Fix pages_purge() when using MADV_DONTNEED. Jason Evans 2016-12-03 16:06:19 -08:00
  • 7179351a45 Update configure cache file example. Jason Evans 2016-11-30 09:57:12 -08:00
  • a05d4da4d8 Implement a more reliable detection scheme for os_unfair_lock. John Szakmeister 2016-11-23 15:32:35 -05:00
  • e98a620c59 Mark partially purged arena chunks as non-hugepage. Jason Evans 2016-11-17 13:36:17 -08:00
  • eb29d7ec0e Implement a more reliable detection scheme for os_unfair_lock. John Szakmeister 2016-11-23 15:32:35 -05:00
  • fc11f3cb84 Enable overriding JEMALLOC_{ALLOC,FREE}_JUNK. Jason Evans 2016-11-22 10:58:58 -08:00