Commit Graph

  • 8aafa270fd Move bin stats code from arena to bin module. David T. Goldblatt 2017-10-01 18:27:40 -07:00
  • 48bb4a056b Move bin forking code from arena to bin module. David T. Goldblatt 2017-10-01 18:10:36 -07:00
  • a8dd8876fb Move bin initialization from arena module to bin module. David T. Goldblatt 2017-10-01 18:02:39 -07:00
  • 4bf4a1c4ea Pull out arena_bin_info_t and arena_bin_t into their own file. David T. Goldblatt 2017-10-01 17:22:06 -07:00
  • 740bdd68b1 Over purge by 1 extent always. Qi Wang 2017-12-08 12:13:50 -08:00
  • f70785de91 Skip test/unit/pack when profiling is enabled. Qi Wang 2017-12-11 14:04:07 -08:00
  • 5e0332890f Output opt.lg_extent_max_active_fit in stats. Qi Wang 2017-12-14 11:14:08 -08:00
  • 22460cbebd jemalloc_mangle.sh: set sh in strict mode nicolov 2017-12-10 23:36:32 -08:00
  • 749caf14ae Also use __riscv to detect builds for RISC-V CPUs. Ed Schouten 2017-12-03 21:45:08 +01:00
  • 955b1d9cc5 Fix extent deregister on the leak path. Qi Wang 2017-12-08 15:06:08 -08:00
  • b5ab3f91ea Fix test/integration/extent. Qi Wang 2017-12-08 13:43:21 -08:00
  • 6e841f618a Add more tests for extent hooks failure paths. Qi Wang 2017-11-28 12:21:58 -08:00
  • 26a8f82c48 Add missing deregister before extents_leak. Qi Wang 2017-11-19 17:01:53 -08:00
  • e475d03752 Avoid setting zero and commit if split fails in extent_recycle. Qi Wang 2017-11-16 14:27:23 -08:00
  • 3e64dae802 Eagerly coalesce large extents. Qi Wang 2017-11-15 14:48:55 -08:00
  • eb1b08daae Fix an extent coalesce bug. Qi Wang 2017-11-14 16:09:31 -08:00
  • fac706836f Add opt.lg_extent_max_active_fit Qi Wang 2017-11-09 13:51:39 -08:00
  • 282a3faa17 Use extent_heap_first for best fit. Qi Wang 2017-11-13 11:41:53 -08:00
  • d6feed6e66 Use tsd offset_state instead of atomic Dave Watson 2017-10-13 10:27:13 -07:00
  • cb3b72b975 Fix base allocator THP auto mode locking and stats. Qi Wang 2017-11-07 19:40:38 -08:00
  • b5d071c266 Fix unbounded increase in stash_decayed. Qi Wang 2017-11-08 13:59:21 -08:00
  • 6dd5681ab7 Use hugepage alignment for base allocator. Qi Wang 2017-11-03 13:58:59 -07:00
  • e422fa8e7e Add arena.i.retain_grow_limit Qi Wang 2017-11-02 17:48:39 -07:00
  • 9f455e2786 Try to use sysctl(3) instead of sysctlbyname(3). Edward Tomasz Napierala 2017-10-26 16:55:43 +01:00
  • d591df05c8 Use getpagesize(3) under FreeBSD. Edward Tomasz Napierala 2017-10-22 12:04:59 +01:00
  • 58eba024c0 metadata_thp: auto mode adjustment for a0. Qi Wang 2017-10-31 14:17:40 -07:00
  • 47203d5f42 Output all counters for bin mutex stats. Qi Wang 2017-10-19 12:01:20 -07:00
  • d14bbf8d81 Add a "dumpable" bit to the extent state. David Goldblatt 2017-09-18 17:25:57 -07:00
  • bbaa72422b Add pages_dontdump and pages_dodump. David Goldblatt 2017-09-18 15:10:01 -07:00
  • ccd09050aa Add configure-time detection for madvise(..., MADV_DO[NT]DUMP) David Goldblatt 2017-09-18 15:03:52 -07:00
  • 211b1f3c7d Factor out extent-splitting core from extent lifetime management. David Goldblatt 2017-08-29 16:50:57 -07:00
  • 5bad01c38e Document some of the internal extent functions. David Goldblatt 2017-08-28 18:27:12 -07:00
  • 33df2fa169 Fix MSVC 2015 project and add a VS 2017 solution rustyx 2017-10-16 16:40:50 +02:00
  • f4f814cd4c Remove the default value for JEMALLOC_PURGE_MADVISE_DONTNEED_ZEROS. Qi Wang 2017-10-05 16:32:28 -07:00
  • 31ab38be5f Define MADV_FREE on our own when needed. Qi Wang 2017-10-05 16:28:55 -07:00
  • fc83de0384 Document the potential issues about opt.background_thread. Qi Wang 2017-10-06 15:51:35 -07:00
  • 7e74093c96 Set isthreaded manually. Qi Wang 2017-10-05 14:56:49 -07:00
  • a2e6eb2c22 Delay background_thread_ctl_init to right before thread creation. Qi Wang 2017-10-04 16:39:33 -07:00
  • 79e83451ff Enable a0 metadata thp on the 3rd base block. Qi Wang 2017-10-04 18:41:51 -07:00
  • 1245faae90 Power: disable the CPU_SPINWAIT macro. David Goldblatt 2017-10-03 18:03:02 -07:00
  • 7c6c99b829 Use ph instead of rb tree for extents_avail_ Dave Watson 2017-09-26 17:22:01 -07:00
  • 8a7ee3014c Logging: capitalize log macro. David Goldblatt 2017-10-02 17:48:03 -07:00
  • 7a8bc7172b ARM: Don't extend bit LG_VADDR to compute high address bits. David Goldblatt 2017-09-29 13:54:08 -07:00
  • 0720192a32 Add runtime detection of lazy purging support. Qi Wang 2017-09-26 13:45:21 -07:00
  • 3959a9fe19 Avoid left shift by negative values. Qi Wang 2017-09-22 15:35:29 -07:00
  • 56f0e57844 Add "falls through" comment explicitly. Qi Wang 2017-09-18 14:34:13 -07:00
  • a545f1804a dumpbin doesn't exist in mingw Tamir Duberstein 2017-07-06 15:14:48 -04:00
  • 24766ccd5b Allow toolchain to determine nm Tamir Duberstein 2017-07-06 15:04:17 -04:00
  • 96f1468221 whitespace Tamir Duberstein 2017-07-06 14:50:55 -04:00
  • eaa58a5026 Put static keyword first. Qi Wang 2017-09-18 14:36:43 -07:00
  • d60f3bac12 Add missing field in initializer for rtree cache. Qi Wang 2017-09-18 14:22:44 -07:00
  • 9e39425bf1 Force Ubuntu "precise" for Travis CI builds. David Goldblatt 2017-09-19 09:27:33 -07:00
  • 9b20a4bf70 Clear cache bin ql postfork. Qi Wang 2017-09-12 11:38:13 -07:00
  • 886053b966 Fix huge page test in test/unit/pages. Qi Wang 2017-09-11 13:32:58 -07:00
  • cf4738455d Fix a link for dirty_decay_ms in manual. Qi Wang 2017-09-06 10:15:33 -07:00
  • 17c897976c Do not assume dss never decreases. stable-4 Uwe L. Korn 2017-08-29 11:06:50 +02:00
  • a315688be0 Relax constraints on reentrancy for extent hooks. Qi Wang 2017-08-30 16:17:04 -07:00
  • e55c3ca267 Add stats for metadata_thp. Qi Wang 2017-08-25 13:24:49 -07:00
  • 47b20bb654 Change opt.metadata_thp to [disabled,auto,always]. Qi Wang 2017-08-24 14:29:28 -07:00
  • ea91dfa58e Document the ialloc function abbreviations. David Goldblatt 2017-08-14 13:32:28 -07:00
  • 9c0549007d Make arena stats collection go through cache bins. David Goldblatt 2017-08-11 17:34:21 -07:00
  • f3170baa30 Pull out caching for a bin into its own file. David Goldblatt 2017-08-10 14:27:58 -07:00
  • b0825351d9 Add missing mallctl unit test for abort_conf. Qi Wang 2017-08-11 16:06:51 -07:00
  • 82d1a3fb31 Add support for m68k, nios2, SH3 architectures Faidon Liambotis 2017-08-07 21:56:21 +03:00
  • 8da69b69e6 Fix support for GNU/kFreeBSD Faidon Liambotis 2017-08-07 21:51:09 +03:00
  • 3ec279ba1c Fix test/unit/pages. Qi Wang 2017-08-11 15:41:52 -07:00
  • 8fdd9a5797 Implement opt.metadata_thp Qi Wang 2017-08-10 13:14:26 -07:00
  • d157864027 Filter out "void *newImpl" in prof output. Qi Wang 2017-08-04 16:35:43 -07:00
  • 048c6679cd Remove external linkage for spin_adaptive Ryan Libby 2017-08-07 22:00:22 -07:00
  • 1ab2ab294c Only read szind if ptr is not paged aligned in sdallocx. Qi Wang 2017-07-31 14:35:33 -07:00
  • 9a39b23c9c Remove a redundant '--with-malloc-conf=tcache:false' from gen_run_tests.py David Goldblatt 2017-07-31 15:17:57 -07:00
  • 3800e55a2c Bypass extent_alloc_wrapper_hard for no_move_expand. Qi Wang 2017-07-31 13:01:07 -07:00
  • 2d2fa72647 Filter out "newImpl" from profiling output. Qi Wang 2017-07-28 13:01:15 -07:00
  • 7c22ea7a93 Only run test/integration/sdallocx non-reentrantly. David Goldblatt 2017-07-24 12:56:02 -07:00
  • e6aeceb606 Logging: log using the log var names directly. David Goldblatt 2017-07-24 12:29:28 -07:00
  • b28f31e7ed Split out cold code path in newImpl Qinfan Wu 2017-07-24 11:59:29 -07:00
  • a9f7732d45 Logging: allow logging with empty varargs. David Goldblatt 2017-07-21 13:34:45 -07:00
  • aa6c282137 Validates fd before calling fcntl Y. T. Chung 2017-07-21 21:40:29 +08:00
  • e215a7bc18 Add entry and exit logging to all core functions. David T. Goldblatt 2017-07-19 18:05:28 -07:00
  • 9761b449c8 Add a logging facility. David T. Goldblatt 2017-07-19 16:36:46 -07:00
  • 0975b88dfd Fall back to FD_CLOEXEC when O_CLOEXEC is unavailable. Y. T. Chung 2017-07-20 23:02:23 +08:00
  • fb6787a78c Add a test of behavior under multi-threaded forking. David Goldblatt 2017-07-10 13:19:31 -07:00
  • 0a4f5a7eea Fix deadlock in multithreaded fork in OS X. David Goldblatt 2017-07-10 14:05:33 -07:00
  • 3f5049340e Allow toolchain to determine nm Tamir Duberstein 2017-07-06 15:04:17 -04:00
  • ef55006c1d dumpbin doesn't exist in mingw Tamir Duberstein 2017-07-06 15:14:48 -04:00
  • f9dfb8db73 whitespace Tamir Duberstein 2017-07-06 14:50:55 -04:00
  • aa44ddbcdd Fix a typo. Jason Evans 2017-07-02 17:55:52 -07:00
  • 896ed3a8b3 Merge branch 'dev' 5.0.1 Jason Evans 2017-07-01 17:44:01 -07:00
  • 284edf02b0 Update ChangeLog for 5.0.1. Jason Evans 2017-07-01 17:12:05 -07:00
  • cb032781bd Add extent_grow_mtx in pre_ / post_fork handlers. Qi Wang 2017-06-29 16:01:35 -07:00
  • 2b31cf5bd2 Enforce minimum autoconf version (currently 2.68). Jason Evans 2017-06-29 13:56:22 -07:00
  • c99e570a48 Make sure LG_PAGE <= LG_HUGEPAGE. Jason Evans 2017-06-23 12:35:17 -07:00
  • aa363f9388 Fix pthread_sigmask() usage to block all signals. Qi Wang 2017-06-26 11:17:45 -07:00
  • 57beeb2fcb Switch ctl to explicitly use tsd instead of tsdn. Qi Wang 2017-06-22 18:58:40 -07:00
  • 425463a446 Check arena in current context in pre_reentrancy. Qi Wang 2017-06-22 16:18:30 -07:00
  • d6eb8ac8f3 Set reentrancy when invoking customized extent hooks. Qi Wang 2017-06-22 15:36:41 -07:00
  • d49ac4c709 Fix assertion typos. Jason Evans 2017-06-23 10:40:02 -07:00
  • a3f4977217 Add thread name for background threads. Qi Wang 2017-06-23 09:58:35 -07:00
  • 52fc887b49 Avoid inactivity_check within background threads. Qi Wang 2017-06-22 13:57:50 -07:00
  • 37f3fa0941 Mask signals during background thread creation. Jason Evans 2017-06-19 20:35:33 -07:00