Commit Graph

  • 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
  • a4e81221cc Document 'make uninstall' Alex Lapenkou 2022-01-31 12:28:15 -08:00
  • 20f9802e4f Avoid overflow warnings in test/unit/safety_check. Qi Wang 2022-01-26 18:40:49 -08:00
  • 8c59c44ffa Add a dependency checking step at the end of malloc_conf_init. Qi Wang 2022-01-26 14:05:04 -08:00
  • efc539c040 Initialize prof_leak during prof init. Qi Wang 2022-01-21 17:56:12 -08:00
  • 002f0e9397 Disable TravisCI jobs generation for Windows Alex Lapenkou 2022-01-10 17:29:17 -08:00
  • 01a293fc08 Add Windows to TravisCI Alex Lapenkou 2021-12-21 16:15:14 -08:00
  • b798fabdf7 Add prof_leak_error option yunxu 2022-01-12 18:46:34 +08:00
  • eafd2ac39f Forbid spaces in prefix and exec_prefix Alex Lapenkou 2022-01-18 17:20:57 -08:00
  • 36a09ba2c7 Forbid spaces in install suffix Alex Lapenkou 2022-01-18 14:08:01 -08:00
  • 640c3c72e6 Add support for 'make uninstall' Shuduo Sang 2021-06-02 12:50:46 +08:00
  • f15d8f3b41 Echo installed files via verbose 'install' command Alex Lapenkou 2022-01-15 13:51:33 -08:00
  • eb196815d6 Avoid calculating size of size class twice & delete sc_data_global. Charles 2022-01-17 23:18:54 +08:00
  • 011449f17b Fix doc build with install-suffix. Qi Wang 2022-01-11 14:54:33 -08:00
  • 8b49eb132e Fix the HELP_STRING of --enable-doc. Qi Wang 2022-01-11 15:02:44 -08:00
  • ddb170b1d9 Simplify arena_migrate() to take arena_t* instead of indices. Qi Wang 2022-01-10 13:34:07 -08:00
  • 648b3b9f76 Lower the num_threads in the stress test of test/unit/prof_recent Qi Wang 2022-01-07 17:11:18 -08:00
  • d66162e032 Fix the extent state checking on the merge error path. Qi Wang 2022-01-07 11:41:24 -08:00
  • c9946fa7e6 FreeBSD also needs the OS-X "don't declare system functions as nothrow" fix since it also has jemalloc in the base system Craig Leres 2022-01-04 17:29:31 -08:00
  • 89fe8ee6bf Use the isb instruction instead of yield for spin locks on arm Jonathan Swinney 2022-01-06 17:09:34 +00:00
  • 6230cc88b6 Add background thread sleep retry in test/unit/hpa_background_thread Qi Wang 2022-01-06 17:46:55 -08:00
  • 61978bbe69 Purge all if the last thread migrated away from an arena. Qi Wang 2022-01-06 16:54:01 -08:00
  • c91e62dd37 #include <features.h> as requested Yuriy Chernyshov 2022-01-05 21:19:50 +03:00
  • 18510020e7 Fix symbol conflict with musl libc Yuriy Chernyshov 2021-12-27 13:39:39 +03:00
  • f509703af5 Fix two conversion warnings in tcache. Qi Wang 2021-12-30 14:39:42 -08:00
  • 067c2da074 Fix unnecessary returns in san_(un)guard_pages_two_sided. Qi Wang 2021-12-30 14:23:44 -08:00
  • d660683d3d Fix test config of lg_san_uaf_align. Qi Wang 2021-12-30 13:27:23 -08:00
  • eabe889162 Rename full_position to low_bound in cache_bin.h. Qi Wang 2021-12-28 13:38:12 -08:00
  • dfdd7562f5 Rename san_enabled() to san_guard_enabled(). Qi Wang 2021-12-28 13:01:17 -08:00
  • 01d61a3c6f Fix a conversion warning. Qi Wang 2021-12-13 22:05:13 -08:00
  • 8b34a788b5 Fix an used-uninitialized warning (false positive). Qi Wang 2021-12-10 20:31:28 -08:00
  • e491cef9ab Add stats for stashed bytes in tcache. Qi Wang 2021-11-30 14:39:34 -08:00
  • b75822bc6e Implement use-after-free detection using junk and stash. Qi Wang 2021-10-18 17:33:15 -07:00
  • 06aac61c4b Split the core logic of tcache flush into a separate function. Qi Wang 2021-11-29 15:45:24 -08:00
  • d038160f3b Fix shadowed variable usage. Qi Wang 2021-12-22 17:24:58 -08:00
  • bd70d8fc0f Add the profiling settings for tests explicit. Qi Wang 2021-11-15 15:23:47 -08:00
  • e491df1d2f Fix warnings when using autoheader. Joshua Watt 2021-12-15 10:49:01 -06:00
  • 60b9637cc0 Only invoke malloc_cpu_count_is_deterministic() when necessary. Qi Wang 2021-12-21 15:43:30 -08:00
  • 837b37c4ce Fix the time-since computation in HPA. Qi Wang 2021-12-20 15:04:12 -08:00
  • 310af725b0 Add nstime_ns_since which obtains the duration since the input time. Qi Wang 2021-12-20 14:39:24 -08:00
  • cafe9a3158 Disable percpu arena in case of non deterministic CPU count Azat Khuzhin 2021-12-17 21:00:21 +03:00
  • bb5052ce90 Fix base_ehooks_get_for_metadata mweisgut 2021-12-17 04:33:30 -07:00
  • 9015e129bd Update visual studio projects Alex Lapenkov 2021-12-13 15:07:23 -08:00
  • d90655390f San: Create a function for committing and zeroing Alex Lapenkou 2021-11-22 16:57:56 -08:00
  • 800ce49c19 San: Bump alloc frequently reused guarded allocations Alex Lapenkou 2021-10-28 12:08:10 -07:00
  • f56f5b9930 Pass 'frequent_reuse' hint to PAI Alex Lapenkou 2021-11-05 14:19:39 -07:00
  • 2c70e8d351 Rename 'arena_decay' to 'arena_util' Alex Lapenkou 2021-10-25 20:19:08 -07:00
  • 0f6da1257d San: Implement bump alloc Alex Lapenkou 2021-11-04 11:10:19 -07:00
  • 34b00f8969 San: Avoid running san tests with prof enabled Alex Lapenkou 2021-10-22 17:23:09 -07:00
  • 62f9c54d2a San: Rename 'guard' to 'san' Alex Lapenkou 2021-10-22 17:40:42 -07:00
  • d9bbf539ff CI: Refactor gen_travis.py Alex Lapenkou 2021-10-13 12:35:52 -07:00
  • 7dcf77809c Mark slab as true on sized dealloc fast path. Qi Wang 2021-11-30 15:58:03 -08:00
  • af6ee27c0d Enforce abort_conf:true when malloc_conf is not fully recognized. Qi Wang 2021-12-03 12:06:16 -08:00
  • 113e8e68e1 freebsd 14 build fix proposal. David CARLIER 2021-12-02 16:40:05 +00:00
  • 3b3257a709 Correct opt.prof_leak documentation Alex Lapenkou 2021-11-22 18:42:05 -08:00
  • cdabe908d0 Track the initialized state of nstime_t on debug build. Qi Wang 2021-11-16 14:51:07 -08:00
  • 400c59895a Fix uninitialized nstime reading / updating on the stack in hpa. Qi Wang 2021-11-16 12:40:34 -08:00