Commit Graph

  • 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
  • 8b81d3f214 Fix the initialization of last_event in thread event init. Qi Wang 2021-11-15 15:30:54 -08:00
  • 6bdb4f5ab0 Check prof_active in addtion to opt_prof during batch_alloc(). Qi Wang 2021-11-11 20:35:37 -08:00
  • 37342a4d32 Add ctl interface for experimental_infallible_new. Qi Wang 2021-11-04 16:39:06 -07:00
  • 6cb585b13a San: Unguard guarded slabs during arena destruction Alex Lapenkou 2021-11-02 15:56:36 -07:00
  • b6a7a535b3 Optimize away a branch on the free fastpath. Qi Wang 2021-10-20 14:17:57 -07:00
  • 4d56aaeca5 Optimize away the tsd_fast() check on free fastpath. Qi Wang 2021-10-19 17:14:08 -07:00
  • 26f5257b88 Remove declaration of an undefined function Ashutosh Grewal 2021-10-15 19:23:31 -07:00
  • 2159615419 Add new architecture loongarch. Wang JinLong 2021-10-18 09:57:27 +08:00
  • 8daac7958f Redefine functions with test hooks only for tests Alex Lapenkou 2021-09-22 14:59:53 -07:00
  • c9ebff0fd6 Initialize deferred_work_generated Alex Lapenkou 2021-10-06 15:22:38 -07:00
  • 912324a1ac Add debug check outside of the loop in hpa_alloc_batch. Stan Angelov 2021-09-30 17:37:59 -07:00
  • cf9724531a Darwin malloc_size override support proposal. David CARLIER 2021-02-17 20:40:11 +00:00
  • ab0f1604b4 Delay the atexit call to prof_log_start(). Qi Wang 2021-09-28 15:41:10 -07:00
  • 11b6db7448 CPU affinity on BSD platforms support. David Carlier 2020-10-25 15:48:41 +00:00
  • 83f3294027 Small refactors around 7bb05e0. Qi Wang 2021-09-27 13:43:24 -07:00
  • 3c4b717ffc Remove unused header base_structs.h. Qi Wang 2021-09-27 13:19:37 -07:00
  • deb8e62a83 Implement guard pages. Qi Wang 2021-04-26 14:22:25 -07:00
  • 7bb05e04be add experimental.arenas_create_ext mallctl Piotr Balcer 2021-08-23 14:03:35 +02:00
  • a9031a0970 Allow setting a dump hook Alex Lapenkou 2021-09-01 13:00:01 -07:00
  • f7d46b8119 Allow setting custom backtrace hook Alex Lapenkou 2021-08-30 14:05:56 -07:00
  • 523cfa55c5 Guard prof related mallctl with opt_prof. Qi Wang 2021-09-08 10:58:04 -07:00
  • 6e848a005e Remove opt_background_thread_hpa_interval_max_ms Alex Lapenkou 2021-09-10 17:32:23 -07:00
  • 8229cc77c5 Wake up background threads on demand Alex Lapenkou 2021-08-18 19:24:37 -07:00
  • 97da57c13a HPA: Add min_purge_interval_ms option Alex Lapenkou 2021-08-18 12:22:43 -07:00
  • b8b8027f19 Allow PAI to calculate time until deferred work Alex Lapenkou 2021-08-06 14:53:05 -07:00
  • 26140dd246 Reject --enable-prof-libunwind without --enable-prof Alex Lapenkou 2021-09-01 10:45:16 -07:00
  • e5062e9fb9 Makefile.in: make sure doc generated before install Mingli Yu 2021-08-10 13:02:18 +00:00
  • 8b24cb8fdf Don't assume initialized arena in the default alloc hook. Qi Wang 2021-08-23 15:55:54 -07:00
  • c01a885e94 HPA: Correctly calculate retained pages Alex Lapenkou 2021-08-19 15:16:11 -07:00
  • 2c625d5cd9 Fix warnings when compiled with clang Alex Lapenkou 2021-08-12 19:02:12 -07:00
  • 9d02bdc883 Port gen_run_tests.py to python3 Alex Lapenkou 2021-08-12 19:21:56 -07:00
  • 5884a076fb Rename prof.dump_prefix to prof.prefix Qi Wang 2021-08-12 15:48:02 -07:00
  • 6a01600712 Add Cirrus CI testing matrix Qi Wang 2021-08-06 17:15:56 -07:00
  • f58064b932 Verify that HPA is used before calling its functions Alex Lapenkou 2021-08-05 14:28:32 -07:00
  • 27f71242b7 Mutex: Tweak internal spin count. David Goldblatt 2021-08-05 10:27:25 -07:00
  • 6f41ba55ee Mutex: Make spin count configurable. David Goldblatt 2021-08-04 12:53:39 -07:00
  • dae24589bc PH: Insert-below-min fast-path. David Goldblatt 2021-07-26 13:51:38 -07:00
  • 40d53e007c ph: Add aux-list counting and pre-merging. David Goldblatt 2021-07-26 11:52:42 -07:00
  • dcb7b83fac Eset: Cache summary information for heap edatas. David Goldblatt 2021-07-20 10:20:44 -07:00
  • 252e0942d0 Eset: Pull per-pszind data into structs. David Goldblatt 2021-07-20 09:26:09 -07:00
  • dc0a4b8b2f Edata: Pull out comparison fields into a summary. David Goldblatt 2021-07-20 09:02:17 -07:00
  • 0170dd198a Edata: Fix a couple typos. David Goldblatt 2021-07-20 08:46:19 -07:00
  • 08a4cc0969 Pairing heap: inline functions instead of macros. David Goldblatt 2021-07-19 16:47:10 -07:00
  • 92a1e38f52 edata_cache: Allow unbounded fast caching. David Goldblatt 2021-07-23 15:29:43 -07:00