Commit Graph

  • e4817c8d89 Cleanup cache_bin_info_t* info input args dev Shirui Cheng 2023-10-24 13:51:14 -0700
  • 3025b021b9 Optimize mutex and bin alignment / locality. Qi Wang 2023-10-23 13:00:10 -0700
  • e2cd27132a Change stack_size assertion back to the more compatabile one. guangli-dai 2023-10-22 22:23:13 -0700
  • 756d4df2fd Add util.c into vs project file. guangli-dai 2023-10-18 16:44:36 -0700
  • 04d1a87b78 Fix a zero-initializer warning on macOS. Qi Wang 2023-10-18 12:13:35 -0700
  • d88fa71bbd Fix nfill = 0 bug when ncached_max is 1 guangli-dai 2023-10-18 10:40:32 -0700
  • 6fb3b6a8e4 Refactor the tcache initiailization guangli-dai 2023-10-17 20:17:42 -0700
  • 8a22d10b83 Allow setting default ncached_max for each bin through malloc_conf guangli-dai 2023-10-11 00:30:52 -0700
  • 867eedfc58 Fix the bug in dalloc promoted allocations. guangli-dai 2023-10-16 15:31:13 -0700
  • 630f7de952 Add mallctl to set and get ncached_max of each cache_bin. guangli-dai 2023-09-19 14:37:09 -0700
  • 6b197fdd46 Pre-generate ncached_max for all bins for better tcache_max tuning experience. guangli-dai 2023-08-22 16:31:54 -0700
  • 36becb1302 metadata usage breakdowns: tracking edata and rtree usages Shirui Cheng 2023-10-10 09:46:23 -0700
  • 005f20aa7f Fix comments about malloc_conf to enable logging. Qi Wang 2023-09-27 09:55:12 -0700
  • 7a9e4c9073 Mark jemalloc.h as system header to resolve header conflicts. guangli-dai 2023-10-02 22:48:22 -0700
  • 72cfdce718 Allocate tcache stack from base allocator Qi Wang 2023-09-13 21:51:54 -0700
  • a442d9b895 Enable per-tcache tcache_max guangli-dai 2023-08-06 11:38:30 -0700
  • fbca96c433 Remove unnecessary parameters for cache_bin_postincrement. guangli-dai 2023-08-20 23:28:38 -0700
  • 7d9eceaf38 Fix array bounds false warning in gcc 12.3.0 Evers Chen 2023-08-20 08:11:35 +0000
  • ce8ce99a4a Expose jemalloc_prefix via pkg-config BtbN 2023-08-20 16:38:09 +0200
  • ed7e6fe71a Expose private library dependencies via pkg-config BtbN 2023-08-20 16:21:56 +0200
  • 7d563a8f81 Update safety check message to remove --enable-debug when it's already on. Qi Wang 2023-08-30 10:15:30 -0700
  • b71da25b8a Fix reading CPU id using rdtscp. Qi Wang 2023-08-28 10:21:11 -0700
  • 87c56c8df8 Fix arenas.i.bins.j.mutex link id in manual. Qi Wang 2023-08-25 11:34:24 -0700
  • da66aa391f Enable a few additional warnings for CI and fix the issues they uncovered Kevin Svetlitski 2023-08-10 16:31:35 -0700
  • d2c9ed3d1e Ensure short read(2)s/write(2)s are properly handled by IO utilities Kevin Svetlitski 2023-08-10 10:43:42 -0700
  • 254c4847e8 Print colorful reminder for failed tests. guangli-dai 2023-08-05 13:40:23 -0700
  • 4f50f782fa Use compiler-provided assume builtins when available Kevin Svetlitski 2023-07-27 11:49:07 -0700
  • 3aae792b10 Fix infinite purging loop in HPA Kevin Svetlitski 2023-07-17 15:22:26 -0700
  • 424dd61d57 Issue a warning upon directly accessing an arena's bins Kevin Svetlitski 2023-08-04 11:43:59 -0700
  • 120abd703a Add support for the deprecated attribute Kevin Svetlitski 2023-08-03 15:05:10 -0700
  • 162ff8365d Update the Ubuntu version used by Travis CI Kevin Svetlitski 2023-08-04 14:22:35 -0700
  • 07a2eab3ed Stop over-reporting memory usage from sampled small allocations Kevin Svetlitski 2023-07-19 12:30:12 -0700
  • ea5b7bea31 Add configuration option controlling DSS support Kevin Svetlitski 2023-07-06 12:49:10 -0700
  • 6816b23862 Include the unrecognized malloc conf option in the error message. Qi Wang 2023-08-01 14:28:24 -0700
  • 62648c88e5 Ensured sampled allocations are properly deallocated during arena_reset Kevin Svetlitski 2023-07-26 12:25:59 -0700
  • b01d496646 Add an override for the compile-time malloc_conf to jemalloc_internal_overrides.h Kevin Svetlitski 2023-07-28 11:54:27 -0700
  • 9ba1e1cb37 Make ctl_arena_clear slightly more efficient Kevin Svetlitski 2023-07-25 12:14:35 -0700
  • 8ff7e7d6c3 Remove errant #includes in public jemalloc.h header Kevin Svetlitski 2023-07-25 10:42:10 -0700
  • 3e82f357bb Fix all optimization-inhibiting integer-to-pointer casts Kevin Svetlitski 2023-07-24 10:33:36 -0700
  • 4827bb17bd Remove vestigial TCACHE_STATE_* macros Kevin Svetlitski 2023-07-24 10:38:42 -0700
  • 1431153695 Define SBRK_INVALID instead of using a magic number Kevin Svetlitski 2023-07-24 10:36:32 -0700
  • 7e54dd1ddb Define PROF_TCTX_SENTINEL instead of using magic numbers Kevin Svetlitski 2023-07-21 18:13:58 -0700
  • c49c17f128 Suppress verbose frame address warnings Kevin Svetlitski 2023-07-20 11:30:59 -0700
  • cdb2c0e02f Implement C23's free_sized and free_aligned_sized Kevin Svetlitski 2023-07-14 13:14:06 -0700
  • 41e0b857be Make headers self-contained by fixing #includes Kevin Svetlitski 2023-06-09 17:37:47 -0700
  • 856db56f6e Move tsd implementation details into tsd_internals.h Kevin Svetlitski 2023-06-12 16:05:18 -0700
  • 36ca0c1b7d Stop concealing pointer provenance in phn_link_get Kevin Svetlitski 2023-07-12 09:57:46 -0700
  • 314c073a38 Print the failed assertion before aborting in test cases Kevin Svetlitski 2023-07-10 14:25:53 -0700
  • 65d3b5989b Print test error messages in color when stderr is a terminal Kevin Svetlitski 2023-06-08 12:56:16 -0700
  • 1d9e9c2ed6 Fix inconsistent parameter names between definition/declaration pairs Kevin Svetlitski 2023-07-06 16:27:56 -0700
  • 5711dc31d8 Only enable -Wstrict-prototypes in CI to unbreak feature detection Kevin Svetlitski 2023-07-06 16:51:51 -0700
  • 589c63b424 Make eligible global variables static and/or const Kevin Svetlitski 2023-05-18 10:22:58 -0700
  • e249d1a2a1 Remove unreachable code. Qi Wang 2023-07-05 14:02:14 -0700
  • 602edd7566 Enabled -Wstrict-prototypes and fixed warnings. Qi Wang 2023-07-05 13:33:34 -0700
  • ebd7e99f5c Add a test-case for small profiled allocations Kevin Svetlitski 2023-06-12 14:13:17 -0700
  • 5a858c64d6 Reduce the memory overhead of sampled small allocations Kevin Svetlitski 2023-06-02 15:15:37 -0700
  • e1338703ef Address compiler warnings in the unit tests Kevin Svetlitski 2023-07-03 14:45:28 -0700
  • d131331310 Avoid eager purging on the dedicated oversize arena when using bg thds. Qi Wang 2023-06-23 14:13:26 -0700
  • 46e464a26b Fix downloading LLVM in GitHub Action Kevin Svetlitski 2023-06-23 13:30:16 -0700
  • f2e00d2fd3 Remove trailing whitespace Kevin Svetlitski 2023-04-28 12:29:49 -0700
  • 05385191d4 Add GitHub action which runs static analysis Kevin Svetlitski 2023-05-17 17:00:10 -0700
  • bb0333e745 Fix remaining static analysis warnings Kevin Svetlitski 2023-05-12 13:17:52 -0700
  • 210f0d0b2b Fix read of uninitialized data in prof_free Kevin Svetlitski 2023-06-15 14:47:20 -0700
  • 90176f8a87 Fix segfault in rb *_tree_remove Kevin Svetlitski 2023-05-09 12:06:47 -0700
  • 86eb49b478 Fix the arena selection for oversized allocations. Qi Wang 2023-06-06 13:37:07 -0700
  • 5832ef6589 Use a local variable to set the alignment for this particular allocation instead of changing mmap_flags which makes the change permanent. This was enforcing large alignments for allocations that did not need it causing fragmentation. Reported by Andreas Gustafsson. Christos Zoulas 2023-05-31 13:00:35 -0400
  • 6d4aa33753 Extract the calculation of psset heap assignment for an hpdata into a common function Kevin Svetlitski 2023-05-27 14:21:11 -0700
  • c1d3ad4674 Prune je_malloc_default and do_rallocx in jeprof Arne Welzel 2023-05-24 21:07:49 +0200
  • d59e30cbc9 Rename fallback_impl to fallbackNewImpl and prune in jeprof Arne Welzel 2023-05-24 14:13:28 +0200
  • d577e9b588 Explicitly cast to unsigned for MALLOCX_ARENA and _TCACHE defines. Qi Wang 2023-05-17 11:54:56 -0700
  • a2259f9fa6 Fix the include path of "jemalloc_internal_overrides.h". Qi Wang 2023-05-25 14:22:37 -0700
  • 9c32689e57 Fix bug where hpa_shard was not being destroyed Kevin Svetlitski 2023-05-18 10:13:59 -0700
  • 4e6f1e9208 Allow overriding LG_PAGE Kevin Svetlitski 2023-05-15 10:39:15 -0700
  • 3e2ba7a651 Remove dead stores detected by static analysis Kevin Svetlitski 2023-04-26 14:10:41 -0700
  • 0288126d9c Fix possible NULL pointer dereference from mallctl("prof.prefix", ...) Kevin Svetlitski 2023-05-11 14:20:30 -0700
  • d4a2b8bab1 Add the prof_sys_thread_name feature in the prof_recent unit test. Qi Wang 2023-05-10 16:32:51 -0700
  • 94ace05832 Fix the prof thread_name reference in prof_recent dump. Qi Wang 2023-05-10 13:20:40 -0700
  • 6ea8a7e928 Add config detection for JEMALLOC_HAVE_PTHREAD_SET_NAME_NP. Qi Wang 2023-05-10 16:20:14 -0700
  • 5bac384970 If ptr present check if alloc_ctx.edata == NULL auxten 2023-05-03 22:34:30 +0800
  • 019cccc293 Make arenas_lookup_ctl triable auxten 2023-05-03 13:25:12 +0800
  • dc0a184f8d Fix possible NULL pointer dereference in VERIFY_READ Kevin Svetlitski 2023-05-08 18:18:39 -0700
  • 12311fe6c3 Fix segfault in extent_try_coalesce_impl Kevin Svetlitski 2023-05-09 09:37:01 -0700
  • 70344a2d38 Make eligible functions static Kevin Svetlitski 2023-05-08 12:37:18 -0700
  • 6841110bd6 Make edata_cmp_summary_comp 30% faster Kevin Svetlitski 2023-05-01 11:49:35 -0700
  • f2b28906e6 Some nits in cache_bin.h Amaury Séchet 2023-04-20 22:38:28 +0000
  • fc680128e0 Remove errant assert in arena_extent_alloc_large Kevin Svetlitski 2023-04-21 10:49:18 -0700
  • 521970fb2e Check for equality instead of assigning in asserts in hpa_from_pai. Eric Mueller 2023-04-17 18:59:25 -0700
  • 5f64ad60cd Remove locked flag set in malloc_mutex_trylock guangli-dai 2023-01-18 15:43:43 -0800
  • 434a68e221 Disallow decay during reentrancy. Qi Wang 2023-03-30 19:02:24 -0700
  • e62aa478c7 Rearrange the bools in prof_tdata_t to save some bytes. Qi Wang 2023-03-28 20:09:41 -0700
  • ce0b7ab6c8 Inline the storage for thread name in prof_tdata_t. Qi Wang 2023-03-28 18:02:34 -0700
  • 6cab460a45 Add a multithreaded test for prof_sys_thread_name. Qi Wang 2023-03-28 23:12:55 -0700
  • 5266152d79 Simplify the logic in ph_remove Amaury Séchet 2023-03-03 12:35:45 +0000
  • be6da4f663 Do not maintain root->prev in ph_remove. Amaury Séchet 2023-03-03 12:08:51 +0000
  • 543e2d61e6 Simplify the logic in ph_insert Amaury Séchet 2023-03-02 23:32:42 +0000
  • 31e01a98f1 Fix the rdtscp detection bug and add prefix for the macro. guangli-dai 2022-12-14 17:23:41 -0800
  • 8b64be3441 Explicit arena assignment in test_tcache_max. Qi Wang 2023-03-21 14:12:12 -0700
  • 8e7353a19b Explicit arena assignment in test_thread_idle. Qi Wang 2023-03-21 14:02:30 -0700
  • 45249cf5a9 Fix exception specification error for hosts using musl libc Marvin Schmidt 2022-09-27 07:00:13 +0200
  • aba1645f2d configure: Handle *-linux-musl* hosts properly Marvin Schmidt 2022-09-27 07:03:14 +0200