Commit Graph

  • 4e6f1e9208 Allow overriding LG_PAGE Kevin Svetlitski 2023-05-15 10:39:15 -07:00
  • 3e2ba7a651 Remove dead stores detected by static analysis Kevin Svetlitski 2023-04-26 14:10:41 -07:00
  • 0288126d9c Fix possible NULL pointer dereference from mallctl("prof.prefix", ...) Kevin Svetlitski 2023-05-11 14:20:30 -07:00
  • d4a2b8bab1 Add the prof_sys_thread_name feature in the prof_recent unit test. Qi Wang 2023-05-10 16:32:51 -07:00
  • 94ace05832 Fix the prof thread_name reference in prof_recent dump. Qi Wang 2023-05-10 13:20:40 -07:00
  • 6ea8a7e928 Add config detection for JEMALLOC_HAVE_PTHREAD_SET_NAME_NP. Qi Wang 2023-05-10 16:20:14 -07:00
  • 5bac384970 If ptr present check if alloc_ctx.edata == NULL auxten 2023-05-03 22:34:30 +08:00
  • 019cccc293 Make arenas_lookup_ctl triable auxten 2023-05-03 13:25:12 +08:00
  • dc0a184f8d Fix possible NULL pointer dereference in VERIFY_READ Kevin Svetlitski 2023-05-08 18:18:39 -07:00
  • 12311fe6c3 Fix segfault in extent_try_coalesce_impl Kevin Svetlitski 2023-05-09 09:37:01 -07:00
  • 70344a2d38 Make eligible functions static Kevin Svetlitski 2023-05-08 12:37:18 -07:00
  • 6841110bd6 Make edata_cmp_summary_comp 30% faster Kevin Svetlitski 2023-05-01 11:49:35 -07:00
  • f2b28906e6 Some nits in cache_bin.h Amaury Séchet 2023-04-20 22:38:28 +00:00
  • fc680128e0 Remove errant assert in arena_extent_alloc_large Kevin Svetlitski 2023-04-21 10:49:18 -07:00
  • 521970fb2e Check for equality instead of assigning in asserts in hpa_from_pai. Eric Mueller 2023-04-17 18:59:25 -07:00
  • 5f64ad60cd Remove locked flag set in malloc_mutex_trylock guangli-dai 2023-01-18 15:43:43 -08:00
  • 434a68e221 Disallow decay during reentrancy. Qi Wang 2023-03-30 19:02:24 -07:00
  • e62aa478c7 Rearrange the bools in prof_tdata_t to save some bytes. Qi Wang 2023-03-28 20:09:41 -07:00
  • ce0b7ab6c8 Inline the storage for thread name in prof_tdata_t. Qi Wang 2023-03-28 18:02:34 -07:00
  • 6cab460a45 Add a multithreaded test for prof_sys_thread_name. Qi Wang 2023-03-28 23:12:55 -07:00
  • 5266152d79 Simplify the logic in ph_remove Amaury Séchet 2023-03-03 12:35:45 +00:00
  • be6da4f663 Do not maintain root->prev in ph_remove. Amaury Séchet 2023-03-03 12:08:51 +00:00
  • 543e2d61e6 Simplify the logic in ph_insert Amaury Séchet 2023-03-02 23:32:42 +00:00
  • 31e01a98f1 Fix the rdtscp detection bug and add prefix for the macro. guangli-dai 2022-12-14 17:23:41 -08:00
  • 8b64be3441 Explicit arena assignment in test_tcache_max. Qi Wang 2023-03-21 14:12:12 -07:00
  • 8e7353a19b Explicit arena assignment in test_thread_idle. Qi Wang 2023-03-21 14:02:30 -07:00
  • 45249cf5a9 Fix exception specification error for hosts using musl libc Marvin Schmidt 2022-09-27 07:00:13 +02:00
  • aba1645f2d configure: Handle *-linux-musl* hosts properly Marvin Schmidt 2022-09-27 07:03:14 +02:00
  • d503d72129 Add the missing descriptions in AC_DEFINE Qi Wang 2023-03-09 11:26:07 -08:00
  • 71bc1a3d91 Avoid assuming the arena id in test when percpu_arena is used. Qi Wang 2023-03-10 13:15:59 -08:00
  • f743690739 Remove unused mutex from hpa_central Amaury Séchet 2023-03-10 09:12:15 +00:00
  • 4edea8eb8e switch to https Chris Seymour 2023-02-25 14:52:22 +00:00
  • 09e4b38fb1 Use asm volatile during benchmarks. guangli-dai 2022-12-15 10:54:33 -08:00
  • e8b28908de [MSVC] support for Visual Studio 2019 and 2022 Fernando Pelliccioni 2022-09-23 11:34:05 -03:00
  • 4422f88d17 Makefile.in: link with g++ when cxx enabled barracuda156 2022-10-15 18:04:24 +08:00
  • c7805f1eb5 Add a header in HPA stats for the nonfull slabs. Qi Wang 2023-02-15 17:28:58 -08:00
  • b6125120ac Add an explicit name to the dedicated oversize arena. Qi Wang 2023-02-13 17:43:12 -08:00
  • 97b313c7d4 More conservative setting for /test/unit/background_thread_enable. Qi Wang 2022-12-15 14:36:04 -08:00
  • 5fd55837bb Fix thread_name updating for heap profiling. Qi Wang 2023-02-10 15:28:22 -08:00
  • 8580c65f81 Implement prof sample hooks "experimental.hooks.prof_sample(_free)". Qi Wang 2022-11-02 15:17:16 -07:00
  • a74acb57e8 Fix dividing 0 error in stress/cpp/microbench guangli-dai 2022-12-01 17:31:08 -08:00
  • e8f9f13811 Inline free and sdallocx into operator delete Guangli Dai 2022-09-19 17:05:55 -07:00
  • 06374d2a6a Benchmark operator delete guangli-dai 2022-11-03 16:55:15 -07:00
  • 14ad8205bf Update the ratio display in benchmark guangli-dai 2022-11-03 18:27:03 -07:00
  • 481bbfc990 Add a configure option --enable-force-getenv. Qi Wang 2022-11-02 16:09:06 -07:00
  • 143e9c4a2f Enable fast thread locals for dealloc-only threads. Qi Wang 2022-10-21 15:10:48 -07:00
  • be65438f20 jemalloc_internal_types.h: Use alloca if __STDC_NO_VLA__ is defined Paul Smith 2022-10-14 14:33:08 -04:00
  • 1897f185d2 Fix safety_check segfault in double free test divanorama 2022-09-26 09:46:34 +02:00
  • b04e7666f2 update PROFILING_INTERNALS.md Jordan Rome 2022-09-29 10:07:47 -04:00
  • 4c95c953e2 fix build for non linux/BSD platforms. David Carlier 2022-10-01 20:35:29 +01:00
  • 3de0c24859 Disable builtin malloc in tests divanorama 2022-09-29 23:35:59 +02:00
  • c0c9783ec9 Add vcpkg installation instructions Lily Wang 2022-09-09 02:04:23 -07:00
  • c9ac1f4701 Fix a bug in C++ integration test. Guangli Dai 2022-09-16 11:39:34 -07:00
  • ba19d2cb78 Add arena-level name. Guangli Dai 2022-09-01 16:42:56 -07:00
  • a0734fd6ee Making jemalloc max stack depth a runtime option Guangli Dai 2022-08-19 12:17:10 -07:00
  • 56ddbea270 error: implicit declaration of function 'pthread_create_fptr_init' is invalid in C99 Abael He 2022-08-25 11:12:08 +08:00
  • ce29b4c3d9 Refactor the remote / cross thread cache bin stats reading Guangli Dai 2022-08-12 11:31:07 -07:00
  • 42daa1ac44 Add double free detection using slab bitmap for debug build Guangli Dai 2022-08-09 16:39:02 -07:00
  • 36366f3c4c Add double free detection in thread cache for debug build Ivan Zaitsev 2022-07-20 15:25:56 -07:00
  • adc70c0511 update travis David CARLIER 2022-06-11 07:57:22 +01:00
  • 4e12d21c8d enabled percpu_arena settings on macOs. David CARLIER 2022-06-11 07:04:26 +01:00
  • 58478412be OpenBSD build fix. still no cpu affinity. David Carlier 2022-06-07 21:43:08 +01:00
  • a1c7d9c046 Add the missing opt.cache_oblivious handling. Qi Wang 2022-07-12 12:08:10 -07:00
  • 41a859ef73 Remove duplicated words in documentation Jasmin Parent 2022-07-02 14:44:46 -04:00
  • cb578bbe01 Fix possible "nmalloc >= ndalloc" assertion Azat Khuzhin 2022-07-03 20:23:59 +03:00
  • a9215bf18a CI update FreeBSD version. David CARLIER 2022-06-18 17:17:26 +01:00
  • 3713932836 Update building for Windows instructions Alex Lapenkou 2022-06-13 15:32:33 -07:00
  • 4fc5c4fbac New configure option '--enable-pageid' for Linux David Carlier 2022-06-01 22:04:11 +01:00
  • b950934916 Enable retain by default on macOS. Qi Wang 2022-06-08 14:24:55 -07:00
  • df8f7d10af Implement malloc_getcpu for amd64 and arm64 macOS David Carlier 2022-05-20 20:14:33 +01:00
  • df7ad8a9b6 Revert "Echo installed files via verbose 'install' command" Alex Lapenkou 2022-06-07 12:25:44 -07:00
  • 70e3735f3a jemalloc: fix PowerPC definitions in quantum.h barracuda156 2022-05-21 23:36:15 +08:00
  • 5b1f2cc5d7 Implement pvalloc replacement Alex Lapenkou 2022-04-19 19:51:27 -07:00
  • cd5aaf308a Improve the failure message upon opt_experimental_infallible_new. Qi Wang 2022-05-17 13:11:44 -07:00
  • 70d4102f48 Fix compiling edata.h with MSVC Yuriy Chernyshov 2022-05-09 15:36:49 +03:00
  • 54eaed1d8b Merge branch 'dev' 5.3.0 Qi Wang 2022-05-06 11:28:25 -07:00
  • 304c919829 Update ChangeLog for 5.3.0. Qi Wang 2022-04-27 18:05:07 -07:00
  • 8cb814629a Make the default option of zero realloc match the system allocator. Qi Wang 2022-05-03 15:41:43 -07:00
  • 66c889500a Make test/unit/background_thread_enable more conservative. Qi Wang 2022-05-04 11:38:57 -07:00
  • a7d73dd4c9 Update TUNING.md to include the new tcache_max option. Qi Wang 2022-05-03 14:28:30 -07:00
  • 254b011915 Small doc tweak of opt.trust_madvise. Qi Wang 2022-04-28 17:40:37 -07:00
  • f5e840bbf0 Minor typo fix in doc. Qi Wang 2022-04-27 18:16:11 -07:00
  • ceca07d2ca Correct the name of stats.mutexes.prof_thds_data in doc. Qi Wang 2022-04-25 14:17:52 -07:00
  • 391bad4b95 Avoid abort() in test/integration/cpp/infallible_new_true. Qi Wang 2022-04-21 16:31:33 -07:00
  • 9a242f16d9 fix some typos cuishuang 2022-04-24 23:32:44 +08:00
  • 0e29ad4efa Rename zero_realloc option "strict" to "alloc". Qi Wang 2022-04-15 12:17:59 -07:00
  • 5841b6dbe7 Update FreeBSD image to 12.3 for cirrus ci. Qi Wang 2022-04-19 14:43:26 -07:00
  • ed5fc14b28 Use volatile to workaround buffer overflow false positives. Qi Wang 2022-03-23 16:31:40 -07:00
  • 25517b852e Reoreder TravisCI jobs to optimize CI time Alex Lapenkou 2022-03-21 15:11:34 -07:00
  • 8a49b62e78 Enable TravisCI for Windows Alex Lapenkou 2022-03-21 14:14:34 -07:00
  • fdb6c10162 Add FreeBSD to TravisCI Alex Lapenkou 2022-01-06 19:31:09 -08:00
  • a93931537e Do not disable SEC by default for 64k pages platforms Alex Lapenkou 2022-03-24 18:07:27 -07:00
  • eaaa368bab Add comments and use meaningful vars in sz_psz2ind. Charles 2022-02-01 20:26:39 +08:00
  • 5bf03f8ce5 Implement PAGE_FLOOR macro Alex Lapenkou 2022-03-22 14:33:04 -07:00
  • 52631c90f6 Fix size class calculation for sec Alex Lapenkou 2022-03-14 20:17:14 -07:00
  • 7ae0f15c59 Add a default page size when cross-compile for Apple M1. Qi Wang 2022-03-21 12:15:16 -07:00
  • eb65d1b078 Fix FreeBSD system jemalloc TSD cleanup Alex Lapenkov 2022-01-22 10:14:16 -08:00
  • 78b58379c8 Fix possible "nmalloc >= ndalloc" assertion. Azat Khuzhin 2022-03-01 18:31:30 +03:00
  • ca709c3139 Fix failed assertion due to racy memory access Alex Lapenkou 2022-02-14 17:57:14 -08:00
  • 063d134aeb Properly detect background thread support on Darwin. Qi Wang 2022-02-14 17:30:11 -08:00