Commit Graph

  • d35c037e03 Clear tcache_ql after fork in child. Qi Wang 2017-06-19 21:19:15 -07:00
  • 9b1befabbb Add minimal initialized TSD. Qi Wang 2017-06-15 16:53:22 -07:00
  • ae93fb08e2 Pass tsd to tcache_flush(). Qi Wang 2017-06-15 15:16:18 -07:00
  • 84f6c2cae0 Log decay->nunpurged before purging. Qi Wang 2017-06-14 18:44:13 -07:00
  • a4d6fe73cf Only abort on dlsym when necessary. Qi Wang 2017-06-14 12:12:23 -07:00
  • bdcf40a620 Add alloc hook test in test/integration/extent. Qi Wang 2017-06-13 16:35:35 -07:00
  • d955d6f2be Fix extent_hooks in extent_grow_retained(). Qi Wang 2017-06-13 16:16:33 -07:00
  • 5018fe3f09 Merge branch 'dev' 5.0.0 Jason Evans 2017-06-13 12:49:58 -07:00
  • ba29113e5a Update MSVC project files. Jason Evans 2017-06-13 11:01:24 -07:00
  • aae8fd95fb Update ChangeLog for 5.0.0. Jason Evans 2017-06-09 09:41:09 -07:00
  • bff8db439c Update copyright dates. Jason Evans 2017-06-05 13:34:32 -07:00
  • 813643c6a7 Prevent background threads from running in post_reset(). Qi Wang 2017-06-11 11:40:59 -07:00
  • 394df9519d Combine background_thread started / paused into state. Qi Wang 2017-06-09 15:45:25 -07:00
  • b83b5ad44a Not re-enable background thread after fork. Qi Wang 2017-06-09 00:00:48 -07:00
  • 464cb60490 Move background thread creation to background_thread_0. Qi Wang 2017-06-08 22:46:31 -07:00
  • 13685ab1b7 Normalize background thread configuration. Jason Evans 2017-06-08 22:07:21 -07:00
  • 94d655b8bd Update a UTRACE() size argument. Jason Evans 2017-06-08 12:55:59 -07:00
  • faaf458bad Remove redundant typedefs. Jason Evans 2017-06-08 12:19:29 -07:00
  • 5642f03cae Add internal tsd for background_thread. Qi Wang 2017-06-07 16:12:50 -07:00
  • 73713fbb27 Drop high rank locks when creating threads. Qi Wang 2017-06-07 15:49:09 -07:00
  • 00869e39a3 Make tsd no-cleanup during tsd reincarnation. Qi Wang 2017-06-06 21:44:39 -07:00
  • 29c2577ee0 Remove assertions on extent_hooks being default. Qi Wang 2017-06-03 17:00:48 -07:00
  • 3a813946fb Take background thread lock when setting extent hooks. Qi Wang 2017-06-02 16:27:05 -07:00
  • 530c07a45b Set reentrancy level to 1 during init. Qi Wang 2017-05-31 15:21:10 -07:00
  • 340071f0cf Set isthreaded when enabling background_thread. Qi Wang 2017-06-01 12:52:09 -07:00
  • c84ec3e9da Fix background thread creation. Qi Wang 2017-06-01 00:04:56 -07:00
  • fd0fa003e1 Test with background_thread:true. Jason Evans 2017-05-31 11:56:31 -07:00
  • b511232fcd Refactor/fix background_thread/percpu_arena bootstrapping. Jason Evans 2017-05-31 16:45:14 -07:00
  • 596b479d83 Skip default tcache testing if !opt_tcache. Jason Evans 2017-05-31 21:34:26 -07:00
  • fa35463d56 Witness assertions: only assert locklessness when non-reentrant. David Goldblatt 2017-05-31 09:43:43 -07:00
  • 508f54b02b Use real pthread_create for creating background threads. Qi Wang 2017-05-30 20:45:29 -07:00
  • 9a86c9bd30 Clean source directory before building tests in object directories. Jason Evans 2017-05-31 14:15:53 -07:00
  • 8261e581be Header refactoring: Pull size helpers out of jemalloc module. David Goldblatt 2017-05-30 10:45:37 -07:00
  • 041e041e1f Header refactoring: unify and de-catchall mutex_pool. David Goldblatt 2017-05-23 14:56:24 -07:00
  • 98774e64a4 Header refactoring: unify and de-catchall extent_mmap module. David Goldblatt 2017-05-23 14:42:32 -07:00
  • 93284bb53d Header refactoring: unify and de-catchall extent_dss. David Goldblatt 2017-05-23 14:36:09 -07:00
  • 44f9bd147a Header refactoring: unify and de-catchall rtree module. David Goldblatt 2017-05-23 14:26:31 -07:00
  • b4b4a98bc8 Add /run_tests.out/ to .gitignore. David Goldblatt 2017-05-31 10:16:16 -07:00
  • 10d090aae9 Pass the O_CLOEXEC flag to open(2). Jason Evans 2017-05-30 14:36:55 -07:00
  • 66813916b5 Track background thread status separately at fork. Qi Wang 2017-05-30 18:05:27 -07:00
  • 2e4d1a4e30 Output total_wait_ns for bin mutexes. Qi Wang 2017-05-30 15:56:01 -07:00
  • ff8062a511 Add jemalloc prefix to allocator functions pruned by jeprof. Jason Evans 2017-05-30 14:26:02 -07:00
  • 7578b0e929 Explicitly say so when aborting on opt_abort_conf. Qi Wang 2017-05-30 13:17:10 -07:00
  • 685c97fc43 More thoroughly document the *.{nmalloc,ndalloc,nrequests} mallctls. Jason Evans 2017-05-30 13:51:33 -07:00
  • c606a87d2a Add the --disable-thp option to support cross compiling. Jason Evans 2017-05-30 09:54:49 -07:00
  • bf6673a070 Fix npages during arena_decay_epoch_advance(). Qi Wang 2017-05-29 22:47:16 -07:00
  • 4f0963b883 Add test for excessive retained memory. Jason Evans 2017-05-26 09:52:33 -07:00
  • 168793a1c1 Fix extent_grow_next management. Jason Evans 2017-05-26 11:06:01 -07:00
  • a16114866a Fix OOM paths in extent_grow_retained(). Jason Evans 2017-05-25 18:15:41 -07:00
  • d5ef5ae934 Add opt.stats_print_opts. Qi Wang 2017-05-27 15:35:36 -07:00
  • 49505e558b Make test/unit/background_thread not flaky. Qi Wang 2017-05-26 13:51:55 -07:00
  • b86d271cbf Added opt_abort_conf: abort on invalid config options. Qi Wang 2017-05-25 15:30:11 -07:00
  • 57aaa53f2b Fix run_tests to avoid percpu_arena on !Linux. Jason Evans 2017-05-26 11:24:08 -07:00
  • 927239b910 Cleanup smoothstep.sh / .h. Qi Wang 2017-05-25 13:33:34 -07:00
  • 1df18d7c83 Fix stats.mapped during deallocation. Qi Wang 2017-05-24 12:44:53 -07:00
  • 67c93c332a Refactor run_tests to increase parallelism. Jason Evans 2017-05-24 11:33:06 -07:00
  • 18ecbfa89e Header refactoring: unify and de-catchall mutex module David Goldblatt 2017-05-23 12:28:19 -07:00
  • 9f822a1fd7 Header refactoring: unify and de-catchall witness code. David Goldblatt 2017-05-22 19:32:04 -07:00
  • 36195c8f4d Disable percpu_arena by default. Jason Evans 2017-05-23 10:53:36 -07:00
  • 196a53c2ae Do not assume dss never decreases. Jason Evans 2017-05-16 13:25:17 -07:00
  • 067b970130 Add dss:primary testing. Jason Evans 2017-05-22 17:15:57 -07:00
  • 9b1038d19c Do not hold the base mutex while calling extent hooks. Jason Evans 2017-05-22 17:08:21 -07:00
  • eeefdf3ce8 Fix # of unpurged pages in decay algorithm. Qi Wang 2017-05-22 13:09:17 -07:00
  • 0eae838b0d Check for background thread inactivity on extents_dalloc. Qi Wang 2017-05-22 15:26:25 -07:00
  • 2c368284d2 Add tests for background threads. Qi Wang 2017-05-15 17:44:13 -07:00
  • 44559e7cf1 Add documentation for background_thread related options. Qi Wang 2017-05-15 13:50:42 -07:00
  • 5f5ed2198e Add profiling for the background thread mutex. Qi Wang 2017-05-12 16:26:59 -07:00
  • 2bee0c6251 Add background thread related stats. Qi Wang 2017-05-12 12:30:33 -07:00
  • b693c7868e Implementing opt.background_thread. Qi Wang 2017-03-17 12:42:33 -07:00
  • 3f685e8824 Protect the rtree/extent interactions with a mutex pool. David Goldblatt 2017-05-15 14:23:51 -07:00
  • 26c792e61a Allow mutexes to take a lock ordering enum at construction. David Goldblatt 2017-05-15 15:38:15 -07:00
  • 6e62c62862 Refactor *decay_time into *decay_ms. Jason Evans 2017-05-17 10:47:00 -07:00
  • baf3e294e0 Add stats: arena uptime. Qi Wang 2017-05-16 13:56:00 -07:00
  • 04fec5e084 Avoid over-rebuilding due to namespace mangling. Jason Evans 2017-05-16 23:12:59 -07:00
  • b8ba3c3132 Use srcroot path for private_namespace.sh. Qi Wang 2017-05-15 11:03:14 -07:00
  • 18a83681cf Refactor (MALLOCX_ARENA_MAX + 1) to be MALLOCX_ARENA_LIMIT. Jason Evans 2017-05-13 15:20:48 -07:00
  • 7883c7749f Use openat syscall if available Jim Chen 2017-04-19 15:40:29 -04:00
  • 909f0482e4 Automatically generate private symbol name mangling macros. Jason Evans 2017-05-04 11:20:43 -07:00
  • a4ae9707da Remove unused private_unnamespace infrastructure. Jason Evans 2017-05-03 11:07:00 -07:00
  • a268af5085 Stop depending on JEMALLOC_N() for function interception during testing. Jason Evans 2017-05-01 23:10:42 -07:00
  • b3b033eefd Do not build in parallel on AppVeyor. Jason Evans 2017-05-11 20:22:48 -07:00
  • 6f58e630b6 Update and rename INSTALL to INSTALL.md Arkady Shapkin 2017-05-11 21:57:05 +03:00
  • 17ddddee10 Specify -Werror for run_tests builds. Jason Evans 2017-05-11 13:56:41 -07:00
  • 81ef365622 Avoid compiler warnings on Windows. Jason Evans 2017-05-11 16:50:49 -07:00
  • 11d2f39d96 Remove mutex_prof_data_t redeclaration. Jason Evans 2017-05-11 09:06:41 -07:00
  • 31baedbbb9 Add --with-version=VERSION . Jason Evans 2017-05-03 10:07:39 -07:00
  • 0798fe6e70 Fix rtree_leaf_elm_szind_slab_update(). Jason Evans 2017-05-02 21:45:46 -07:00
  • 344dd342dd rtree_leaf_elm_extent_write() --> rtree_leaf_elm_extent_lock_write() Jason Evans 2017-05-02 21:42:33 -07:00
  • 1c982c37d9 Make VS2015 project work again rustyx 2017-05-02 16:29:35 +02:00
  • fc1aaf13fe Revert "Use trylock in tcache_bin_flush when possible." Qi Wang 2017-04-28 13:31:09 -07:00
  • 209f2926b8 Header refactoring: tsd - cleanup and dependency breaking. David Goldblatt 2017-04-26 18:37:44 -07:00
  • c86c8f4ffb Add extent_destroy_t and use it during arena destruction. Jason Evans 2017-04-27 15:51:35 -07:00
  • b9ab04a191 Refactor !opt.munmap to opt.retain. Jason Evans 2017-04-26 16:26:12 -07:00
  • d901a37775 Revert "Use try_flush first in tcache_dalloc." Qi Wang 2017-04-27 14:12:51 -07:00
  • 5c56603e91 Inline tcache_bin_flush_small_impl / _large_impl. Qi Wang 2017-04-27 14:55:07 -07:00
  • b0c2a28280 Use try_flush first in tcache_dalloc. Qi Wang 2017-04-25 14:10:31 -07:00
  • 8584adc451 Use trylock in tcache_bin_flush when possible. Qi Wang 2017-04-25 13:31:45 -07:00
  • e2aad5e810 Remove redundant extent lookup in tcache_bin_flush_large. Qi Wang 2017-04-25 13:33:22 -07:00
  • 05775a3736 Avoid prof_dump during reentrancy. Qi Wang 2017-04-24 18:14:57 -07:00
  • 268843ac68 Header refactoring: pages.h - unify and remove from catchall. David Goldblatt 2017-04-24 18:05:15 -07:00