Commit Graph

  • 0d20eda127 Stats printing: Move emitter -> manual cutoff point. David Goldblatt 2018-03-01 19:01:05 -08:00
  • ec31d476ff Stats printing: Convert profiling stats to use the emitter. David Goldblatt 2018-03-01 18:19:25 -08:00
  • e5acc35400 Stats printing: Convert general arena stats to use the emitter. David Goldblatt 2018-03-01 18:02:42 -08:00
  • 4a335e0c6f Stats printing: convert config and opt output to use emitter. David Goldblatt 2018-03-01 17:38:15 -08:00
  • b646f89173 Stats printing: Convert header and footer to use emitter. David Goldblatt 2018-03-01 17:29:58 -08:00
  • 27a8fe6780 Introduce the emitter module. David Goldblatt 2018-03-01 15:48:46 -08:00
  • e4f090e8df Add opt.thp which allows explicit hugepage usage. Qi Wang 2018-02-16 14:19:19 -08:00
  • efa40532dc Remove config.thp which wasn't in use. Qi Wang 2018-03-05 14:45:04 -08:00
  • 6b35366ef5 Skip test_alignment_and_size if percpu_arena is enabled. Qi Wang 2018-01-12 16:09:51 -08:00
  • 548153e789 Remove unused code in test/thread_tcache_enabled. Qi Wang 2018-01-12 15:55:24 -08:00
  • 26b1c13982 Background threads: fix an indexing bug. David Goldblatt 2018-02-26 17:11:29 -08:00
  • dd7e283b6f Tweak the ticker paths to help GCC generate better code. David T. Goldblatt 2018-02-02 19:18:18 -08:00
  • ae0f5d5c3f CI: Remove "catgets" dependency on appveyor. David Goldblatt 2018-02-14 12:03:42 -08:00
  • a3abbb4bdf Fix MSVC build Maks Naumov 2018-02-11 19:47:04 +02:00
  • 83aa9880b7 Make generated headers usable in both x86 and x64 mode in Visual Studio rustyx 2018-01-19 16:28:33 +01:00
  • ed52d24f74 Define JEMALLOC_NO_PRIVATE_NAMESPACE also in Visual Studio x86 targets rustyx 2018-01-19 16:28:07 +01:00
  • f78d4ca3fb Modify configure to determine return value of strerror_r. Christopher Ferris 2017-09-22 12:24:50 -07:00
  • ba5992fe9a Improve the fit for aligned allocation. Qi Wang 2017-12-21 16:17:45 -08:00
  • 41790f4fa4 Check tsdn_null before reading reentrancy level. Qi Wang 2017-12-22 11:22:16 -08:00
  • 91b247d311 In iallocztm, check lock rank only when not in reentrancy. Qi Wang 2017-12-22 11:19:50 -08:00
  • 78a87e4a80 Make sure JE_CXXFLAGS_ADD uses CPP compiler Nehal J Wani 2017-12-31 06:52:33 -06:00
  • 433c2edabc Disable JEMALLOC_HAVE_MADVISE_HUGE for arm* CPUs. marxin 2018-01-02 10:29:19 +01:00
  • 72bdbc35e3 extent_t bitpacking logic refactoring Rajeev Misra 2018-01-02 21:10:01 -08:00
  • f47e39d11a handle 32 bit mutex counters Rajeev Misra 2017-12-30 14:31:34 -08:00
  • d41b19f9c7 Implement arena regind computation using div_info_t. David Goldblatt 2017-12-20 17:21:56 -08:00
  • 21f7c13d0b Add the div module, which allows fast division by dynamic values. David Goldblatt 2017-12-19 17:30:50 -08:00
  • 7f1b02e3fa Split up and standardize naming of stats code. David T. Goldblatt 2017-11-04 12:50:19 -07:00
  • 901d94a2b0 Rename cache_alloc_easy to cache_bin_alloc_easy. David T. Goldblatt 2017-10-01 18:54:25 -07:00
  • 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
  • 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