Commit Graph

  • 7d2bac5a38 Refactor destroy code path for prof_tctx Yinan Zhang 2019-12-10 10:46:31 -08:00
  • 055478cca8 Threshold is no longer updated before prof_realloc() Yinan Zhang 2019-12-10 10:03:54 -08:00
  • 7e3671911f Get rid of old indentation style for prof Yinan Zhang 2019-12-06 09:45:40 -08:00
  • dfdd46f6c1 Refactor prof_tctx_t creation Yinan Zhang 2019-12-05 15:52:54 -08:00
  • aa1d71fb7a Rename prof_tctx to alloc_tctx in prof_info_t Yinan Zhang 2019-12-05 15:35:12 -08:00
  • 5e0b090992 No need to pass usize to prof_tctx_set() Yinan Zhang 2019-12-05 15:15:36 -08:00
  • 1b1e76acfe Disable some spuriously-triggering warnings David Goldblatt 2019-12-04 10:16:44 -08:00
  • a70909b130 Test on all supported release of FreeBSD Li-Wen Hsu 2019-12-03 02:18:27 +08:00
  • 5c47a30227 Guard C++ aligned APIs Yinan Zhang 2019-11-25 15:27:52 -08:00
  • 6945371778 Change tsdn to tsd for profiling code path Yinan Zhang 2019-11-22 11:42:01 -08:00
  • b55419f9b9 Restructure profiling Yinan Zhang 2019-11-19 16:24:57 -08:00
  • 8b2c2a596d Support C++17 over-aligned allocation Mark Santaniello 2019-10-26 23:28:42 -07:00
  • 9a3c738009 Refactor arena_bin_malloc_hard(). Qi Wang 2019-11-05 13:22:54 -08:00
  • 9a7ae3c97f Reduce footprint of bin_t. Qi Wang 2019-11-05 20:43:59 -08:00
  • cb1a1f4ada Remove the unnecessary alloc_ctx on free_fastpath. Qi Wang 2019-11-15 22:54:15 -08:00
  • 7160617107 Add branch hints to free_fastpath. Qi Wang 2019-11-15 22:47:49 -08:00
  • a787d2f5b3 Prefer getaffinity() to detect number of CPUs. Qi Wang 2019-11-08 13:05:43 -08:00
  • 04cb7d4d6b Bail out early for muzzy decay. Qi Wang 2019-11-06 23:09:20 -08:00
  • 73510dfd15 Revert "Fix bug in prof_realloc" Yinan Zhang 2019-11-15 14:20:31 -08:00
  • 3b5eecf102 Fix bug in prof_realloc Yinan Zhang 2019-11-15 11:43:25 -08:00
  • e4c36a6f30 Emphasize no modification through thread.allocatedp allowed. Qi Wang 2019-11-12 23:44:01 -08:00
  • c462753cc8 Use __forceinline for JEMALLOC_ALWAYS_INLINE on msvc Leonardo Santagada 2019-10-23 15:00:49 +02:00
  • 836d7a7e69 Check for large size first in the uncommon case of malloc. Qi Wang 2019-11-04 18:24:39 -08:00
  • 9c59abe42a Fix a typo in Makefile. Qi Wang 2019-11-11 12:13:48 -08:00
  • da50d8ce87 Refactor and optimize prof sampling initialization. Qi Wang 2019-11-04 17:22:25 -08:00
  • bc774a3519 Rename tsd->offset_state to tsd->prng_state. Qi Wang 2019-11-04 16:48:12 -08:00
  • 19a51abf33 Avoid arena->offset_state when tsd not available for prng. Qi Wang 2019-11-04 16:44:37 -08:00
  • d01b425e5d Add -Wimplicit-fallthrough checks if supported Nick Desaulniers 2019-10-29 13:03:41 -07:00
  • a8b578d538 Remove mallctl test for zero_realloc Yinan Zhang 2019-11-05 06:46:52 -08:00
  • 43f0ce92d8 Define general purpose tsd_thread_event_init() Yinan Zhang 2019-11-01 14:11:59 -07:00
  • 97f93fa0f2 Pull tcache GC events into thread event handler Yinan Zhang 2019-10-24 16:41:45 -07:00
  • 198f02e797 Pull prof_accumbytes into thread event handler Yinan Zhang 2019-10-14 09:35:51 -07:00
  • 152c0ef954 Build a general purpose thread event handler Yinan Zhang 2019-09-03 15:04:48 -07:00
  • 6924f83cb2 use SYS_openat when available RingsC 2019-10-13 23:11:23 +08:00
  • de81a4eada Add stats counters for number of zero reallocs David T. Goldblatt 2019-10-26 11:04:46 -07:00
  • 9cfa805947 Realloc: Make behavior of realloc(ptr, 0) configurable. David T. Goldblatt 2019-09-23 17:56:19 -07:00
  • ee961c2310 Merge realloc and rallocx pathways. David T. Goldblatt 2019-10-21 18:44:42 -07:00
  • bd6e28d6a3 Guard slabcur fetching in extent_util Yinan Zhang 2019-10-28 09:24:42 -07:00
  • 4786099a3a Increase column width for global malloc/free rate Yinan Zhang 2019-10-24 13:16:09 -07:00
  • 05681e387a Optimize cache_bin_alloc_easy for malloc fast path Yinan Zhang 2019-10-08 11:33:55 -07:00
  • 4fe50bc7d0 Fix amd64 MSVC warning Yinan Zhang 2019-10-17 16:46:45 -07:00
  • 4fbbc817c1 Simplify time setting and getting for prof log Yinan Zhang 2019-07-15 10:37:09 -07:00
  • 4094b7c03f Limit # of iters of test_bitmap_xfu. Qi Wang 2019-09-11 10:21:46 -07:00
  • 66e07f986d Suppress tdata creation in reentrancy Yinan Zhang 2019-10-03 13:01:12 -07:00
  • beb7c16e94 Guard prof_active reset by opt_prof Yinan Zhang 2019-08-27 14:42:14 -07:00
  • 1df9dd3515 Fix je_ prefix issue in test Gareth Lloyd 2019-09-24 16:09:07 +01:00
  • 3d84bd57f4 Arena: Add helper function arena_get_from_extent. David T. Goldblatt 2019-09-23 18:05:57 -07:00
  • c97d255752 Eset: Remove temporary declaration. David T. Goldblatt 2019-09-21 11:01:39 -07:00
  • ce5b128f10 Remove the undefined extent_size_quantize declarations. David T. Goldblatt 2019-09-21 10:40:39 -07:00
  • 821dd53a1d Extent -> Eset: Rename arena members. David T. Goldblatt 2019-09-21 10:35:47 -07:00
  • e144b21e4b Extent -> Eset: Move fork handling. David T. Goldblatt 2019-09-21 10:23:12 -07:00
  • 77bbb35a92 Extent -> Eset: Move extent fit functions. David T. Goldblatt 2019-09-21 09:36:22 -07:00
  • 1210af9a4e Extent -> Eset: Move insertion and removal. David T. Goldblatt 2019-09-20 23:51:13 -07:00
  • a42861540e Extents -> Eset: Convert some stats getters. David T. Goldblatt 2019-09-20 20:52:13 -07:00
  • 820f070c6b Move page quantization to sz module. David T. Goldblatt 2019-09-20 23:54:57 -07:00
  • 63d1b7a7a7 Extents -> Eset: move extents_state_get. David T. Goldblatt 2019-09-20 20:45:16 -07:00
  • b416b96a39 Extents -> Eset: rename/move extents_init. David T. Goldblatt 2019-09-20 20:37:15 -07:00
  • e6180fe1b4 Eset: Add a source file. David T. Goldblatt 2019-09-20 20:17:23 -07:00
  • 4e5e43f22e Rename extents_t -> eset_t. David T. Goldblatt 2019-09-20 19:59:55 -07:00
  • 723ccc6c27 Extents: Split out extent struct. David T. Goldblatt 2019-09-20 16:18:41 -07:00
  • 41187bdfb0 Extents: Break extent-struct/arena interactions David T. Goldblatt 2019-09-20 18:20:22 -07:00
  • 529cfe2abc Arena: rename arena_structs_b.h -> arena_structs.h David T. Goldblatt 2019-09-20 16:43:54 -07:00
  • e7cf84a8dd Rearrange slab data and constants David T. Goldblatt 2019-09-20 16:36:42 -07:00
  • d1be488cd8 Add --with-lg-page=16 to CI. Qi Wang 2019-09-11 10:31:30 -07:00
  • ac5185f73e Fix tcache bin stack alignment. Qi Wang 2019-08-23 16:06:50 -07:00
  • b7c7df24ba Add max_per_bg_thd stats for per background thread mutexes. zhxchen17 2019-08-14 16:10:09 -07:00
  • 4b76c684bb Add "prof.dump_prefix" to override filename prefixes for dumps. zhxchen17 2019-09-09 20:18:41 -07:00
  • 242af439b8 Rename "prof_dump_seq_mtx" to "prof_dump_filename_mtx". zhxchen17 2019-09-09 20:04:18 -07:00
  • e06658cb24 check GNU make exists in path Giridhar Prasath R 2019-09-12 07:35:32 +05:30
  • 22bc75ee3e Workaround the stringop-overflow check false positives. Qi Wang 2019-08-27 13:44:41 -07:00
  • 93d6151800 Pass tsd down to prof_backtrace() Yinan Zhang 2019-09-04 09:24:34 -07:00
  • 671f120e26 Fix prof_backtrace() reentrancy level Yinan Zhang 2019-09-03 17:11:06 -07:00
  • 785b84e603 Make cache_bin_sz_t unsigned. Qi Wang 2019-08-30 11:52:15 -07:00
  • 23dc7a7fba Fix index type for cache_bin_alloc_easy. Qi Wang 2019-08-30 11:54:35 -07:00
  • 2abb02ecd7 Fix MSVC 2015 build, as proposed by @christianaguilera-foundry. Qi Wang 2019-08-26 14:15:54 -07:00
  • 719583f14a Fix large.nflushes in the merged stats. Qi Wang 2019-08-26 13:18:50 -07:00
  • adce29c885 Optimize for prof_active off Yinan Zhang 2019-08-26 14:41:32 -07:00
  • 49e6fbce78 Always adjust thread_(de)allocated Yinan Zhang 2019-08-22 15:56:47 -07:00
  • 57b81c078e Pull thread_(de)allocated out of config_stats Yinan Zhang 2019-08-12 11:03:36 -07:00
  • 9e031c1d11 Bug fix for prof_active switch Yinan Zhang 2019-08-21 16:38:44 -07:00
  • 0043e68d4c Track low_water == -1 case explicitly. Qi Wang 2019-08-20 18:14:18 -07:00
  • 937ca1db9f Store ncached_max * ptr_size in tcache_bin_info. Qi Wang 2019-08-14 13:08:06 -07:00
  • 7599c82d48 Redesign the cache bin metadata for fast path. Qi Wang 2019-08-09 22:12:47 -07:00
  • d2dddfb82a Add hint in the bogus version string. Qi Wang 2019-08-15 22:11:21 -07:00
  • d6b7995c16 Update INSTALL.md about the default doc build. Qi Wang 2019-08-15 22:33:34 -07:00
  • e2c7584361 Simplify / refactor tcache_dalloc_large. Qi Wang 2019-08-12 11:11:01 -07:00
  • 9c5c2a2c86 Unify the signature of tcache_flush small and large. Qi Wang 2019-08-12 11:08:39 -07:00
  • 28ed9b9a51 Buffer stats printing Yinan Zhang 2019-07-18 10:10:45 -07:00
  • eb70fef8ca Make compact json format as default Yinan Zhang 2019-08-09 10:19:51 -07:00
  • a219cfcda3 Clear tcache prof_accumbytes in tcache_flush_cache Yinan Zhang 2019-06-12 17:24:30 -07:00
  • ad3f7dbfa0 Buffer prof_log_stop Yinan Zhang 2019-08-07 14:34:34 -07:00
  • 5934846612 Fix large bin index accessed through cache bin descriptor. Qi Wang 2019-08-09 22:15:42 -07:00
  • 22746d3c9f Properly dalloc prof nodes with idalloctm. Qi Wang 2019-08-08 12:46:22 -07:00
  • 8c8466fa6e Add compact json option for emitter Yinan Zhang 2019-07-30 11:07:24 -07:00
  • 7fc6b1b259 Add buffered writer Yinan Zhang 2019-06-07 14:04:59 -07:00
  • 39343555d6 Report stats for tdatas_mtx and prof_dump_mtx Yinan Zhang 2019-08-02 09:41:35 -07:00
  • 87e2400cbb Fix tcaches mutex pre- / post-fork handling. Qi Wang 2019-08-07 20:12:25 -07:00
  • 07ce2434bf Refactor profiling Yinan Zhang 2019-07-17 15:52:50 -07:00
  • 56126d0d2d Refactor prof log Yinan Zhang 2019-07-12 16:37:37 -07:00
  • 56c8ecffc1 Correct tsd layout graph Yinan Zhang 2019-06-06 09:22:10 -07:00