Daan
|
fae61ed946
|
fix assertion in mi_free_size (issue #754)
|
2025-04-13 19:56:49 -07:00 |
|
Daan
|
7543e8989a
|
validate pointer before assertion in mi_free_size (issue #754)
|
2025-04-13 19:49:47 -07:00 |
|
Daan
|
a077311a5e
|
improve tracking of malloc_requested count
|
2025-03-21 19:40:44 -07:00 |
|
Daan Leijen
|
1b749ea7d8
|
clean up statistics
|
2025-03-01 20:51:44 -08:00 |
|
daanx
|
d57cb0765d
|
add guarded objects that are sampled (and fit a size range). guarded sample rate etc can be set per heap as well as defaulted with options
|
2024-11-17 22:45:09 -08:00 |
|
daanx
|
8b6017d976
|
rename mi_debug_guarded_ to mi_guarded_
|
2024-11-16 22:42:32 -08:00 |
|
daanx
|
498c92e348
|
update guarded implementation to use block tags
|
2024-11-16 21:15:50 -08:00 |
|
Daan
|
5f35933331
|
add 0 byte to canary to prevent spurious read overflow to read the canary (issue #951, pr #953)
|
2024-10-27 21:39:07 -07:00 |
|
Daan
|
ee92b337b9
|
do not reclaim segments if free-ing from a thread with an already abandoned heap (issue #944)
|
2024-10-24 00:13:07 -07:00 |
|
daanx
|
8899a11c70
|
clean up guarded pages code
|
2024-08-20 11:09:17 -07:00 |
|
daanx
|
635cf7af6a
|
fix multi-threaded free to unprotect guarded blocks
|
2024-08-20 09:55:57 -07:00 |
|
daanx
|
0c19eb60cf
|
initial working guarded pages
|
2024-08-19 21:21:40 -07:00 |
|
daanx
|
f7ba9d9da0
|
refactor arena-abandoned to be an include for backward compat with existing build scripts
|
2024-06-03 18:04:59 -07:00 |
|
daanx
|
d9aa19a763
|
add support for sub-processes (to supportpython/cpython#113717)
|
2024-06-01 15:57:18 -07:00 |
|
Daan
|
88aa84727d
|
fix spelling errors (pr #710)
|
2024-04-20 17:12:09 -07:00 |
|
Daan
|
a522899236
|
fix compilation with ASAN
|
2024-03-25 16:32:19 -07:00 |
|
Daan
|
1d8997236c
|
add comment on concurrent access in ptr_unalign
|
2024-03-25 16:28:15 -07:00 |
|
Daan Leijen
|
460278f110
|
comments
|
2024-03-25 16:02:20 -07:00 |
|
Daan Leijen
|
9c96d05ee4
|
abandoned reclaim on free is on by default
|
2024-03-24 14:52:50 -07:00 |
|
Daan Leijen
|
a8a53e3e85
|
fix double counting of free-ing for non-thread-local free calls
|
2024-03-24 14:50:15 -07:00 |
|
Daan Leijen
|
b5665f0eec
|
add full block_size and page_start to page info
|
2024-03-24 14:17:17 -07:00 |
|
Daan Leijen
|
07ae64bd81
|
faster check for NULL in mi_free by combining with masking
|
2024-03-24 10:39:22 -07:00 |
|
Daan Leijen
|
86475a7b9b
|
use MI_MAX_ALIGN_SIZE to adjust block_offset_adj
|
2024-03-24 09:03:01 -07:00 |
|
Daan Leijen
|
4f809aadb7
|
use free field for expiration instead of used
|
2024-03-24 08:29:56 -07:00 |
|
Daan Leijen
|
60c4a0fe56
|
fix compilation warnings for new uint16_t size for used field
|
2024-03-24 08:10:35 -07:00 |
|
Daan
|
34d37fa204
|
nicer organisation of free.c
|
2024-03-18 03:47:54 -07:00 |
|
Daan
|
d08b4219e9
|
improve used decrement code gen
|
2024-03-18 03:32:06 -07:00 |
|
Daan
|
cc809b0cd4
|
take 16 bits from used field to create a fast unalign path
|
2024-03-18 01:40:03 -07:00 |
|
Daan
|
355f44f373
|
split free routines in a separate file
|
2024-03-17 08:44:11 -07:00 |
|