daan
|
e3744fa3fe
|
merge from dev
|
2020-05-05 11:00:36 -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
|
69a0846478
|
add MI_PADDING flag to cmake to supress use of padding in debug mode
|
2020-04-07 10:01:18 -07:00 |
|
daan
|
19cae48556
|
merge from dev
|
2020-04-06 12:59:29 -07:00 |
|
daan
|
afc4f79a69
|
fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221)
|
2020-04-06 12:15:12 -07:00 |
|
daan
|
0a3e5bb699
|
further fixes to compile on mingw without warnings (issue #217)
|
2020-04-06 10:56:53 -07:00 |
|
daan
|
faa83a1c47
|
fix issue number: 212 to #221
|
2020-04-06 09:19:26 -07:00 |
|
daan
|
c7e9cfd3ed
|
add test case for issue #212
|
2020-04-06 08:32:25 -07:00 |
|
daan
|
2d52b967bc
|
merge from dev
|
2020-03-16 16:07:52 -07:00 |
|
daan
|
ec61224db0
|
fix padding issue with zero sized allocation (issue #209)
|
2020-02-18 20:05:30 -08:00 |
|
daan
|
ba3e32cb63
|
fix test build on linux
|
2020-02-15 13:15:45 -08:00 |
|
daan
|
e9c5b31b1c
|
keep dbg entries in release build to allow linking with both
|
2020-02-14 11:08:25 -08:00 |
|
daan
|
c04881ef8a
|
add getcwd and fullpath wrappers
|
2020-02-13 17:59:43 -08:00 |
|
daan
|
ff2fe673e5
|
merge with dev
|
2020-02-13 14:32:54 -08:00 |
|
daan
|
e981e9227e
|
ensure thread delayed freeing is correct during heap_absorb; #204
|
2020-02-13 13:12:19 -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
|
946a71c4a9
|
fix issue #204 (and #205) by doing thread delayed free after absorbing the pages
|
2020-02-13 11:37:48 -08:00 |
|
daan
|
f42b8526d0
|
fix wrong __declspec(restrict) and __attribute__((malloc)) attributes on reallocation functions
|
2020-02-13 10:36:39 -08:00 |
|
daan
|
7d098836eb
|
wip: basic tracking of allocation locations is working
|
2020-02-13 00:43:34 -08:00 |
|
daan
|
2fbe0e8842
|
wip: improving tracking of allocation locations
|
2020-02-11 20:27:09 -08:00 |
|
Daan Leijen
|
21a95c7449
|
wip: track allocation locations in debug mode
|
2020-02-11 12:19:22 -08:00 |
|
daan
|
4090561975
|
wip: initial work on tracking source of an allocation in debug mode
|
2020-02-11 09:37:26 -08:00 |
|
daan
|
5bc1c52ae6
|
update documentation
|
2020-01-20 17:34:29 -08:00 |
|
daan
|
146899af8a
|
add missing members to stl allocator (#193)
|
2020-01-20 15:27:05 -08:00 |
|
daan
|
a69016c33e
|
improve and document numa support
|
2019-11-02 10:30:16 -07:00 |
|
daan
|
ff9f29660b
|
remove double_free call
|
2019-10-28 12:27:32 -07:00 |
|
daan
|
5dfdc092b5
|
improve windows warning message
|
2019-10-28 12:26:57 -07:00 |
|
daan
|
2affdbbd2e
|
stronger secure mode when defining MI_SECURE=4: checks for double free, corrupted free list, and invalid pointer frees. Performance is impacted but not too much -- more perf testing is needed
|
2019-10-18 18:11:04 -07:00 |
|
daan
|
0e188a18a7
|
update test to match malloc with free
|
2019-10-17 09:21:20 -07:00 |
|
daan
|
136e120d51
|
update redirection modules
|
2019-09-01 17:21:58 -07:00 |
|
daan
|
3d9d70bce0
|
add new redirection module; fix environment reading at preloading
|
2019-08-10 09:39:36 -07:00 |
|
daan
|
d1f708af59
|
add MIMALLOC_OVERRIDE setting to disable redirection at runtime
|
2019-07-26 13:01:43 -07:00 |
|
daan
|
7c26ce9280
|
ensure C++ compilation on windows
|
2019-07-22 10:27:14 -07:00 |
|
daan
|
e4caee5f55
|
update test files and overriding
|
2019-07-22 01:36:16 -07:00 |
|
daan
|
93c8a5b693
|
full overriding api supported
|
2019-07-18 21:12:40 -07:00 |
|
daan
|
306a542336
|
add mimalloc-override header file and use C++ compilation with msvc
|
2019-07-18 20:28:29 -07:00 |
|
daan
|
12e0a04052
|
compile as C++ under msvc
|
2019-07-18 19:52:29 -07:00 |
|
daan
|
c228ecefd8
|
update for new dynamic direction on windows 64-bit
|
2019-07-18 18:59:32 -07:00 |
|
daan
|
461b8aed80
|
more complete C++ support for compliance and performance
|
2019-07-14 19:56:33 -07:00 |
|
daan
|
c3528203b5
|
fix compilation with C++, fix overrides in C++ to adhere to the spec (issue #26)
|
2019-07-07 18:11:21 -07:00 |
|
daan
|
dd59a917ce
|
Expose mi prefixed public standard implementations of various posix, unix, and c++ allocation functions. See issue #75
|
2019-07-07 13:44:33 -07:00 |
|
daan
|
3039dbfcdd
|
for windows dynamic override, add standard api override and stop patching new/delete (for now)
|
2019-07-04 09:29:33 -07:00 |
|
daan
|
9390642879
|
fix windows dynamic malloc overried when both ucrtbase and msvcrt are loaded; also fix virtualalloc2 on 32-bit
|
2019-07-03 13:00:43 -07:00 |
|
daan
|
26a874eb3f
|
initial checkin
|
2019-06-19 16:26:12 -07:00 |
|