Commit Graph

  • d727596bcb Update a comment. Jason Evans 2017-02-24 08:59:34 -08:00
  • ed19a48928 Silence harmless warnings discovered via run_tests.sh. Jason Evans 2017-02-01 10:03:04 -08:00
  • 54d2d697b2 Test JSON output of malloc_stats_print() and fix bugs. Jason Evans 2017-01-18 01:01:19 -08:00
  • 61d26425e5 Fix JSON-mode output for !config_stats and/or !config_prof cases. Jason Evans 2017-02-24 10:40:23 -08:00
  • adae7cfc4a Fix chunk_alloc_dss() regression. Jason Evans 2017-02-24 09:45:33 -08:00
  • c2323e13a5 Get rid of witness in malloc_mutex_t when !(configured w/ debug). Qi Wang 2017-02-23 14:42:52 -08:00
  • 08c24e7c1a Relax witness assertions related to prof_gdump(). Jason Evans 2017-02-22 20:58:42 -08:00
  • f56cb9a68e Add witness_assert_depth[_to_rank](). Jason Evans 2017-01-21 15:12:03 -08:00
  • 7034e6baa1 Enable mutex witnesses even when !isthreaded. Jason Evans 2017-02-21 20:52:44 -08:00
  • 44e50041dc CI: Run --enable-debug builds on windows David Goldblatt 2017-01-31 16:44:57 -08:00
  • e85e588e45 Use MALLOC_CONF rather than malloc_conf for tests. Jason Evans 2017-02-21 23:40:06 -08:00
  • 3ecc3c8486 Fix/refactor tcaches synchronization. Jason Evans 2017-01-29 21:32:39 -08:00
  • de49674fbd Use MALLOC_CONF rather than malloc_conf for tests. Jason Evans 2017-02-21 23:40:06 -08:00
  • fdba5ad5cc Repair file permissions. Jason Evans 2017-02-21 13:15:55 -08:00
  • 8ac7937eb5 Remove remainder of mb (memory barrier). Jason Evans 2017-02-21 19:38:12 -08:00
  • 664ef652d9 Avoid -lgcc for heap profiling if unwind.h is missing. Jason Evans 2017-02-18 00:02:23 -08:00
  • 54269dc0ed Remove obsolete arena_maybe_purge() call. Jason Evans 2017-02-16 22:02:42 -08:00
  • 003ca8717f Move arena_basic_stats_merge() prototype (hygienic cleanup). Jason Evans 2017-02-19 14:05:05 -08:00
  • d4f3f9a03f Beef up travis CI integration testing David Goldblatt 2017-01-25 12:58:50 -08:00
  • 2dfc5b5aac Disable coalescing of cached extents. Jason Evans 2017-02-12 23:18:57 -08:00
  • c1ebfaa673 Optimize extent coalescing. Jason Evans 2017-02-12 23:00:19 -08:00
  • b0654b95ed Fix arena->stats.mapped accounting. Jason Evans 2017-02-13 10:35:41 -08:00
  • f8fee6908d Synchronize arena->decay with arena->decay.mtx. Jason Evans 2017-02-13 11:02:32 -08:00
  • d433471f58 Derive {allocated,nmalloc,ndalloc,nrequests}_large stats. Jason Evans 2017-02-13 09:44:46 -08:00
  • ab25d3c987 Synchronize arena->tcache_ql with arena->tcache_ql_mtx. Jason Evans 2017-02-12 18:50:53 -08:00
  • 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