daan
|
8607ff617c
|
add environment option mi_reserve_os_memory
|
2020-09-08 17:16:31 -07:00 |
|
daan
|
14b8d27386
|
track pinned memory separately from large os pages
|
2020-09-08 16:46:03 -07:00 |
|
daan
|
36da7e91c5
|
Merge branch 'dev' into dev-slice
|
2020-09-05 18:17:22 -07:00 |
|
daan
|
f09549c98f
|
use main stats for thread count
|
2020-09-05 18:00:36 -07:00 |
|
daan
|
03071dec0f
|
merge from dev-atomic with new atomic interface
|
2020-09-03 12:13:09 -07:00 |
|
daan
|
b4825372ab
|
small compilation warning fixes (extra semicolon etc)
|
2020-08-29 19:30:38 -07:00 |
|
daan
|
2cffc3b851
|
merge from dev
|
2020-08-27 22:43:57 -07:00 |
|
daan
|
9e7322f900
|
collect memory on process exit for statically linked library (issue #281
|
2020-07-29 21:27:01 -07:00 |
|
Wanja Vogel
|
2599512e8f
|
use stored pointer #257
|
2020-06-18 18:20:26 +02:00 |
|
daan
|
38c264ccdf
|
merge from dev
|
2020-06-17 19:25:03 -07:00 |
|
daan
|
5a6d9ba807
|
fix handling of failing to allocate heap metadata on thread creation, issue #257
|
2020-06-17 19:07:32 -07:00 |
|
daan
|
32b3608581
|
simplify initial main tld declaration
|
2020-06-17 13:12:05 -07:00 |
|
Haneef Mubarak
|
429025634e
|
resolve #201 with a platform-selective REP MOVSB implementation
|
2020-05-26 16:04:28 -07:00 |
|
daan
|
53aa46890a
|
merge from dev
|
2020-05-05 10:54:59 -07:00 |
|
daan
|
a278db940b
|
improve thread-id check for thread local FLS callbacks on Windows with static linking
|
2020-05-05 10:10:46 -07:00 |
|
daan
|
7c24edfeb0
|
add thread-id check for thread local FLS callbacks on Windows with static linking; found by @jasongibson
|
2020-05-04 14:31:32 -07:00 |
|
daan
|
1b0de9b4cf
|
merge from dev
|
2020-04-28 16:22:38 -07:00 |
|
daan
|
69a0846478
|
add MI_PADDING flag to cmake to supress use of padding in debug mode
|
2020-04-07 10:01:18 -07:00 |
|
daan
|
34d3b8c47f
|
add version check for mingw compilation and add FlsAlloc definitions if required
|
2020-04-06 11:25:25 -07:00 |
|
daan
|
1f396e64a0
|
merge from dev
|
2020-03-16 16:41:21 -07:00 |
|
daan
|
7745dde8d2
|
allow retirement for all object sizes (issue #212)
|
2020-03-16 15:31:37 -07:00 |
|
daan
|
5bc276c23b
|
fix issue #208: dynamic unloading of DLL with statically linked mimalloc
|
2020-03-06 16:24:51 -08:00 |
|
daan
|
ab202fbe73
|
never free the main heap structures; issues #207
|
2020-03-06 15:53:07 -08:00 |
|
daan
|
8a2a52843d
|
delete all thread owned heaps when a thread is terminated (issue #202)
|
2020-02-13 12:15:23 -08:00 |
|
daan
|
f3c47c7c91
|
improved malloc zone handling on macOSX (not working yet)
|
2020-02-02 21:03:09 -08:00 |
|
daan
|
8bc20631e4
|
fixes for freeBSD
|
2020-02-02 13:25:26 -08:00 |
|
daan
|
d2db9f1fc2
|
update thread local storage
|
2020-02-02 13:12:22 -08:00 |
|
daan
|
0989562c2d
|
add initial fast tls for macOSX
|
2020-02-01 16:57:00 -08:00 |
|
daan
|
a169cf0e3f
|
merge dev-exp; add pthread TLS support for macOSX
|
2020-02-01 14:10:10 -08:00 |
|
daan
|
aa68b8cbc7
|
improve encoding of padding canary and buffer overflow detection
|
2020-02-01 12:16:37 -08:00 |
|
daan
|
40f1e1e07b
|
byte-precise heap block overflow checking with encoded padding
|
2020-01-31 23:39:51 -08:00 |
|
daan
|
ed1c8a203a
|
improve performance with tls recursion counter
|
2020-01-29 23:08:52 -08:00 |
|
daan
|
03b363a1c2
|
first working tls on macOS using interpose; still slow
|
2020-01-29 22:46:44 -08:00 |
|
daan
|
b50bec463d
|
merge from dev-exp; better abandoned reclamation
|
2020-01-27 22:12:23 -08:00 |
|
daan
|
d4927adddc
|
add extra assertion that all segments are free on thread termination
|
2020-01-25 14:30:02 -08:00 |
|
daan
|
47300eeda3
|
avoid memset
|
2020-01-24 20:17:33 -08:00 |
|
Daan Leijen
|
caa5e51a67
|
align size of page_t, increase slices per segment
|
2020-01-22 11:29:32 -08:00 |
|
daan
|
394a7a92ab
|
merge from dev
|
2020-01-20 19:06:08 -08:00 |
|
daan
|
dc58388968
|
Add ability to register custom error function called on various error conditions; including ENOMEM
|
2020-01-17 19:59:55 -08:00 |
|
daan
|
3f8b8b7a55
|
initialize thread_delayed_free field atomically
|
2020-01-16 16:45:34 -08:00 |
|
daan
|
7a1e86fc20
|
merge from dev
|
2020-01-15 18:03:37 -08:00 |
|
daan
|
0099707af9
|
use delayed free for all pages; reduce size of the page structure for improved address calculation
|
2020-01-15 17:19:01 -08:00 |
|
daan
|
c9b5ac80b3
|
update page reset queue to just do delayed page resets
|
2020-01-15 12:00:44 -08:00 |
|
daan
|
783e3377f7
|
add output argument to stat printing
|
2020-01-15 10:53:54 -08:00 |
|
daan
|
941c55ee42
|
wip: first implementation of page free list on segments for effecient delayed page reset
|
2020-01-14 21:47:18 -08:00 |
|
daan
|
88b141cf1f
|
ensure proper padding for the page structure
|
2020-01-13 20:48:37 -08:00 |
|
daan
|
4a27ea1643
|
merge from dev
|
2020-01-13 18:01:34 -08:00 |
|
daan
|
eeb623e6af
|
increase retire limit, collect retired pages
|
2020-01-03 17:06:41 -08:00 |
|
daan
|
e3391d9a53
|
stronger encoding of free lists using two keys per page
|
2019-12-28 00:57:42 -08:00 |
|
daan
|
ba87a39d9f
|
updated random cookie generation using OS primitives and chacha20
|
2019-12-22 19:37:49 -08:00 |
|