This website requires JavaScript.
e255984595
[+] primcpp.cpp with an autime passthrough for _mi_prim_clock_now [*] Fix regression [-] remove thread destruction hooks
master
Jamie Reece Wilson
2023-10-28 15:07:48 +0100
8654ea28d6
[*] Update from v1.6.7 (2020-09-24) to v2.1.2 (2023-04-24)
Jamie Reece Wilson
2023-10-26 16:57:45 +0100
7fe74ec057
[*] drop win32 requirements
Jamie Reece Wilson
2023-10-11 01:47:20 +0100
ff62c6ffea
[*] always link to the aurora runtime heap
Jamie Reece Wilson
2023-08-26 21:56:01 +0100
18c0ff282b
[*] Further drop OS requirements
Jamie Reece Wilson
2023-07-24 11:40:02 +0100
74d629643a
[*] Remove OS randomness in favour of Aurora Runtimes LibTomCrypt helper. I'm sick of seeing warnings on deinit/process shutdown.
Jamie Reece Wilson
2023-07-11 17:41:40 +0100
928a568c95
Fix typo
Reece
2021-06-04 19:26:53 +0100
12b85694b3
Fix unix mi_decl_export macro for unix targets
J Reece Wilson
2020-10-15 08:33:28 +0100
fcb90a08c6
.hpp -> .h, .hpp now contains cpp defintions. bug fix. never use virtualloc if restricted
J Reece Wilson
2020-10-03 09:25:57 +0100
06042c079b
added [std::]alloc_aligned/free redundency for restricted platforms, removed 'overrides'
J Reece Wilson
2020-10-02 10:17:12 +0100
13a4030619
bump version to 1.6.7
daan
2020-09-24 16:30:40 -0700
1233de7388
use relaxed load for region count as that is monotonic
daan
2020-09-24 16:29:41 -0700
44d030ba9d
fuse used decrement with test for slightly better codegen
daan
2020-09-24 16:28:25 -0700
abcaa4a4f2
Update readme.md
Daan
2020-09-24 10:38:18 -0700
b5196e5971
further updates to documentation
daan
2020-09-24 10:33:33 -0700
64730118d3
Merge branch 'master' of https://github.com/microsoft/mimalloc
daan
2020-09-24 10:26:14 -0700
229fbac770
update documentation
daan
2020-09-24 10:26:08 -0700
eb1e4817ef
Update readme.md
Daan
2020-09-24 10:18:00 -0700
6adb919085
bump version to 1.6.6
daan
2020-09-24 10:14:10 -0700
f88b4b4c27
extend mi_process_info to include elapsed time
daan
2020-09-24 10:13:25 -0700
41683071c1
update readme
daan
2020-09-24 09:05:01 -0700
4d3ddcfc51
update readme for upcoming release; add acknowledgements
daan
2020-09-23 20:37:17 -0700
1adec58c83
fix spelling
daan
2020-09-23 20:02:24 -0700
46239cf0c2
Merge branch 'master' into dev
daan
2020-09-23 20:00:37 -0700
64a3d24dcd
bump version to 1.6.5
daan
2020-09-23 20:00:23 -0700
5cd5423108
Merge pull request #297 from Shivam7-1/patch-2
Daan
2020-09-14 09:13:20 -0700
6d47e65b78
Merge pull request #302 from devnexen/haiku_build_fix
Daan
2020-09-14 09:11:25 -0700
8ede0f9ba1
Merge pull request #304 from isanych/do_not_require_version
Daan
2020-09-14 09:08:05 -0700
840eba2874
improve handling of out-of-memory situations
daan
2020-09-14 09:02:06 -0700
ff7b6c54bd
Merge pull request #303 from isanych/fix_access_violation
Daan
2020-09-14 08:49:52 -0700
0df0c17f5a
Update readme.md
Daan
2020-09-14 08:31:20 -0700
d6ca70c9cc
Update readme.md
Daan
2020-09-14 08:30:49 -0700
f5e3cca74e
Do not require to specify version for cmake find_package
Igor Kostenko
2020-09-14 11:13:03 +0100
bf9c3bd088
Fix rare access violation on out of memory
Igor Kostenko
2020-09-14 10:50:22 +0100
568d6e532b
Haiku build fix.
David Carlier
2020-09-10 18:49:19 +0000
d8f8159dda
update documentation
daan
2020-09-06 13:53:13 -0700
46ee8952eb
update mi_process_info to not use doubles
daan
2020-09-06 13:53:02 -0700
ee286919d9
add mi_process_info api call
daan
2020-09-06 13:21:19 -0700
4355ab7d20
add i64 atomics
daan
2020-09-06 13:21:02 -0700
e1b4f036ca
fix indentation in pipeline script
daan
2020-09-06 09:10:38 -0700
f28f41f530
better ctest invocation on pipelines
daan
2020-09-06 09:09:00 -0700
9113281165
switch back to using bcryptrandom number generation on Windows to fix azure pipeline tests
daan
2020-09-06 08:50:23 -0700
f7b94fe21c
experiment with bcrypt api again
daan
2020-09-06 08:33:27 -0700
e740242978
link with advapi32 on windows
daan
2020-09-06 08:29:08 -0700
a9ad0cb68d
comment out vs2017 pipeline
daan
2020-09-05 22:36:59 -0700
dd0ce3c414
specify x64 for vs2017 pipeline
daan
2020-09-05 22:31:59 -0700
d3aeb6253b
fix vs2017 pipeline vmimage
daan
2020-09-05 22:22:37 -0700
c34f303aa0
add vs2017 pipeline
daan
2020-09-05 22:20:46 -0700
1b571aea06
remove unused local warning
daan
2020-09-05 22:03:47 -0700
f3f8afb580
add abandoned counter for debug purposes
daan
2020-09-05 18:17:07 -0700
aec70a04a6
disable win pipeline again
daan
2020-09-05 18:04:34 -0700
33a45f3f47
try ctest in windows pipeline again with increased stack per thread
daan
2020-09-05 18:02:21 -0700
f09549c98f
use main stats for thread count
daan
2020-09-05 18:00:36 -0700
1ce2e4cb05
use main stats for os statistics
daan
2020-09-05 17:44:15 -0700
cc32ede5d2
disable test stress on windows pipeline again
daan
2020-09-05 12:41:06 -0700
7d9a878a9d
test stress in windows pipeline
daan
2020-09-05 12:38:25 -0700
9d82b15d87
fix warnings on vs2017
daan
2020-09-05 12:04:25 -0700
44ba0d254b
disable windows test in azure pipeline for now until we can reproduce
daan
2020-09-05 11:47:27 -0700
83bd352f37
roll back previous commit (use standard C++ atomics on msvc
daan
2020-09-05 11:29:38 -0700
102a85937e
experiment with using non-c++ atomics on msvc
daan
2020-09-05 11:27:06 -0700
0d0b5e3fad
restore stress workload for windows pipeline
daan
2020-09-05 11:19:35 -0700
78f1f9bd5e
reduce stress workload for windows pipeline
daan
2020-09-05 11:16:40 -0700
694315fbe4
disable test in windows pipeline
daan
2020-09-05 11:08:41 -0700
39948bce78
upload test artifact for the windows pipeline build
daan
2020-09-05 11:04:55 -0700
2236b712f4
add test timeout on windows pipeline
daan
2020-09-05 10:34:41 -0700
551831ba1c
ctest output verbose on windows pipeline
daan
2020-09-05 10:30:54 -0700
2e311f341b
fix msvc compilation in C mode
daan
2020-09-05 09:37:09 -0700
50de0d2358
fix C++ compilation with new atomics
daan
2020-09-05 09:17:42 -0700
2594b37c56
fix build warning on C++ template deduction on Linux
daan
2020-09-05 08:36:34 -0700
b19bdfac87
Updated readme.md
Shivam7-1
2020-09-05 08:01:09 +0530
ec2c83a633
fix whitespace
daan
2020-09-04 14:20:13 -0700
032eb2a75a
use pragma warning only on msvc (issue #291 )
daan
2020-09-04 13:06:18 -0700
d73d6beb71
add aslr test (issue #289 )
daan
2020-09-04 10:41:10 -0700
f107acb3c8
fix __cplusplus test (pr #287 )
daan
2020-09-04 10:40:05 -0700
797c50e0c0
Merge pull request #296 from timblechmann/feature/iOS-compile-fix
Daan
2020-09-04 10:36:48 -0700
ff0d98883e
update comments
daan
2020-09-03 10:00:01 -0700
900c97664a
merge from dev-atomic
daan
2020-09-03 09:47:01 -0700
76a68cd7af
bump version to 1.6.6 with new atomics
daan
2020-09-03 09:45:53 -0700
b4825372ab
small compilation warning fixes (extra semicolon etc)
daan
2020-08-29 19:30:38 -0700
8033b62979
allow overriding MI_MAX_ALIGN_SIZE
daan
2020-08-29 09:59:15 -0700
1190e0c053
iOS compile fix
Tim Blechmann
2020-08-26 11:47:24 +0800
3f8ff12e66
avoid use of %z format specifier
daan
2020-08-15 11:42:28 -0700
5805c39916
enable --std=c99 compilation; fix mingw compilation
daan
2020-08-09 17:55:17 -0700
a9686d6ecf
avoid link error on non-windows
daan
2020-08-06 13:37:11 -0700
0de92e406c
prepare readme for release
daan
2020-08-06 13:29:09 -0700
d88a7470a0
merge from master
daan
2020-08-06 13:19:01 -0700
a9adae90d2
Merge pull request #285 from wavenator/patch-1
Daan
2020-08-06 13:17:20 -0700
1583a73c66
Adding conditional _DEFAULT_SOURCE definition
Gal Ben David
2020-08-06 14:29:25 +0300
9e7322f900
collect memory on process exit for statically linked library (issue #281
daan
2020-07-29 21:27:01 -0700
47572aceca
improved NUMA node detection on Windows (for AMD Ryzen), issue #282
daan
2020-07-29 14:36:21 -0700
ac0c121c68
update documentation for 1.6.4 release
daan
2020-07-27 08:55:26 -0700
cc6bd44827
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2020-07-27 08:33:40 -0700
5da3ef4ca1
Merge pull request #280 from devnexen/haiku_stats
Daan
2020-07-27 08:33:25 -0700
3d0b91457e
Merge pull request #278 from devnexen/illumos_prevent_some_flags
Daan
2020-07-27 08:32:01 -0700
ef8e5d18a6
replace atomics with C11/C++ atomics with explicit memory order; passes tsan. Issue #130
daan
2020-07-26 18:00:38 -0700
a468430772
strengthen memory order of bit operations; insert memory fences
daan
2020-07-26 14:19:30 -0700
a9f46dc86f
reduce memory order constraints for better efficiency on ARM etc
daan
2020-07-26 11:58:02 -0700
116159cd40
use RtlGenRandom on windows to enable compilation as C++ even with dynamic override
daan
2020-07-26 11:57:14 -0700
d964be2caa
getting resident mem at least
David Carlier
2020-07-26 18:56:10 +0000
eb1188a1dd
Enables subset of stats for haiku.
David Carlier
2020-07-26 17:00:54 +0000
53cbc68de3
display compiler in cmake summary
daan
2020-07-26 00:21:10 -0700
28014ee2bc
fix atomic access for MADV_FREE in os_reset
daan
2020-07-26 00:16:17 -0700
ebf951e851
extra checks for atomic ptr exchange; extend mi_atomic_yield for win32
daan
2020-07-26 00:15:57 -0700
95afd0509f
make segment abandoned_next atomic; tsan passes without warnings now (issue #130 )
daan
2020-07-25 23:50:22 -0700
09ade02429
bring inline with C11 atomics; no volatile and cas order of expected/desired
daan
2020-07-25 22:52:27 -0700
e27422adca
switch to using C++ atomics in MSVC as well
daan
2020-07-25 20:55:45 -0700
73c109a04e
add cmake option to build with ubsan
daan
2020-07-25 19:55:36 -0700
afe29cb8f5
fix ub on shift, issue #279
daan
2020-07-25 19:33:02 -0700
a9a21f39d8
fix memory order for CAS failure, issue #130
daan
2020-07-23 15:52:02 -0700
b74caddcc1
fix memory order to acq_rel for atomic and/or, issue #130 , thanks @mpoeter!
daan
2020-07-23 15:00:49 -0700
70be91d6b8
reduce tsan warning by ensuring a require edge; issue #130
daan
2020-07-22 15:28:14 -0700
8aa18d3661
fix TSAN warning for statistics maximum, issue #130
daan
2020-07-22 14:16:18 -0700
444afa934f
fix memory order for weak CAS, issue #130 , thanks @mary3000!
daan
2020-07-22 13:58:00 -0700
2e1b4f512d
make max update in the stats atomic
daan
2020-07-22 13:45:04 -0700
529d74a282
use O1 with thread sanitizer
daan
2020-07-22 12:45:53 -0700
341048f61e
avoid atomic operations on statistics if zero
daan
2020-07-22 11:08:16 -0700
2254e20d4c
some apis are available on Illumos which are not available on stock Solaris thus availability evelavated from cflags. discard some sporadically for large pages support mainly.
David Carlier
2020-07-22 10:54:58 +0100
c5406f327e
move include 'limits.h' outside of definition
daan
2020-07-21 18:51:25 -0700
532447fb33
Merge pull request #272 from devnexen/illumos_build
Daan
2020-07-21 18:46:28 -0700
e5ede9c723
Merge pull request #264 from DerVogel2020/dev
Daan
2020-07-21 18:35:51 -0700
56b58a8021
Merge pull request #267 from devnexen/haiku_support
Daan
2020-07-21 18:32:40 -0700
76756ad63c
update documentation
daan
2020-07-21 18:27:54 -0700
6ed59c21e0
Merge pull request #271 from DerVogel2020/fix-doc
Daan
2020-07-21 18:22:18 -0700
01da026314
add option to build with thread sanitizer
daan
2020-07-21 09:10:45 -0700
71160e2bac
Fix glibc version (issue #270 )
Daan
2020-07-21 08:49:21 -0700
8769082d63
add pointer validity check in debug mode for mi_usable_size/mi_realloc/mi_expand. Issue #269
daan
2020-07-20 14:33:03 -0700
457fcbd9d5
Merge pull request #274 from Tyler-IN/agnostic-posix-musl-support
Daan
2020-07-20 11:34:58 -0700
5f51c97fbd
override aligned_alloc always if using C compilation (issue #276 )
daan
2020-07-20 11:27:42 -0700
892ec12611
Support Windows Vista and XP for NUMA aware alloction (issue #277 )
daan
2020-07-20 11:10:45 -0700
0c550d1626
illumos support/build fix and large page support
David Carlier
2020-07-10 03:23:20 +0100
b9a7f5cfae
fix mman.h ref
Tyler Young
2020-07-09 10:58:47 -0400
736c1f08e7
Update documentation-header to current source code after 03d9946
fix #266
Wanja Vogel
2020-07-08 21:50:42 +0200
a608241900
Update documentation-header to current source code after 03d9946
fix #266
Wanja Vogel
2020-07-08 21:45:43 +0200
82f4e5c48e
Update documentation-header to current source code after 03d9946
Wanja Vogel
2020-07-08 21:45:43 +0200
7e48eb033c
haiku support.
David Carlier
2020-06-28 13:53:45 +0000
2599512e8f
use stored pointer #257
Wanja Vogel
2020-06-18 18:20:26 +0200
4ecce78d66
Merge branch 'master' into dev
daan
2020-06-17 19:28:15 -0700
5a6d9ba807
fix handling of failing to allocate heap metadata on thread creation, issue #257
daan
2020-06-17 19:07:32 -0700
32b3608581
simplify initial main tld declaration
daan
2020-06-17 13:12:05 -0700
07c6e60a5a
Merge pull request #259 from DerVogel2020/master
Daan
2020-06-16 11:47:45 -0700
d5475a58a1
fix: avoid warning
Wanja Vogel
2020-06-10 07:47:50 +0200
66048cb6cc
fix return value for page_unreset
daan
2020-05-19 13:31:24 -0700
6f73cc8b1d
Merge branch 'master' into dev
daan
2020-05-19 10:41:08 -0700
a09a64e29b
add extra check in mi_page_unreset to not unreset for huge OS pages
daan
2020-05-19 10:40:46 -0700
0ed478089e
Merge pull request #242 from devnexen/ios_build_fix
Daan
2020-05-19 10:21:32 -0700
a7d2bc8ad6
edit warning messages to be more consistent
daan
2020-05-19 10:16:28 -0700
74986c1dd1
weaken aligmenment assertion (issue #245 )
daan
2020-05-19 09:56:37 -0700
a52b38342d
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2020-05-19 09:55:08 -0700
c9ffe30513
weaken alignment requirement to not need to be a multiple of sizeof(void*); see #246
Daan Leijen
2020-05-18 10:17:58 -0700
bf6b781e40
fix semicolon (#247 )
Daan Leijen
2020-05-18 10:07:45 -0700
0ea4e3f279
IOS build fix, large pages unsupported.
David Carlier
2020-05-07 20:09:16 +0100
967513d536
add extra checks if unreset (commit) succeeds
daan
2020-05-06 11:35:35 -0700
4f020e5da4
put a bound on the environment search
daan
2020-05-05 20:19:20 -0700
45974efdb7
use environ on posix systems to read environment variables before the C runtime is initialized (issue #241 )
daan
2020-05-05 19:37:50 -0700
cefc930f72
bump version to 1.6.4 for further development
daan
2020-05-05 10:47:46 -0700
ccb51c6abe
disable artifact uploading in dev
daan
2020-05-05 10:46:39 -0700
e6c7b778fb
update readme for v1.6.3
daan
2020-05-05 10:45:10 -0700
775e1bfd7a
allow uploading artifacts for master branch
daan
2020-05-05 10:38:25 -0700
29cb8f369a
slight cleanup of f10ba4fa
, #239
daan
2020-05-05 10:24:16 -0700
f10ba4fa44
Merge pull request #239 from asl/oom-collect
Daan
2020-05-05 10:16:28 -0700
a278db940b
improve thread-id check for thread local FLS callbacks on Windows with static linking
daan
2020-05-05 10:10:46 -0700
7c24edfeb0
add thread-id check for thread local FLS callbacks on Windows with static linking; found by @jasongibson
daan
2020-05-04 14:31:32 -0700
fd9faee5d4
update cmake with nicer message which targets are build
daan
2020-05-04 11:01:11 -0700
66ce1d54e4
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2020-05-04 09:54:42 -0700
cd7203d62c
Merge pull request #237 from asl/cmake-build-variants
Daan
2020-05-04 09:54:24 -0700
ff4f1c3e5d
Merge branch 'dev' into cmake-build-variants
Daan
2020-05-04 09:51:09 -0700
9c0da9776d
fix assertion for huge block size
daan
2020-05-03 11:43:57 -0700
ea4931f53b
Merge branch 'master' into dev
daan
2020-05-02 22:22:52 -0700
a801b8e7f1
Update readme with descriptions of secure and debug mode
Daan
2020-05-02 18:08:31 -0700
097c007ba3
reduce page retire cycles based on object size
daan
2020-05-02 00:19:20 -0700
81bd1b70b0
Merge pull request #238 from asl/gcc-6-aligned-dealloc
Daan
2020-05-01 14:16:20 -0700
866fd0e8f5
Merge pull request #240 from andronat/master
Daan
2020-05-01 14:15:17 -0700
5c03e9dc79
Compile static and obj targets with PIC
Anastasios Andronidis
2020-05-01 17:07:17 +0100
5cfdc39ff1
remove on-demand page commit option
daan
2020-04-30 18:23:33 -0700
d8b0a9dc24
Merge branch 'master' into dev
daan
2020-04-30 18:13:09 -0700
07a17dfeae
fix initialization of union padding; issue found through valgrind by @jasongibson
daan
2020-04-30 17:39:34 -0700
0af9dd6fd2
fix initialization of union padding; issue found through valgrind by @jasongibson
daan
2020-04-30 17:39:34 -0700
fdd1cd821a
In OOM case try to force collect memory and retry the allocation.
Anton Korobeynikov
2020-04-29 02:10:11 +0300
9a33f23b5f
fix MI_SHOW_ERRORS on msvc
daan
2020-04-28 11:11:23 -0700
8f5710abcc
Merge branch 'master' into dev
daan
2020-04-28 11:07:55 -0700
198ea4476c
Merge pull request #236 from nico-abram/patch-1
Daan
2020-04-28 10:54:58 -0700
e47bc01fa6
Merge pull request #233 from asl/xmalloc
Daan
2020-04-28 10:53:46 -0700
07e80aebb7
Merge branch 'dev' into xmalloc
Daan
2020-04-28 10:53:34 -0700
9ba16f2df9
Merge pull request #232 from asl/cmake-err-warn-default
Daan
2020-04-28 10:51:30 -0700
0b440d9543
Apparently gcc 6 defines __cpp_aligned_new in C++14 mode, however no std::align_val_t is available there for obvious reasons
Anton Korobeynikov
2020-04-28 19:09:54 +0300
d4363bbaf8
Add possibility to selectively enable / disable builing of different targets.
Anton Korobeynikov
2020-04-28 18:12:43 +0300
079b886feb
Add cmake option to specify whether warnings / errors are enabled by default.
Anton Korobeynikov
2020-04-21 10:27:42 +0300
2f1fc1df5c
Add xmalloc()-like functionality.
Anton Korobeynikov
2020-04-21 11:39:57 +0300
f40aaad876
Fix typo in comment
Nicolas
2020-04-24 23:20:28 -0300
1f8cc50c6b
disable artifact uploading for now as it exceeds the storage space
Daan Leijen
2020-04-24 07:48:22 -0700
798cd6647d
use line-buffered output for statistics (issue #235
Daan Leijen
2020-04-24 07:43:21 -0700
a5bf45cd1e
add commit check on page reclaim
daan
2020-04-23 21:01:06 -0700
74a01d05af
check commit/protect if eager_commit is disabled
daan
2020-04-23 20:48:55 -0700
7123efb397
pass full commit flag to free, possible fix for issue #218
daan
2020-04-23 20:19:48 -0700
0d3c141243
add check for if commit fails in segment allocation
daan
2020-04-23 17:28:44 -0700
15bb20f9e6
Merge pull request #234 from asl/osx-zone
Daan
2020-04-21 10:15:39 -0700
fe976caaea
Provide zone_size function: free() uses it to find the zone pointer belongs to in order to call the corresponding zone_free function
Anton Korobeynikov
2020-04-21 15:10:49 +0300
07d72f4fba
Do not forget to include malloc zone implementation in the static object
Anton Korobeynikov
2020-04-21 15:08:27 +0300
4a0c53ba5a
Fix the prototype of malloc_size. Otherwise we'll end with invalid redeclaration if malloc/malloc.h is pulled on Darwin
Anton Korobeynikov
2020-04-21 15:07:32 +0300
e31298bdc3
fix compiler warning in secure mode
daan
2020-04-20 18:04:09 -0700
3484cda169
bump version to 1.6.3 for further development
daan
2020-04-20 18:01:39 -0700
d102882bdf
bump version to 1.6.2
daan
2020-04-20 17:59:13 -0700
ecdb2cd706
document NUMA nodes setting
daan
2020-04-20 12:37:00 -0700
bb6afb7efd
update documentation
daan
2020-04-20 12:00:39 -0700
0a708fec7d
Merge branch 'master' into dev
daan
2020-04-20 11:55:15 -0700
45a6161cf3
update logo to just use paths in svg
daan
2020-04-20 11:54:28 -0700
cbebd4e15c
Add thank you notes
Daan
2020-04-20 11:37:59 -0700
b0150ba705
more notes on windows overriding
daan
2020-04-20 09:56:55 -0700
8e584cf3d9
update readme to caution against using fork with huge/large OS pages (#229 )
daan
2020-04-20 09:50:35 -0700
093db6af24
possible fix for memory instability on Win7 (#230 )
daan
2020-04-20 09:33:19 -0700
77acf5a868
more careful overriding of aligned_alloc for compilation on Conda (#219 )
daan
2020-04-20 09:27:43 -0700
211038c4e5
(possible) fix for overriding of aligned_alloc on systems that define it as static inline. issue #219
daan
2020-04-15 11:55:54 -0700
ea558cadba
Merge pull request #227 from devnexen/android_build_fix
Daan
2020-04-15 11:23:04 -0700
80aeb1bd1d
Fix compiler detection
David Carlier
2020-04-15 05:34:07 +0100
7a0cdebe7e
Merge pull request #226 from wujysh/patch-1
Daan
2020-04-14 17:50:03 -0700
1116c0df2e
fix strnlen do not search beyond n characters, issue #228
daan
2020-04-14 17:42:30 -0700
6c5039bad1
Android build fix proposal.
David Carlier
2020-04-14 14:20:56 +0100
6f03be2d3a
Fix Windows builds on Azure Pipelines
Jiaye Wu
2020-04-14 12:54:35 +0800
69a0846478
add MI_PADDING flag to cmake to supress use of padding in debug mode
daan
2020-04-07 10:01:18 -0700
afc4f79a69
fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221 )
daan
2020-04-06 12:15:12 -0700
84b9b8878e
possible fix for issue #221
daan
2020-04-06 11:49:32 -0700
34d3b8c47f
add version check for mingw compilation and add FlsAlloc definitions if required
daan
2020-04-06 11:25:25 -0700
0a3e5bb699
further fixes to compile on mingw without warnings (issue #217 )
daan
2020-04-06 10:56:53 -0700
0f3bd05fd5
fix mingw compilation for numa awareness (issue #217 )
daan
2020-04-06 10:03:30 -0700
50bfacdb71
fix mingw compilation by using export definitions (issue #217 )
daan
2020-04-06 09:53:29 -0700
faa83a1c47
fix issue number: 212 to #221
daan
2020-04-06 09:19:26 -0700
888f39b324
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2020-04-06 08:32:47 -0700
c7e9cfd3ed
add test case for issue #212
daan
2020-04-06 08:32:25 -0700
64e8cfa942
Merge pull request #216 from devnexen/dev_32bits_warning_fixes
Daan
2020-04-06 08:09:06 -0700
1ece3ff6aa
Merge pull request #220 from cormacrelf/usable_size
Daan
2020-04-06 08:05:34 -0700
0047b271f7
Call mi_page_usable_size_of with unaligned block rather than start of aligned memory
Cormac Relf
2020-04-06 21:05:44 +1000
414acd49ab
Add test to exercise mi_usable_size on aligned allocations
Cormac Relf
2020-04-06 21:05:44 +1000
c0b06949cb
32 bits build fix proposal.
David Carlier
2020-03-20 17:38:14 +0000
cfeee53389
remove accidental include file
daan
2020-03-16 16:44:29 -0700
980d343f39
Merge pull request #213 from devnexen/raspberry_build_fix
Daan
2020-03-16 15:34:22 -0700
7745dde8d2
allow retirement for all object sizes (issue #212 )
daan
2020-03-16 15:31:37 -0700
2884affbd7
Using host data rather.
David Carlier
2020-03-07 12:19:48 +0000
854e81c11d
build fix for arm, adding native arch flag to be able to generate yield asm instruction.
David Carlier
2020-03-07 09:18:45 +0000
7c2e7eb9ef
Merge pull request #211 from ohasanliUW/symlink_issue_166
Daan
2020-03-06 17:20:17 -0800
72f758c433
fix issue #210 where multiple static instances of mimalloc in DLL's compete for the same virtual memory area
daan
2020-03-06 16:43:39 -0800
5bc276c23b
fix issue #208 : dynamic unloading of DLL with statically linked mimalloc
daan
2020-03-06 16:24:51 -0800
ab202fbe73
never free the main heap structures; issues #207
daan
2020-03-06 15:53:07 -0800
b41183e8a3
Creation of symbolic link was failing. #166
Orkhan Hasanli
2020-03-04 20:45:20 -0500
ec61224db0
fix padding issue with zero sized allocation (issue #209 )
daan
2020-02-18 20:05:30 -0800
6e1ca96a49
Update readme.md
Daan
2020-02-17 10:19:29 -0800
82684042be
bump version to 1.6.1
daan
2020-02-17 10:10:22 -0800
baf08e8d54
fix size check on overflow when padding is enabled in debug mode
daan
2020-02-17 09:59:34 -0800
f2ac272baa
strengthen alignment check for memalign and aligned_alloc
daan
2020-02-17 09:59:11 -0800
16ebb70e4c
strengthen aligment guarantee (issue #206 ) (reverse commit 4531367
)
daan
2020-02-17 09:15:48 -0800
3e198cc87d
fix too strict assertion (issue #204 )
daan
2020-02-14 11:11:57 -0800
67de2549cf
fix build with clang-cl due to _Check_return_ (issue #200 )
daan
2020-02-14 09:40:56 -0800
e981e9227e
ensure thread delayed freeing is correct during heap_absorb; #204
daan
2020-02-13 13:12:19 -0800
af37302e83
add assertions
daan
2020-02-13 12:27:06 -0800
8a2a52843d
delete all thread owned heaps when a thread is terminated (issue #202 )
daan
2020-02-13 12:15:23 -0800
946a71c4a9
fix issue #204 (and #205 ) by doing thread delayed free after absorbing the pages
daan
2020-02-13 11:37:48 -0800
f42b8526d0
fix wrong __declspec(restrict) and __attribute__((malloc)) attributes on reallocation functions
daan
2020-02-13 10:36:39 -0800
9749c83ca0
fix build with debug and secure both enabled, issue #203
daan
2020-02-13 09:16:41 -0800
0a77b7423f
Update readme.md
Daan
2020-02-09 19:12:19 -0800
04f1c3b1e2
bump version to v1.6.0
daan
2020-02-09 18:53:39 -0800
609703a7f3
Merge branch 'dev-exp-tls' into dev-exp
daan
2020-02-09 18:34:23 -0800
4f3ad24480
Merge branch 'dev' into dev-exp
daan
2020-02-09 18:33:53 -0800
5ba87e56c9
update readme for 1.5 release
daan
2020-02-09 18:32:09 -0800
afe434463a
add comments on overriding in macOSX
daan
2020-02-09 18:26:50 -0800
9062f39764
enable interpose separate from zones on macOS
daan
2020-02-08 20:08:52 -0800
e676062103
update mac zone code
daan
2020-02-05 17:40:13 -0800
a96e94f940
change TLS slot on OpenBSD
daan
2020-02-02 22:46:38 -0800
3560e0a867
fix TLS slot number on OSX
daan
2020-02-02 22:15:09 -0800
b241be7075
reenable mimalloc in the stress test
daan
2020-02-02 22:08:33 -0800
1c2e0a47ca
fix noexcept attribute on array delete operators
daan
2020-02-02 22:04:53 -0800
d516c9f99c
Merge branch 'dev-exp' into dev-exp-tls
daan
2020-02-02 22:02:16 -0800
feb0699bcb
fix aligment check when padding is enabled
daan
2020-02-02 22:01:04 -0800
f3c47c7c91
improved malloc zone handling on macOSX (not working yet)
daan
2020-02-02 21:03:09 -0800
757dcc8411
extend interpose for macOSX
daan
2020-02-02 19:07:26 -0800
f0dc6e7e42
add extra alignment test
daan
2020-02-02 16:21:06 -0800
12c4108abe
update comments
daan
2020-02-02 16:09:09 -0800
ff75c32d27
Merge branch 'dev-exp' into dev-exp-tls
daan
2020-02-02 15:54:51 -0800
7d3d37e4dd
Merge branch 'dev' into dev-exp
daan
2020-02-02 15:54:41 -0800
f5ab2c1c49
suppress spurious warnings with clang-cl
daan
2020-02-02 15:50:02 -0800
865965b8c0
fix warnings under clang-cl
daan
2020-02-02 15:43:13 -0800
07fbe4f80f
fixes for dragonfly
daan
2020-02-02 14:31:28 -0800
8bc20631e4
fixes for freeBSD
daan
2020-02-02 13:25:26 -0800
2e56bf55c4
Merge branch 'dev' into dev-exp-tls
daan
2020-02-02 13:12:26 -0800
d2db9f1fc2
update thread local storage
daan
2020-02-02 13:12:22 -0800
4a5f3592c0
fix build warning on FreeBSD
daan
2020-02-02 09:25:39 -0800
bb64634e4e
Merge branch 'dev-exp' into dev-exp-tls
daan
2020-02-01 17:48:57 -0800
bf2eb55ed1
reformatting
daan
2020-02-01 17:48:26 -0800
8aba40a972
use default declaration for the STL allocator class
daan
2020-02-01 17:41:04 -0800
3f17ac287c
add 'nodiscard' attribute to mimalloc interface
daan
2020-02-01 17:29:30 -0800
0989562c2d
add initial fast tls for macOSX
daan
2020-02-01 16:57:00 -0800
fea903900d
use __thread locals on linux
daan
2020-02-01 14:33:24 -0800
10009490b8
Merge branch 'dev-exp' into dev-exp-tls
daan
2020-02-01 14:30:34 -0800
5135c2b96a
add test-api to vs solution
daan
2020-02-01 14:29:55 -0800
60cfc623be
fix zero initialization of blocks under 8 bytes when padding check is active
daan
2020-02-01 14:29:12 -0800
a169cf0e3f
merge dev-exp; add pthread TLS support for macOSX
daan
2020-02-01 13:11:48 -0800
edff9d4fbb
merge from dev-win (padding)
daan
2020-02-01 12:32:59 -0800
aa68b8cbc7
improve encoding of padding canary and buffer overflow detection
daan
2020-02-01 12:15:12 -0800
40f1e1e07b
byte-precise heap block overflow checking with encoded padding
daan
2020-01-31 23:39:51 -0800
68112a2751
better padding implementation, more precise statistics
daan
2020-01-31 20:34:24 -0800
8422ab125d
improve messages; fix reset size calculation on large pages
daan
2020-01-31 17:28:26 -0800
724602b78b
enable page-reset by default
daan
2020-01-31 17:27:45 -0800
4531367de2
fix padding check for aligned allocation; improve perf for small aligned allocations
daan
2020-01-31 13:20:02 -0800
f820fae858
merge from dev; add retired collect on abandon
daan
2020-01-30 07:24:35 -0800
a7c69ccbea
fix stat accounting of segments with huge blocks
daan
2020-01-30 06:25:42 -0800
ed1c8a203a
improve performance with tls recursion counter
daan
2020-01-29 23:08:12 -0800
03b363a1c2
first working tls on macOS using interpose; still slow
daan
2020-01-29 22:46:44 -0800
7ff3ec2bf7
use EFAULT for buffer overflow and call abort in debug mode (as well as secure mode)
daan
2020-01-29 17:25:40 -0800
5d212d688f
add MI_PADDING build option to add padding to each block to detect heap block overflows
daan
2020-01-29 17:10:57 -0800
9a532037df
merge from dev-exp
daan
2020-01-29 07:35:38 -0800
b3dae128de
Merge branch 'dev' into dev-exp
daan
2020-01-27 23:15:37 -0800
9c166d88f0
increase retire page size
daan
2020-01-27 23:15:24 -0800
42586de104
fix is_zero setting in regions
daan
2020-01-27 23:13:57 -0800
e628fc7067
cleanup reclaim logic
daan
2020-01-26 12:39:11 -0800
d4927adddc
add extra assertion that all segments are free on thread termination
daan
2020-01-25 14:30:02 -0800
394b796ea0
fix over-eager page reset in segment reclamation
daan
2020-01-25 13:43:56 -0800
4faf412f53
move 'memory.c' to 'region.c'
daan
2020-01-25 13:28:49 -0800
7785139201
fix warning on gcc on attribute ignore in templates
daan
2020-01-25 13:28:24 -0800
62b8fb26b1
fix freeing of segments on forced reclaim
daan
2020-01-25 13:27:47 -0800
cb433d272a
Merge branch 'dev' into dev-exp-abandon
daan
2020-01-25 13:03:06 -0800
19a0d9dfa0
clean up stress test
daan
2020-01-25 12:51:56 -0800
f4630d43a7
allow reset on large pages; check commit status before reset
daan
2020-01-25 12:49:14 -0800
5e32d00aab
add visit count to abandoned to limit list length
daan
2020-01-25 12:26:08 -0800
3ec691cfb4
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2020-01-25 11:20:17 -0800
165734939b
Merge pull request #198 from devnexen/arc4random_api_apple
Daan
2020-01-25 09:51:29 -0800
2b667bd3ae
enable arc4random abi under apple
David Carlier
2020-01-25 14:47:09 +0000
072ceb2efe
Merge branch 'dev' into dev-exp-abandon
daan
2020-01-24 20:20:55 -0800
ecece57284
fix bug in committed check in arena allocation
daan
2020-01-24 20:20:43 -0800
47300eeda3
avoid memset
daan
2020-01-24 20:17:33 -0800
b31bc52618
add cache alignment directives for contended variables
daan
2020-01-24 19:02:13 -0800
e070eba112
fix tagged null encoding, search segment cache before reclaim
daan
2020-01-24 16:30:52 -0800
9a400ecce9
Merge branch 'dev' into dev-exp-abandon
daan
2020-01-24 15:48:34 -0800
4ae51096ec
add warning on region exhaustion
daan
2020-01-24 15:45:03 -0800
28c14d99c3
clean up comments
daan
2020-01-24 11:03:12 -0800
8cf4882a85
fix linux build
daan
2020-01-24 10:38:25 -0800
8b1520f5c1
make stress test deterministic
daan
2020-01-23 21:53:28 -0800
e68293741e
fix assertion, add check for page committed before doing reset
daan
2020-01-23 21:44:32 -0800
58fdcbb0cd
fix bug in collect where has_page was not set on free pages
daan
2020-01-23 21:37:14 -0800
4a2a0c2d50
initial abandon based on fine-grained reclamation
daan
2020-01-23 19:50:35 -0800
f8ab4bd7dc
add leak test
daan
2020-01-23 19:49:32 -0800
12701b1aac
do not reclaim segments on collect
daan
2020-01-23 15:48:51 -0800
76e727f7d1
fix assertion on page destroy
daan
2020-01-23 15:39:38 -0800
c9106e74a8
remove __thread attribute from mimalloc.h
daan
2020-01-23 11:06:25 -0800
cdc34595cf
fix warning in msvc
daan
2020-01-23 10:52:27 -0800
6fb434a99b
use -fvisibility=hidden on clang as well
daan
2020-01-23 10:31:47 -0800
0316859e06
improve codegen for mi_free
daan
2020-01-23 10:03:03 -0800
66818bf632
use atomic yield on delayed-freeing; clarify code
daan
2020-01-23 09:57:55 -0800
3bbbe6c686
enable atomic yield when delayed_freeing is encountered
daan
2020-01-22 20:12:42 -0800
0193a15f7e
nicer message on huge OS page reservation
daan
2020-01-22 19:46:43 -0800
e3b16fe4ef
reduce type casts in atomic operations
daan
2020-01-22 19:44:54 -0800
0f14f431c5
bump version to 1.5 for further development
daan
2020-01-22 18:33:07 -0800
6a744a8549
Update readme.md
Daan
2020-01-22 18:16:40 -0800
b7aef989e8
Update readme.md
Daan
2020-01-22 15:27:47 -0800
433598296a
Fix benchmark chart display
Daan
2020-01-22 15:21:54 -0800
6f7d98d669
fix benchmark chart links
daan
2020-01-22 15:08:18 -0800
c2c56e29c7
add benchmark charts
daan
2020-01-22 15:06:44 -0800
af2cfe255a
add updated benchmarks
daan
2020-01-22 15:05:02 -0800
5bc1c52ae6
update documentation
daan
2020-01-20 17:34:29 -0800
3957b2fd28
add mi_new_realloc(n) to support C++ style reallocation that raises std::bad_alloc on out-of-memory
daan
2020-01-20 15:41:56 -0800
146899af8a
add missing members to stl allocator (#193 )
daan
2020-01-20 15:27:05 -0800
b77be05e40
only collect retired at fresh page allocation
daan
2020-01-20 12:14:34 -0800
a33ebb8625
add alloc_align attribute to aligned allocation functions
daan
2020-01-19 22:14:35 -0800
514b315283
add max_size member to STL allocator
daan
2020-01-19 21:27:46 -0800
9d7ac76d93
fix compilation under Intel C compiler (icc)
daan
2020-01-19 18:35:45 -0800
e8d7c80c74
fix build warnings on linux
daan
2020-01-19 17:33:36 -0800
41e717c2e0
fix assertion in mi_block_zero_init (issue #194 )
daan
2020-01-18 20:30:12 -0800
dc58388968
Add ability to register custom error function called on various error conditions; including ENOMEM
daan
2020-01-17 19:59:55 -0800
3e982a3813
fix STL deallocate passing count (instead of size) to mi_free_size
daan
2020-01-17 15:58:43 -0800
dbe721de39
dont compile test-stress.c as C++ code (or we get atomic compilation errors)
daan
2020-01-17 15:45:12 -0800
6dd636d82d
improve STL allocator using mi_new_n and removing unused parameter names; follow up from pr #193 and #188
daan
2020-01-17 15:41:52 -0800
f4ee1760b8
Suppress C source compiled as C++ warning on clang
daan
2020-01-17 15:39:41 -0800
9453d8b468
update documentation
daan
2020-01-17 15:39:06 -0800
dc94d25890
update documentation
daan
2020-01-16 19:39:14 -0800
6b7356a10a
make mimalloc compile with the highest warning level on msvc
daan
2020-01-16 18:12:01 -0800
b84b11b6a9
update readme
daan
2020-01-16 18:11:29 -0800
c6037ac8f2
fix assertion index
daan
2020-01-16 16:56:02 -0800
f750e793ff
ensure unique build names for C++ azure pipeline jobs
daan
2020-01-16 16:52:44 -0800
5c82b459d6
enable debug clang++ compilation in azure pipelines
daan
2020-01-16 16:49:59 -0800
3f8b8b7a55
initialize thread_delayed_free field atomically
daan
2020-01-16 16:45:34 -0800
da709bcf11
test for gcc version for aligned new/delete overrides
daan
2020-01-16 16:30:44 -0800
7a98a461a3
fix type of bitmap field to avoid C++ error on older gcc
daan
2020-01-16 16:21:59 -0800
3447debf26
add Linux gcc C++ build to azure pipeline
daan
2020-01-16 16:08:23 -0800
a0bee081dd
use proper C++11 check for noexcept attribute
daan
2020-01-16 15:58:48 -0800
7a9502973d
rearrange STL allocator code: remove pragma, ifdef for C++11
daan
2020-01-16 15:57:11 -0800
2d54553b7a
Merge pull request #188 from kile0/kile/stl
Daan
2020-01-16 15:33:44 -0800
97bd204c42
Merge branch 'dev' into kile/stl
Daan
2020-01-16 15:33:13 -0800
526bee6843
merge stl and main header
Kirsten Lee
2020-01-16 15:17:15 -0800
1b2b7404f7
flip the order of includes for ease of use
Kirsten Lee
2020-01-16 14:54:13 -0800
24f8bcbc8f
add explicit calling convention to registered functions
daan
2020-01-16 14:25:09 -0800
4e91eab8fc
specialize mi_mallocn for count=1
daan
2020-01-16 14:12:37 -0800
8d8f355ed0
add option to reset eagerly when a segment is abandoned
daan
2020-01-16 11:25:02 -0800
b8072aaacb
fix debug build
daan
2020-01-16 03:54:51 -0800
9629d73188
fix options
daan
2020-01-15 18:07:29 -0800
7a1e86fc20
merge from dev
daan
2020-01-15 18:03:37 -0800
ad32eb1dfb
eager collect on page reclamation
daan
2020-01-15 17:57:19 -0800
0099707af9
use delayed free for all pages; reduce size of the page structure for improved address calculation
daan
2020-01-15 17:19:01 -0800
202246425b
bump version to 1.4 for further development
daan
2020-01-15 12:16:01 -0800
c9b5ac80b3
update page reset queue to just do delayed page resets
daan
2020-01-15 12:00:44 -0800
783e3377f7
add output argument to stat printing
daan
2020-01-15 10:53:54 -0800
0956a05bf6
add argument pointer to the register deferred free callback
daan
2020-01-15 10:21:32 -0800
f92a2a7264
add argument pointer to the register output routine
daan
2020-01-15 10:18:32 -0800
941c55ee42
wip: first implementation of page free list on segments for effecient delayed page reset
daan
2020-01-14 21:47:18 -0800
65f4f5144b
fix out-of-bounds error in huge OS page bitmap
daan
2020-01-13 17:06:25 -0800
5f61a9e896
add mprotect error when the mmap limit might be reached in secure mode (see issue #77 )
daan
2020-01-09 17:52:28 -0800
be10ebea35
build debug and secure versions on macOS in Azure pipelines
daan
2020-01-08 23:54:56 -0800
313d4b8ffd
fix test on Windows in azure pipelines
daan
2020-01-08 23:47:40 -0800
7575b58d7a
fix test on Windows in azure pipelines
daan
2020-01-08 23:46:56 -0800
ce3f327f21
add test pass to Windows build
daan
2020-01-08 23:40:57 -0800
403276d11e
build release and debug build on Windows
daan
2020-01-08 23:27:18 -0800
8f75444e7a
fix windows debug build at MI_DEBUG=2
daan
2020-01-08 23:21:32 -0800
12ef2816ed
fix bug exposed by commit 59fa286
where reclaimed pages could be stuck to NEVER_DELAYED
daan
2020-01-08 19:00:03 -0800
940df53b0a
fix iteration count display in stress test
daan
2020-01-08 17:51:11 -0800
683d8998d4
fix potential A-B-A problem with segment abandonment; noticed by Manual Poeter and Sam Gross
daan
2020-01-08 17:45:38 -0800
5d2f111f64
make the stress test do more iterations under a smaller load to stay under 1GiB committed and increase thread interaction
daan
2020-01-08 12:59:20 -0800
50b3f6d7ae
fix assertion
daan
2020-01-08 12:58:07 -0800
d4ab0ff08c
fix timeout on huge page reservation if set to 0
daan
2020-01-07 14:15:37 -0800
4223caac0f
on Linux dynamically detect if getrandom is supported and fall back to /dev/urandom if needed
daan
2020-01-06 22:08:21 -0800
0a2520490b
only include vector header when compiling c++
Kirsten Lee
2020-01-06 16:44:55 -0800
d97c56d4c1
fix unintended diff
Kirsten Lee
2020-01-06 16:25:21 -0800
743e891738
add stl mimalloc wrapper
Kirsten Lee
2020-01-06 16:18:22 -0800
d8d69c2c94
disable MAP_NORESERVE on huge pages
daan
2020-01-05 22:07:16 -0800
45582d1fb5
revert a2a9230
(remove empty page removal on search): this is not generally valid when concurrent frees do not always add to thread_delayed_free.
daan
2020-01-05 13:58:49 -0800
59fa286294
fix bug where continue would wrongly exit the do-while loop for delayed freeing
daan
2020-01-04 17:32:50 -0800
a2a9230ad6
remove empty page removal on page search (no longer needed with retired collection and delayed freeing)
daan
2020-01-03 22:52:52 -0800
d596f08569
fix thread_free read in assertion
daan
2020-01-03 22:06:27 -0800
2b108c8748
increase retire expiration to 4
daan
2020-01-03 21:39:18 -0800
eeb623e6af
increase retire limit, collect retired pages
daan
2020-01-03 17:06:41 -0800
f9ca88f71c
set secure default to 0 again
daan
2020-01-02 17:57:41 -0800
9629a0190f
fix eager commit on large pages (issue #182 )
daan
2020-01-02 17:25:00 -0800
1b5a08cd25
remove unused parameter in check double free
daan
2020-01-02 17:24:32 -0800
384808e340
Merge branch 'dev-random' into dev
daan
2019-12-28 16:19:45 -0800
fc3e537bd4
improve double free detection with faster same page check
daan
2019-12-28 15:28:13 -0800
77134e1ad0
update free list encoding to stronger formula with addition last
daan
2019-12-28 15:17:49 -0800
e3391d9a53
stronger encoding of free lists using two keys per page
daan
2019-12-27 23:33:50 -0800
ce02986d56
variable renaming
daan
2019-12-27 22:30:23 -0800
6f0b35d513
merge from master
daan
2019-12-24 10:44:49 -0800
49acc88924
Update readme.md
Daan
2019-12-24 10:38:13 -0800
e05a1edc03
fix large OS page size on Linux (issue #184 , due to fix for #179 )
daan
2019-12-24 10:32:44 -0800
ba87a39d9f
updated random cookie generation using OS primitives and chacha20
daan
2019-12-22 17:07:01 -0800
f9b942d80d
fix compilation of region descriptor on 32-bit
daan
2019-12-22 17:08:46 -0800
e31e609414
add preload check in option initialization (issues #179 )
Daan Leijen
2019-12-01 01:03:39 -0800
36d168a2d9
add preload check to options initialization
daan
2019-12-01 00:03:35 -0800
a407f35c64
add arena.c into the static override object
daan
2019-12-01 00:01:14 -0800
a799a19136
fix non-standard line continuation
daan
2019-11-25 14:30:12 -0800
fe51d11e61
Merge pull request #178 from carenas/master
Daan
2019-11-25 14:28:58 -0800
1d998af854
clean up options; make secure work with eager_page_commit
daan
2019-11-25 10:47:17 -0800
1643273357
fix unix bug in decommit size
daan
2019-11-25 10:11:29 -0800
c6df7a199c
experimental eager page commit option
daan
2019-11-24 22:00:11 -0800
4452431b6c
reenable segment cache and fix initial segment commit
daan
2019-11-24 15:25:19 -0800
727d33b96f
more precise memory reset
daan
2019-11-24 14:40:47 -0800
41ef691292
avoid deadlock with BSD systems that call malloc from the dynamic linker
Carlo Marcelo Arenas Belón
2019-09-01 01:06:01 -0700
4a0d35afd0
improve secure guard page allocation to work with non-eager commit
daan
2019-11-23 11:59:19 -0800
0d3c195f37
update stress test with more documentation
Daan Leijen
2019-11-22 11:28:55 -0800
74c409192b
Merge branch 'master' into dev-win
daan
2019-11-22 09:29:28 -0800
24b768363e
bump version to 1.3 for further development
daan
2019-11-22 09:28:48 -0800
31fbe9793d
Merge branch 'dev-exp' into dev
daan
2019-11-22 09:22:03 -0800
acb03c5497
update redirection module on Windows for improved trace messages
daan
2019-11-22 08:57:51 -0800
50575b12c0
Merge branch 'dev' into dev-exp
daan
2019-11-21 16:29:59 -0800
41caf6d0f8
set secure default to 0
daan
2019-11-21 16:29:46 -0800
6568059cc6
merge from dev
daan
2019-11-21 16:28:28 -0800
42a0666770
update documentation
daan
2019-11-21 16:24:10 -0800
b7d9ee8830
azure pipeline logo shows dev branch
daan
2019-11-21 16:20:35 -0800
f27c87c03c
update documentation
daan
2019-11-21 16:19:47 -0800
c6c24f9c2e
update documentation
daan
2019-11-21 16:17:47 -0800
7586225fc5
add secure build to azure pipeline
daan
2019-11-21 16:10:21 -0800
d55ab50a84
update version to 1.2
daan
2019-11-21 16:10:04 -0800
b820009df7
update documentation
daan
2019-11-21 16:09:34 -0800
5c8721f0b8
update documentation
daan
2019-11-21 15:59:54 -0800
9a5189aa83
add vs2019 project filters
daan
2019-11-21 15:42:22 -0800
bc1ff7e7fd
update windows redirect, issue #170
daan
2019-11-21 15:28:10 -0800
74dbfc30be
improved security by encoding NULL values; double free mitigation on by default; more precise free list corruption detection
daan
2019-11-21 15:21:23 -0800
1674d551ff
add verbose message with secure build level
daan
2019-11-20 20:45:31 -0800
049dbf41ba
fix commit bits for huge page allocations
Daan Leijen
2019-11-20 15:44:07 -0800
211f1aa519
remove reset delay slots; add reset tracking per page and segment
Daan Leijen
2019-11-20 14:55:12 -0800
30e2c54adb
remove delayed reset option (for now)
Daan Leijen
2019-11-20 14:13:02 -0800
56b9fac4bf
merge from dev
Daan Leijen
2019-11-20 13:31:04 -0800
4d4a2885f5
use atomic read/write on the page->heap field where concurrent interaction is possible
Daan Leijen
2019-11-20 13:19:17 -0800
94bfb47725
update stress test for more realisitic size distribution
Daan Leijen
2019-11-20 12:59:26 -0800
fd3ce5dc7d
improve stress test
daan
2019-11-15 16:28:11 -0800
8637f113d5
improve test-stress to run multiple iterations
Daan Leijen
2019-11-15 14:09:17 -0800
dccffea662
fix pr #173 by @zerodefect to use case-insensitive matching of the build type; also use MI_DEBUG_FULL option (instead of MI_CHECK_FULL)
Daan Leijen
2019-11-14 11:01:05 -0800
17ade3fca5
merge from dev
daan
2019-11-13 17:52:20 -0800
314dcd59c2
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2019-11-13 17:23:54 -0800
a4ed63d127
Adresses pr #165 and issue #164 by @colesbury:
daan
2019-11-13 17:22:03 -0800
9b7a29c5da
Merge pull request #172 from aesophor/dev
Daan
2019-11-13 16:28:09 -0800
d01ed42bcb
replace max_numa_nodes by use_numa_nodes (to help with wrong detection of numa nodes on WSL for example)
Daan Leijen
2019-11-13 13:35:50 -0800
29919a938d
Avoid the use of variable argument list function
Marco Wang
2019-11-13 13:19:21 +0800
bdb8274819
change max_numa_node to max_numa_nodes option
Daan Leijen
2019-11-12 12:04:43 -0800
d4f54dcf30
remove numaif dependency on linux
daan
2019-11-12 10:37:15 -0800
867d78f877
reserve huge OS pages earlier on at process_init
daan
2019-11-12 10:19:52 -0800
af746ca4c1
inline bitmap_mask
daan
2019-11-12 10:17:39 -0800
ef179a6377
avoid allocation at numa node detection on linux
daan
2019-11-12 10:16:59 -0800
165ee45845
initialize delay slots for the main thread
daan
2019-11-11 17:31:48 -0800
a0958b2da6
enable more reset delay slots
daan
2019-11-11 17:06:16 -0800
5e6754f3f7
track commit status per block in a region
daan
2019-11-11 15:45:31 -0800
db3f1c4bfa
add commit info to arenas
daan
2019-11-11 15:26:11 -0800
741a80256d
merge from dev-exp
daan
2019-11-11 14:51:16 -0800
2bb058bd25
remove cache_reset parameter
daan
2019-11-11 14:44:32 -0800
534e1e39ef
allow allocation in committed regions even if not requested
daan
2019-11-11 14:42:29 -0800
93a6463383
only allow commit delay for small and medium objects
daan
2019-11-11 14:16:45 -0800
83a066fd2d
remove reset_decommits option
daan
2019-11-11 09:46:02 -0800
21bbb1be87
fix warnings
daan
2019-11-10 12:36:55 -0800
181bef382c
merge dev-exp
daan
2019-11-10 11:39:53 -0800
d2279b2a3f
update test-stress with better object distribution
Daan Leijen
2019-11-10 08:13:40 -0800
194008b869
merge
daan
2019-11-09 20:37:16 -0800
9f08ddd0d0
refactor regions; add commit tracking on a segment basis
Daan Leijen
2019-11-09 19:30:53 -0800
f0e02bab03
pr #168 by @zerodefect to update the install location
Daan Leijen
2019-11-08 12:22:03 -0800
7b72a4cd50
fix region suitable bug
Daan Leijen
2019-11-08 11:55:43 -0800
13f5e6e43e
fix numa node check in regions
daan
2019-11-07 18:09:30 -0800
6ccfb5a93e
merge from dev
daan
2019-11-07 11:00:50 -0800
56887aeb2f
add MI_SECURE_FULL=ON as a cmake option to include double free mitigation
daan
2019-11-07 10:59:45 -0800
9b65388807
fix space leak in secure mode where a non-null free list would be discarded
daan
2019-11-07 10:59:19 -0800
27f1a8b3d2
fix avg display; set secure default to 0`
daan
2019-11-07 10:35:30 -0800
36090dee5c
Merge branch 'dev' into dev-exp
daan
2019-11-07 10:34:06 -0800
31d11f64d5
fix secure free list extension where a non-empty initial free list was discarded
daan
2019-11-07 10:33:45 -0800
378716c467
refactor and improve atomic bitmap usage
daan
2019-11-07 10:26:52 -0800
b09282bc0d
change arena allocator to atomic bitmap as well
daan
2019-11-06 22:49:01 -0800
00e19cad9a
refactor region code, split out atomic bitmap
daan
2019-11-06 21:37:23 -0800
2887266063
optimize get numa node for single node systems
daan
2019-11-06 14:17:36 -0800
829fd872f4
initial delay slots
daan
2019-11-04 11:48:41 -0800
3d0a1e249f
remove all floating point types and arithmetic
daan
2019-11-04 09:40:10 -0800
2749612c5f
merge from dev
daan
2019-11-04 08:54:53 -0800
c38af8f7c1
merge d1d65fbc
: make max error messages configurable
daan
2019-11-03 13:25:41 -0800
aece753dce
fix output during preloading enabling stderr only after the crt has loaded
daan
2019-11-03 12:18:20 -0800
8afd06b248
use int64 for time (instead of double)
daan
2019-11-04 08:44:40 -0800
9d6a5acb22
fix unix build warnings
daan
2019-11-03 13:34:54 -0800
d1d65fbca4
make max error messages configurable
daan
2019-11-03 13:25:41 -0800
520a8dafee
divide huge pages more even
daan
2019-11-03 13:25:28 -0800
f36ec5d9d8
reserve huge pages incrementally
daan
2019-11-03 13:16:07 -0800
e320488791
add numa nodes to stats
daan
2019-11-03 12:18:32 -0800
723fbba259
fix output during preloading enabling stderr only after the crt has loaded
daan
2019-11-03 12:18:20 -0800
62cd0237fc
fix aligned huge page allocation on windows
daan
2019-11-02 17:49:34 -0700
ee323aabac
fix vs2017 build
daan
2019-11-02 15:56:21 -0700
fd9d8c85ae
change numa support on linux to use getcpu
daan
2019-11-02 11:55:03 -0700
70748ee1ee
fix missing semi colon
daan
2019-11-02 10:39:09 -0700
a69016c33e
improve and document numa support
daan
2019-11-02 10:30:16 -0700
2c12d7f223
optimized numa calls; better Linux support
daan
2019-11-01 22:01:52 -0700
57dd69265a
normalize numa node
daan
2019-11-01 20:30:01 -0700
2d10c78587
fix linux compilation
daan
2019-11-01 20:19:00 -0700
3fadf4abaf
initial numa awareness for regions
daan
2019-11-01 20:01:08 -0700
a6499be074
initial numa support for arenas
daan
2019-11-01 19:53:07 -0700
aaf01620f4
improve allocation of the huge OS page arena
daan
2019-10-31 19:39:49 -0700
d36d04b4a6
add arena for huge page management
daan
2019-10-31 15:35:10 -0700
8725a88fba
fix assertion in debug secure mode
daan
2019-10-30 15:22:40 -0700
b4d90818e9
merge from dev
daan
2019-10-30 14:55:22 -0700
4a4d74927c
protect against double-free in multi-threaded free list
daan
2019-10-30 14:53:21 -0700
6cf16b1201
fix reset error on windows when disabling eager commit option
daan
2019-10-30 14:32:28 -0700
b052d3b731
enable double free and heap corruption detection in debug mode
daan
2019-10-28 15:54:33 -0700
57b0b578ad
Merge branch 'dev' into dev-win
daan
2019-10-28 14:12:37 -0700
87bdfbb9b6
use more conservative retire strategy
daan
2019-10-28 14:12:06 -0700
081e2d1eb6
fix statistics display
daan
2019-10-28 13:43:42 -0700
28d4ec4c5a
fix statistics accounting of huge pages
daan
2019-10-28 13:14:14 -0700
1a36ca3eb9
merge from dev
daan
2019-10-28 12:31:08 -0700
ff9f29660b
remove double_free call
daan
2019-10-28 12:27:32 -0700
5dfdc092b5
improve windows warning message
daan
2019-10-28 12:26:57 -0700
25246070ae
fix double free check in secure = 4 mode; inline _mi_ptr_cookie
daan
2019-10-19 08:34:18 -0700
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
daan
2019-10-18 18:11:04 -0700
fdfa6ed260
fix warnings at high warning level in msvc
daan
2019-10-17 16:56:57 -0700
5de851a84d
update page_flags to have more portable definition
daan
2019-10-17 16:48:16 -0700
93b4281b82
ensure randomized huge page start address in 1GiB aligned
daan
2019-10-17 12:35:35 -0700
454bc67338
increase delayed output buffer to 32k
daan
2019-10-17 12:14:15 -0700
6e94950de3
update redirection modules
daan
2019-10-17 12:13:45 -0700
26c27fbf58
use uint8_t bit fields, and improve portability of page_flags type
daan
2019-10-17 12:07:26 -0700
72d1ab80c3
Merge pull request #160 from dscho/git-for-windows-fixes
Daan
2019-10-17 11:51:39 -0700
559688ec64
Suppress warning about unnamed struct
Johannes Schindelin
2019-10-16 23:40:25 +0200
0fd0122c0a
Avoid compiler warning when casting the result of GetProcAddress()
Johannes Schindelin
2019-10-16 22:43:57 +0200
5bd8ea2e4f
Repeat mi_decl_allocator
in functions' definitions
Johannes Schindelin
2019-10-17 17:02:51 +0200
e747a6f3a6
Use unsigned
for bit-field variables
Johannes Schindelin
2019-10-17 17:01:56 +0200
f3a162f095
pick better umul_overflow variant based on size_t size
daan
2019-10-17 09:52:10 -0700
4609537b8a
pick better umul_overflow variant based on intptr size
daan
2019-10-17 09:47:12 -0700
08d83cc33d
disallow regular allocation from the huge reserved area
daan
2019-10-17 09:24:57 -0700
a96c90db5d
remove old windows overriding method
daan
2019-10-17 09:22:23 -0700
0e188a18a7
update test to match malloc with free
daan
2019-10-17 09:21:20 -0700
46aa16b432
updated redirection module on windows
daan
2019-10-17 09:20:57 -0700
99141497ee
merge from dev
daan
2019-10-12 11:17:05 -0700
9bf9bcb9b9
Merge branch 'master' into dev
daan
2019-10-12 10:42:54 -0700
7441aa4212
update redirection module to add additional checks
daan
2019-10-12 10:42:34 -0700
480f7683a9
cleanup delayed output
daan
2019-10-12 10:42:04 -0700
5e9b37dc4e
add delayed output buffer
Daan Leijen
2019-10-11 17:03:09 -0700
7d018dc9e1
add delayed output buffer
Daan Leijen
2019-10-11 17:03:09 -0700
e946d56ba0
Merge branch 'master' of https://github.com/microsoft/mimalloc
Daan Leijen
2019-10-07 12:13:51 -0700
c9d474d298
update mimalloc build version
Daan Leijen
2019-10-07 12:13:40 -0700
8830c7bccc
Update readme.md
Daan
2019-10-07 12:08:44 -0700
114d05cd76
bump to version 1.1
Daan Leijen
2019-10-07 09:54:23 -0700
46866330c1
Merge branch 'dev' into dev-win
daan
2019-09-17 18:07:50 -0700
1de6c22b49
remove incorrect region_count comment
daan
2019-09-17 18:07:32 -0700
8857f0a5ef
merge from dev
daan
2019-09-17 17:49:56 -0700
5744f90882
remove thread init/done verbose messages
daan
2019-09-17 17:35:20 -0700
60efb62155
make secure a build option only
daan
2019-09-17 17:31:42 -0700
d72b5350e3
fix error code on mprotect failure
daan
2019-09-17 17:23:20 -0700
3a697abf1f
set SONAME and use symbolic link at install (issue #9 and #58 )
daan
2019-09-15 20:26:30 -0700
33f4ec4ac6
put new-delete overrides in separate header file
daan
2019-09-15 19:19:00 -0700
adf8e30eda
ensure large page privileges are acquired on windows when calling reserve_huge_os_pages
daan
2019-09-14 15:23:28 -0700
f280f14e31
roll back commit 3d8c331
and start region search from last idx per thread
daan
2019-09-13 12:16:40 -0700
6896408ab1
fix definition of mi_recalloc_tp
daan
2019-09-11 20:49:18 -0700
c977a1629d
update documentation
daan
2019-09-11 20:48:41 -0700
24777f6a91
limit aligned allocation to power-of-two alignment
daan
2019-09-11 17:49:28 -0700
050e7cedf4
roll back commit 0aec6d93
on alignment >= size
as it breaks assertions in tensorflow
daan
2019-09-11 15:48:44 -0700
1909cfb346
refine mi_os_good_alloc_size and use it for huge pages (to ensure realloc is bounded as in #153
Daan Leijen
2019-09-10 13:26:51 -0700
d278c26c0e
round huge page sizes into 12.5% increments (issue #153 )
Daan Leijen
2019-09-10 07:54:31 -0700
e2202f6bbe
update vs2019 projects
daan
2019-09-09 12:56:15 -0700
8903d7a526
fix tests for aligned allocation
daan
2019-09-09 08:21:35 -0700
ce81af1119
use mi_is_power_of_two when possible (pr #118 )
daan
2019-09-09 08:12:50 -0700
b104e434e4
fix volatile declaration on function
daan
2019-09-09 08:07:35 -0700
efe083a548
Merge branch 'master' into dev
daan
2019-09-09 08:06:35 -0700
270e765454
Merge pull request #148 from pitrou/tls-local-dynamic
Daan
2019-09-09 08:05:22 -0700
23155c5d71
add recursion guard to deferred callback
daan
2019-09-09 08:02:41 -0700
e227341f5b
fix mi_collect being called with empty heap (issue #150 )
daan
2019-09-09 07:54:36 -0700
7b63bc4211
add alignment check to aligned_alloc for C11 compliance
daan
2019-09-07 12:02:22 -0700
0aec6d9302
don't align to sizes greater than than the allocation size
daan
2019-09-07 12:01:54 -0700
b241910810
don't allocate more than PTRDIFF_MAX on aligned allocations
daan
2019-09-07 11:52:21 -0700
f2f7c8d0e9
fix volatile declaration on function pointer
daan
2019-09-07 09:18:29 -0700
89858ab791
improve page_free_extend performance slightly; do not maintain expensive statistics in release mode
daan
2019-09-06 16:48:48 -0700
47fc73d694
fix c++ compilation; make default output non-atomic
daan
2019-09-06 11:51:22 -0700
f38fcf79eb
ensure addresses of large aligned allocations are randomized
daan
2019-09-06 09:19:26 -0700
1a7b1783fa
changed strategy to reduce contention for region search and vs2019 project fix
Jakub Szymanski
2019-09-05 08:13:52 -0700
2be3208734
add wrap-around for large aligned allocations on Windows and Linux
daan
2019-09-04 21:03:00 -0700
e73982c4cf
better alignment for large and huge pages inside a segment
daan
2019-09-04 18:42:37 -0700
3bbc047ba6
reserve huge pages returns actual number of pages reserved
daan
2019-09-04 12:14:59 -0700
e302737830
reserve huge pages returns actual number of pages reserved
daan
2019-09-04 12:14:59 -0700
6c43ae2bde
add later thread-done invokation; add mi_is_redirected call
daan
2019-09-04 12:00:41 -0700
b69a4b52c0
Fix #147 : provide CMake option for alternate TLS mechanism
Antoine Pitrou
2019-09-04 12:02:16 +0200
b7e506ad9d
fix for incorrect region count
daan
2019-09-03 19:33:38 -0700
3c563816c0
read regions count on every loop iteration
daan
2019-09-03 18:25:01 -0700
aea21486dd
fix regions_count tracking in case of concurrent region allocations
daan
2019-09-03 18:20:56 -0700
a6a956c589
add back zero initialized re-allocation
daan
2019-09-03 10:57:39 -0700
7a91368108
pass page to block_zero_init and extend to block_size
daan
2019-09-03 10:11:24 -0700
739d11313c
fix commit zero on windows
daan
2019-09-02 14:53:22 -0700
d1bd1644d5
support zero-initialized memory detection
daan
2019-09-02 13:16:52 -0700
216d75a222
Update readme.md
Daan
2019-09-02 10:48:49 -0700
21f7119920
Merge branch 'master' into dev
daan
2019-09-02 10:24:23 -0700
6e6e8ef800
Update readme.md
Daan
2019-09-02 10:22:52 -0700
31726c6554
fix type; fix comment
daan
2019-09-02 10:18:34 -0700
d6e35ffd83
Merge branch 'dev' into dev-exp
daan
2019-09-02 10:10:08 -0700
d7982f8733
make output name not depend on build type capitalization (issue #144 )
daan
2019-09-02 09:57:39 -0700
8ef8ddecc5
Merge branch 'master' into dev
daan
2019-09-02 09:53:34 -0700
783ae72743
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2019-09-02 09:53:30 -0700
f5be3f4aeb
Merge pull request #143 from devnexen/bsd_build_fix
Daan
2019-09-02 09:51:12 -0700
7f6fd95308
Merge pull request #145 from pitrou/cmake-disable-tests
Daan
2019-09-02 09:50:32 -0700
683989a85c
Merge pull request #146 from carenas/master
Daan
2019-09-02 09:49:35 -0700
e60174e836
add more targets for redirection
daan
2019-09-02 08:51:31 -0700
136e120d51
update redirection modules
daan
2019-09-01 17:21:58 -0700
e874844562
update redirection to include fixes for x86
daan
2019-09-01 12:18:29 -0700
0e35ec3879
avoid deadlock with OpenBSD
Carlo Marcelo Arenas Belón
2019-09-01 01:06:01 -0700
ab5af8fdad
merge from dev
daan
2019-08-30 14:38:28 -0700
9fc726619a
guard against passing stdin/stderr as output
daan
2019-08-30 14:37:04 -0700
86ee1722f5
in verbose mode, list all options at startup
daan
2019-08-30 14:34:46 -0700
0aed30b387
update redirection modules; more robust and works on older windows versions
daan
2019-08-29 23:37:51 -0700
f35f643508
merge from dev
daan
2019-08-29 09:52:22 -0700
7bf12c7b5f
make output function configurable; remove <stdio.h> from standard includes
daan
2019-08-29 09:42:50 -0700
4819d3f78f
expose mi_stats_merge function
daan
2019-08-29 09:01:00 -0700
4b39c0b06e
fix eager_delay test, and allow large OS pages even without eager commit enabled
daan
2019-08-29 07:55:57 -0700
64c1d6de86
fix mi_likely branch that was marked as unlikely
daan
2019-08-29 07:50:35 -0700
e8c7505853
only set has_aligned flag if really necessary
daan
2019-08-29 07:49:40 -0700
154fd471a1
fix comparison warning
daan
2019-08-29 07:48:15 -0700
d381fcd9fa
rename lazy to eager_commit_delay
daan
2019-08-28 12:09:23 -0700
9af51506a6
track commit and is_large status more precisely
daan
2019-08-28 11:58:30 -0700
cbc392434c
Add an option to disable building tests
Antoine Pitrou
2019-08-28 17:26:56 +0200
3903a10e93
FreeBSD (and possibly NetBSD) build fix.
David Carlier
2019-08-28 07:17:58 +0000
a551f3abc4
more precise commit statistics
daan
2019-08-27 18:08:03 -0700
18e02c3766
try allocating non-eager segments in non-fixed memory
daan
2019-08-27 17:02:56 -0700
23b5593af6
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2019-08-27 16:40:47 -0700
afaf4924cb
Merge pull request #142 from jserv/clarify-ldpreload
Daan
2019-08-27 16:40:21 -0700
a7d0d19b07
Merge pull request #141 from devnexen/mac_os_anon_pg_option
Daan
2019-08-27 16:39:26 -0700
61e4b83f36
Clarify LD_PRELOAD on dynamically-linked ELF
Jim Huang
2019-08-28 06:44:40 +0800
b72a2d9659
macOS: anonymous page ID make it as env var.
David Carlier
2019-08-27 18:43:50 +0100
cf7bb70117
Merge branch 'master' into dev
daan
2019-08-27 10:01:20 -0700
f3c082462b
Merge pull request #137 from nmoinvaz/fixes/bool-perf-warning
Daan
2019-08-27 09:58:29 -0700
1b9c68667b
Merge pull request #140 from jserv/fix-rt-linkage
Daan
2019-08-27 09:56:59 -0700
db8d443ae6
track more precisely if memory is fixed or committed
daan
2019-08-26 22:45:26 -0700
eea093000a
graceful fallback for huge page allocation on Linux
daan
2019-08-26 13:47:52 -0700
f0a12699c2
remove atomic_iread
daan
2019-08-26 12:42:25 -0700
3d8c331a1c
search regions always from the lowest index
daan
2019-08-26 12:41:59 -0700
8b06ab1e49
fix check on gigabyte alignment of huge os pages on windows
daan
2019-08-26 12:41:35 -0700
a654732d99
merge from dev new atomics
daan
2019-08-26 12:30:03 -0700
2c19388bcf
initialize mimalloc options at process load
daan
2019-08-26 11:44:41 -0700
7ce9c02fd4
make cas weak use release memory order; improve free assembly
daan
2019-08-26 08:20:26 -0700
5c7c106d62
strengthen some atomic operations for weak memory models
daan
2019-08-26 08:11:15 -0700
2159c22415
fix atomic declaration on windows
daan
2019-08-25 23:06:18 -0700
baabc77503
use proper atomic initialization macros
daan
2019-08-25 23:02:41 -0700
e8664001f7
Use standard _Atomic declarations and clean up atomic operations
daan
2019-08-25 22:59:12 -0700
6e360d34ee
fix 1GB huge page flag on Linux
daan
2019-08-25 13:15:26 -0700
23c35f4aba
merge from dev
daan
2019-08-25 13:07:07 -0700
b86c851cca
put segment cache behind an option and disable by default
daan
2019-08-25 12:29:01 -0700
038e8fd7d6
reduce retire size
daan
2019-08-25 12:10:18 -0700
c3c6401633
merge from master; fix windows environment reading
daan
2019-08-25 11:36:34 -0700
7972b64a82
resolve race on option initialization
daan
2019-08-25 11:18:16 -0700
a431d80fc3
better object sizes for large objects
daan
2019-08-25 10:01:11 -0700
23812cc0ac
do not keep a queue of huge pages and free them directly
daan
2019-08-24 15:45:14 -0700
99e071cf2c
Link with -lrt for older glibc
Jim Huang
2019-08-24 21:24:56 +0800
d04d379f66
fix merge conflicts
daan
2019-08-23 21:44:07 -0700
d3224d0bba
Merge branch 'dev' into dev-win
daan
2019-08-23 21:42:32 -0700
6c6fcad242
remove threadid from pages and keep page flags separate (cherry picked)
daan
2019-08-23 14:08:00 -0700
15552eba79
ensure volatile declaration for abandoned_next field
daan
2019-08-23 13:44:43 -0700
25ea9cf142
on windows use 4TiB area for aligned allocation
daan
2019-08-23 21:38:45 -0700
acde83543f
remove threadid from pages and keep page flags separate
daan
2019-08-23 14:08:00 -0700
b511309709
ensure volatile declaration for abandoned_next field
daan
2019-08-23 13:44:43 -0700
a1c5218ff5
use 4TiB area on windows 64-bit for aligned allocation
daan
2019-08-23 11:33:06 -0700
5d3bf1c844
don't commit or reset in huge OS pages
daan
2019-08-23 11:22:35 -0700
4c9213887b
Fixed compiler warning about converting from bool to BOOL (performance warning)
Nathan Moinvaziri
2019-08-22 14:47:08 -0700
7f29dec44a
Merge pull request #134 from kile0/kile/vs2019
Daan
2019-08-21 16:00:03 -0700
71121a7457
Merge branch 'dev-win' into dev-exp
daan
2019-08-21 11:12:25 -0700
e7bd8c5d14
merge with dev-win
daan
2019-08-21 11:11:40 -0700
ee475fd8cd
add warning when no avaiable mem
Jakub Szymanski
2019-08-21 11:11:36 -0700
eb25093b13
fix mi_cdecl for older clang versions
Daan Leijen
2019-08-21 09:40:57 -0700
13ca6a088b
Merge branch 'dev' into dev-win
Daan Leijen
2019-08-21 08:11:26 -0700
311794b296
remove debug statement
Daan Leijen
2019-08-21 08:11:16 -0700
c5546dca3f
Merge branch 'dev' into dev-win
Daan Leijen
2019-08-21 08:09:37 -0700
12257e5bc1
fix thread-id reset on page abandonment
Daan Leijen
2019-08-21 08:06:40 -0700
cc6d14c55b
fix thread-id reset on page abandonment
Daan Leijen
2019-08-21 08:06:40 -0700
6165177cb1
provide a set of solutions that use the vs2019 vcruntime
Kirsten Lee
2019-08-20 16:19:16 -0700
b005f7cdbf
Merge branch 'dev' into dev-win
daan
2019-08-20 09:46:05 -0700
ff88361329
lower block size for keeping retired pages
daan
2019-08-20 09:45:50 -0700
d81b800e12
optimize stat counter increase
daan
2019-08-20 08:58:53 -0700
86d4ded831
Merge branch 'dev' into dev-exp
daan
2019-08-20 08:27:46 -0700
a5071eb510
Merge branch 'dev' into dev-win
daan
2019-08-20 07:50:03 -0700
27d794b5f4
fix option_enable call
daan
2019-08-20 07:49:40 -0700
03d994648a
better option interface: option_enable, option_disable, and option_set_enabled
daan
2019-08-20 07:47:50 -0700
7a2e0df5ea
merge from dev
daan
2019-08-20 07:37:46 -0700
1e0cd575a5
do not export DllEntry on windows
daan
2019-08-20 07:06:53 -0700
d52e4039b6
remove the reset_discards option
daan
2019-08-20 07:06:11 -0700
598233135c
fix optimization settings on Windows compilation
daan
2019-08-20 07:04:00 -0700
79487dbedf
add checks for right option order
daan
2019-08-20 06:58:51 -0700
29e73dec22
Merge branch 'dev' into dev-win
daan
2019-08-19 21:25:09 -0700
8c795cc37d
remove test statement
daan
2019-08-19 21:24:38 -0700
05631ebfc4
Merge branch 'dev' into dev-win
daan
2019-08-19 21:23:04 -0700
d2324f1c2a
always check large_os_pages enabled option so it can be changed during the running of the program
daan
2019-08-19 11:17:00 -0700
13ef8a049b
allow larger large objects to better use segment space
daan
2019-08-19 18:20:51 -0700
48a7d64bdd
if region overcommitting due to contention save it to a further slot
daan
2019-08-19 21:20:24 -0700
2066e2797d
don't allow allocations larger than PTRDIFF_MAX, issue #121
daan
2019-08-19 19:29:27 -0700
74299646bb
fix heap cookie and random order on initialization (issue #131 )
daan
2019-08-19 19:22:13 -0700
b46bacc180
fix absorb heap (issue #132 )
daan
2019-08-19 19:19:09 -0700
770e752578
fix parameter order on mul_overflow to fix static analysis warnings (pr #125 )
daan
2019-08-19 19:15:04 -0700
82e1b40166
Merge branch 'master' into dev
daan
2019-08-19 19:13:25 -0700
e2b4127a16
Merge pull request #129 from devnexen/linux_build_fix
Daan
2019-08-19 19:04:48 -0700
228c5e5507
allow larger large objects to better use segment space
daan
2019-08-19 18:20:51 -0700
a8b24472cb
use 1GiB huge pages on windows when reserving upfront
daan
2019-08-19 18:16:12 -0700
0e639addb0
add environment option to reserve huge pages upfront
daan
2019-08-19 14:14:50 -0700
5b2f4184b3
Merge branch 'dev' into dev-exp
daan
2019-08-19 11:37:39 -0700
741f37e1f0
always check large_os_pages enabled option so it can be changed during the running of the program
daan
2019-08-19 11:17:00 -0700
42dedb00ec
initial implementation of mi_os_reserve_huge_pages
daan
2019-08-19 11:10:06 -0700
8d28713a35
Merge branch 'dev' into dev-win
daan
2019-08-19 08:13:53 -0700
61ebaaa403
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2019-08-19 08:10:11 -0700
367fb046ec
Merge branch 'dev' into dev-win
Daan Leijen
2019-08-16 18:40:56 -0700
069c26dbab
fix small object size check in mi_segment_page_alloc
Daan Leijen
2019-08-16 18:40:30 -0700
6d11e59250
fix to avoid potential linear behavior in page collect
daan
2019-08-14 07:46:38 -0700
b0003cb101
linux build correction
David Carlier
2019-08-14 15:07:13 +0100
d3375f2bac
fix assertion in mi_free_size
daan
2019-08-12 13:50:41 -0700
ab53da679e
Merge branch 'dev' into dev-exp
daan
2019-08-12 13:43:29 -0700
178ea0840c
roll back commit #72d8608 to avoid spin lock contention on region allocation
daan
2019-08-12 13:40:19 -0700
113a3cc1a2
Merge branch 'dev' into dev-exp
daan
2019-08-12 09:20:16 -0700
8ca79b5359
Hide MEM_EXTENDED_PARAMETER to compile on older SDK's
daan
2019-08-12 08:58:22 -0700
62de76a327
fix C++ compilation of stress test
daan
2019-08-12 08:55:20 -0700
8b2194c160
merge from master
daan
2019-08-12 15:50:21 -0700
cbc826beb5
Merge pull request #126 from JeanMiK/fix_C++_signature_of_mi_is_in_heap_region
Daan
2019-08-12 08:45:04 -0700
3f43cbe6a1
Fix C++ signature of function mi_is_in_heap_region
JeanMiK
2019-08-12 12:43:01 +0200
63d4d2ad9c
Merge branch 'dev' into dev-exp
daan
2019-08-12 01:59:31 -0700
648f535c80
improve support for transparent huge pages on Linux (pr #115 )
daan
2019-08-11 18:23:31 -0700
0061e88360
updated redirection module
daan
2019-08-11 16:45:20 -0700
f35c2c5201
improve message printing from redirection module
daan
2019-08-11 16:38:58 -0700
0c912445c4
Merge branch 'dev' into dev-exp
daan
2019-08-11 14:46:53 -0700
feb7b2c160
improve bit range skipping in region search
daan
2019-08-11 13:49:12 -0700
3a75a9d5be
use bit-scan instruction to speed up region search
daan
2019-08-11 13:03:00 -0700
0fd898315c
per thread region search index
daan
2019-08-11 12:15:13 -0700
2e924150ae
further layout improvement for msvc code generation
daan
2019-08-11 11:30:24 -0700
7b105c4810
improve layout of page for x64
daan
2019-08-11 10:31:00 -0700
2c1da9d194
fix scalar initialization of page flags
daan
2019-08-11 09:03:52 -0700
d71e67b689
Merge branch 'dev' into dev-exp
daan
2019-08-11 09:00:39 -0700
3a171624bd
Merge branch 'master' into dev
daan
2019-08-11 08:59:38 -0700
a73daf1804
avoid mod operation in region allocation and limit extension
daan
2019-08-11 08:54:32 -0700
756f4b2724
improve bit scanning code in region allocation
daan
2019-08-11 08:48:19 -0700
6435887657
add comment on wait strategy in region allocation
daan
2019-08-11 08:18:51 -0700
f5902a7a82
ensure webassembly allocation sizes are page aligned
daan
2019-08-11 08:06:17 -0700
a1384bff72
avoid atomic read on aligned allocation on Linux
daan
2019-08-11 08:00:10 -0700
dbe010f2d4
add huge and giant stats; increase bins
daan
2019-08-10 20:51:37 -0700
737b05cc25
remove unused fields from OS thread local data
daan
2019-08-10 17:50:27 -0700
ed785253bf
restructure the page flags to use explicit masks
daan
2019-08-10 17:48:00 -0700
a90dc02984
Merge branch 'dev' into dev-exp
daan
2019-08-10 17:27:52 -0700
c0258b2d29
Merge branch 'master' into dev
daan
2019-08-10 17:27:22 -0700
b74f9b979f
update documentation
daan
2019-08-10 17:27:07 -0700
6bc6628ad4
Update readme.md
Daan
2019-08-10 17:12:05 -0700
f7ed954c7c
Update readme.md
Daan
2019-08-10 17:07:40 -0700
576691b07e
Merge branch 'dev-win' into dev-exp
daan
2019-08-10 15:56:56 -0700
49b1f55029
Merge branch 'dev-win' into dev
daan
2019-08-10 15:56:26 -0700
74a5c17178
update order of options; make eager_region_commit 0 on windows by default
daan
2019-08-10 15:44:55 -0700
2fee6f98d7
Merge branch 'master' into dev
daan
2019-08-10 15:23:43 -0700
2b9e3ed01b
merge from dev-win
daan
2019-08-10 15:19:04 -0700
78a70ada2e
Fix option reading even when preloading on Windows
daan
2019-08-10 15:17:40 -0700
d9cbc457b8
Merge branch 'dev-win' into dev-exp
daan
2019-08-10 15:11:51 -0700
6f3bc87dcd
merge from dev
daan
2019-08-10 10:26:46 -0700
8ae2492eee
fix arguments for the heap visitor function, issue #124
daan
2019-08-10 10:14:01 -0700
5b4c4ac959
Merge pull request #117 from devnexen/darwin_anon_monitor
Daan
2019-08-10 09:58:35 -0700
ccc78302bf
fix double assignment (#125 , by @ebudai)
daan
2019-08-10 09:53:00 -0700
3d9d70bce0
add new redirection module; fix environment reading at preloading
daan
2019-08-10 09:39:36 -0700
19163c7097
Merge branch 'dev-win' into dev-exp
daan
2019-08-09 15:32:23 -0700
b1938530af
fix comment
daan
2019-08-09 14:31:45 -0700
7b16aa9302
remove accidental commit of different size bins experiment
daan
2019-08-09 11:22:38 -0700
442bad9190
add good-fit for allowing larger blocks in smaller segments
daan
2019-08-09 11:18:38 -0700
5e56b40fe6
improve page flags handling
daan
2019-08-08 17:18:49 -0700
de57686dac
Merge branch 'dev-win' of https://github.com/microsoft/mimalloc into dev-win
daan
2019-08-08 15:23:27 -0700
6596e970a5
move in_full and has_aligned into page threadid for a single test in mi_free
daan
2019-08-08 15:23:18 -0700
55778d2fe4
improved stats
daan
2019-08-08 11:36:13 -0700
56778fe7d2
split normal and secure extend in a separate routine
daan
2019-08-06 18:57:53 -0700
6313c21d93
fix output directory in test projects
daan
2019-08-06 18:25:57 -0700
0e8241c140
change from MIMALLOC_OVERRIDE to MIMALLOC_DISABLE_OVERRIDE
Jakub Szymanski
2019-07-30 10:36:00 -0700
82ab9b4bd6
tracking anonymous page lifetime on macOS.
David Carlier
2019-07-27 22:34:47 +0100
d1f708af59
add MIMALLOC_OVERRIDE setting to disable redirection at runtime
daan
2019-07-26 13:01:43 -0700
bbf97fa02d
merge from 'dev-exp'; add support for MIMALLOC_OVERRIDE environment variable
daan
2019-07-26 12:06:15 -0700
613d0c1993
merge 095a87b
daan
2019-07-23 17:57:27 -0700
095a87be2e
add recursion guard for overriding in windows
daan
2019-07-23 17:57:27 -0700
3d6feead60
add heap region check to cfree
daan
2019-07-23 15:54:47 -0700
dd79b662f8
restore to old-style windows override; fix debug mode
daan
2019-07-23 15:51:08 -0700
89da085b67
rename to mimalloc-override.dll and use C compilation
daan
2019-07-23 15:10:25 -0700
fa5dc17621
fix merge conflicts
daan
2019-07-23 15:09:54 -0700
ab022e4271
fix mimalloc-redirect path on windows cmake build
daan
2019-07-23 12:40:42 -0700
c02a0c9b49
ensure cmake uses C++ compilation with MSVC
daan
2019-07-23 09:59:20 -0700
13364b50b8
fix 32-bit build of stress test
daan
2019-07-23 09:37:36 -0700
f2f45ad5df
fix cmake build on windows
daan
2019-07-23 09:36:58 -0700
a022049705
remove old comment
daan
2019-07-22 21:25:57 -0700
189ad0f81d
small optimizations, use bitwise aligne
daan
2019-07-22 20:51:12 -0700
66b8c37ab3
ensure C++ compilation on windows
daan
2019-07-22 10:27:14 -0700
598ed19c61
more comments
daan
2019-07-22 16:11:06 -0700
0b4d74a566
merge
daan
2019-07-22 10:10:45 -0700
219d46ff0c
update test files and overriding
daan
2019-07-22 01:36:16 -0700
6d9fab5af4
trailing id after #endif
daan
2019-07-21 17:14:13 -0700
b611c7fb34
use atomic ops to guard large page tries on windows
daan
2019-07-21 17:13:36 -0700
7b7c36c8c7
use hinted address to mmap to reduce mmap calls
daan
2019-07-21 17:08:09 -0700
b5e26bedb1
Enforce strict include-what-you-use policy
Jim Huang
2019-07-21 23:21:14 +0800
fe229f8fad
Fix path name in documentation about macOS
Jim Huang
2019-07-22 04:45:40 +0800
65037d051b
improved debug warning for freeing invalid pointers
daan
2019-07-21 13:09:34 -0700
2eb607d03f
re-add missing thread_init needed when running in debug mode
daan
2019-07-21 13:03:51 -0700
28b874129a
Avoid using strlen function in loop
Jim Huang
2019-07-21 22:20:05 +0800
3e9c953eea
Add branch prediction hint for mi_option_get
Jim Huang
2019-07-21 21:42:00 +0800
7266e7006a
fix typo
caixiangyue
2019-07-19 16:23:14 +0800
8dba36bcec
Use checked unsigned multiplication extension of GCC/Clang
Jim Huang
2019-07-07 12:56:40 +0800
46b11fa0a4
add comment about large pages
daan
2019-07-15 10:07:23 -0700
0a81d26c83
fix mimalloc-redirect path on windows cmake build
daan
2019-07-23 12:40:42 -0700
663e63aac2
ensure cmake uses C++ compilation with MSVC
daan
2019-07-23 09:59:20 -0700
48a3d0c6e2
fix 32-bit build of stress test
daan
2019-07-23 09:37:36 -0700
2b911b0b10
fix cmake build on windows
daan
2019-07-23 09:36:58 -0700
6ca8b3fd89
remove old comment
daan
2019-07-22 21:25:57 -0700
f0530b6a83
small optimizations, use bitwise aligne
daan
2019-07-22 20:51:12 -0700
7c26ce9280
ensure C++ compilation on windows
daan
2019-07-22 10:27:14 -0700
80e09ef44e
merge from dev
daan
2019-07-22 10:16:59 -0700
86cadca059
more comments
daan
2019-07-22 16:11:06 -0700
e90938fb4b
merge
daan
2019-07-22 10:10:45 -0700
7555260759
Merge branch 'jserv-include-what-you-use' into dev
daan
2019-07-22 10:07:03 -0700
959d9289b1
merge and improve to upper case in options
daan
2019-07-22 10:06:45 -0700
70648635c6
Merge pull request #113 from jserv/fix-incorrect-path
Daan
2019-07-22 09:51:43 -0700
80400c9946
Merge pull request #111 from jserv/avoid-strlen-in-loop
Daan
2019-07-22 09:51:02 -0700
cf8f46c263
Merge pull request #110 from jserv/options-branch-predict-hints
Daan
2019-07-22 09:49:44 -0700
ce241fd339
Merge pull request #106 from caixiangyue/fix-typo-719
Daan
2019-07-22 09:44:07 -0700
ade118e23d
Merge pull request #88 from jserv/gcc-builtin-umul-overflow
Daan
2019-07-22 09:28:38 -0700
e4caee5f55
update test files and overriding
daan
2019-07-22 01:36:16 -0700
7091670c22
trailing id after #endif
daan
2019-07-21 17:14:13 -0700
272a8e03e4
use atomic ops to guard large page tries on windows
daan
2019-07-21 17:13:36 -0700
069f52523f
use hinted address to mmap to reduce mmap calls
daan
2019-07-21 17:08:09 -0700
1e27cef873
Enforce strict include-what-you-use policy
Jim Huang
2019-07-21 23:21:14 +0800
146a753d1e
Fix path name in documentation about macOS
Jim Huang
2019-07-22 04:45:40 +0800
df33efb19a
improved debug warning for freeing invalid pointers
daan
2019-07-21 13:09:34 -0700
40cb631683
re-add missing thread_init needed when running in debug mode
daan
2019-07-21 13:03:51 -0700
c382c72cf2
Avoid using strlen function in loop
Jim Huang
2019-07-21 22:20:05 +0800
1ffa48cc61
Add branch prediction hint for mi_option_get
Jim Huang
2019-07-21 21:42:00 +0800
f0de0b6f68
remove old windows override code
daan
2019-07-19 09:33:14 -0700
2ac2c6a1c3
fix format of error messages
daan
2019-07-19 09:27:32 -0700
fcd0253ac9
limit number of error messages to 10
daan
2019-07-19 09:27:14 -0700
dd5fa88c45
check better for valid pointers in free in debug mode
daan
2019-07-19 09:26:51 -0700
81a7ae33e7
fix order of options
daan
2019-07-19 09:26:22 -0700
2f63964e5c
update stress test to be more deterministic
daan
2019-07-19 08:55:02 -0700
a215049b4a
fix typo
caixiangyue
2019-07-19 16:23:14 +0800
fd6fd23470
make eager-region-commit false by default on windows
daan
2019-07-18 21:48:58 -0700
8dad858888
update to correct project settings for visual studio
daan
2019-07-18 21:41:28 -0700
33aa5d92fa
fix to overrides on windows
daan
2019-07-18 21:20:18 -0700
93c8a5b693
full overriding api supported
daan
2019-07-18 21:12:40 -0700
306a542336
add mimalloc-override header file and use C++ compilation with msvc
daan
2019-07-18 19:52:29 -0700
12e0a04052
compile as C++ under msvc
daan
2019-07-18 19:52:29 -0700
e94143c47c
add redirection dll and library
daan
2019-07-18 19:26:44 -0700
c228ecefd8
update for new dynamic direction on windows 64-bit
daan
2019-07-18 18:59:32 -0700
f646cc925d
add is_in_heap_region function
daan
2019-07-17 15:37:36 -0700
7b5ba96e8e
merge from dev
daan
2019-07-15 18:58:04 -0700
8390c46503
disable JustMyCode debugging and whole program optimization as it seems to cause compiler errors sometimes
daan
2019-07-15 17:38:16 -0700
72d8608333
avoid thread over-allocation on initial region allocations
daan
2019-07-15 17:35:43 -0700
7ea9cf8d1f
add region collection
daan
2019-07-15 14:53:03 -0700
89bdcd43b2
fix bit search index
daan
2019-07-15 14:33:15 -0700
08e0f14c2a
document experimental options
daan
2019-07-15 14:32:54 -0700
afd981d008
Use checked unsigned multiplication extension of GCC/Clang
Jim Huang
2019-07-07 12:56:40 +0800
ae1794a852
remove accidental test in cmake
daan
2019-07-15 13:36:12 -0700
26ef67a45c
fix visual studio project
daan
2019-07-15 13:22:15 -0700
ea9dbd1036
set better default options for performance
daan
2019-07-15 13:19:26 -0700
0196622fff
Merge branch 'dev' into dev-exp
daan
2019-07-15 11:10:12 -0700
ad45dbf0e5
Merge pull request #32 from jedisct1/wasm
Daan
2019-07-15 11:03:46 -0700
60e9d3f69d
Merge pull request #81 from devnexen/mac_large_page_2mb
Daan
2019-07-15 10:56:53 -0700
bd6abd2463
add comment about large pages
daan
2019-07-15 10:07:23 -0700
76a5adfbfe
Merge branch 'dev' into dev-win
daan
2019-07-15 10:04:55 -0700
d706109b35
don't decommit/reset parts of a region when using large os pages
daan
2019-07-15 10:04:43 -0700
beef7a8c70
Merge branch 'dev' into dev-exp
daan
2019-07-15 09:47:09 -0700
7ba6192dd5
always pass commit flag to large page allocation on windows
daan
2019-07-15 09:46:58 -0700
08c873c250
Merge branch 'dev' into dev-exp
daan
2019-07-14 20:35:01 -0700
4e855988b4
Merge branch 'dev' into dev-win
daan
2019-07-14 20:34:05 -0700
c4426e1555
add sized delete to windows override
daan
2019-07-14 20:28:33 -0700
461b8aed80
more complete C++ support for compliance and performance
daan
2019-07-14 19:56:33 -0700
9129ab0f64
Port to WebAssembly
Frank Denis
2019-07-10 20:23:20 +0200
8dc0b5345b
Merge branch 'dev' into dev-exp
daan
2019-07-14 16:50:38 -0700
c5da02788f
Merge branch 'dev' into dev-win
daan
2019-07-14 16:50:18 -0700
49ceb4d018
refactor delayed_free code
daan
2019-07-14 16:48:53 -0700
5ad2effb39
use standard compliant compilation of the thread_free atomic field
daan
2019-07-14 16:20:27 -0700
2cf419c9bc
Merge branch 'master' into dev
daan
2019-07-14 14:50:39 -0700
a6aa905731
make sure older cmake versions work for build
daan
2019-07-14 14:47:59 -0700
b09af48a68
Merge pull request #93 from JulianATA/dev-exp
Daan
2019-07-14 14:33:37 -0700
36a16ca7eb
Merge pull request #99 from linkwk7/fix_typo_in_comments
Daan
2019-07-14 14:33:12 -0700
adf65a100e
be less aggressive in page reuse to reduce memory footprint
daan
2019-07-14 14:13:47 -0700
672506a3b3
merged with dev-win
daan
2019-07-14 12:57:47 -0700
f93a49446f
Merge branch 'dev' into dev-win
daan
2019-07-14 12:55:52 -0700
e60a5db908
fix cache eviction of smaller segments
daan
2019-07-14 12:52:58 -0700
89b7ffa8ed
link DiscardVirtualMemory dynamically as it is not supported on every windows
daan
2019-07-13 08:12:16 -0700
84a292538c
merge with medium pages
daan
2019-07-12 20:39:29 -0700
a927c07de9
merge medium pages
daan
2019-07-12 20:27:56 -0700
42cf5e1580
reintroduce support for medium size pages
daan
2019-07-12 20:11:39 -0700
d4eabf33b6
Fix typo in comments
linkwk7
2019-07-12 22:05:07 +0800
8a6b474fa0
merge from dev
daan
2019-07-11 16:32:11 -0700
a932e43650
experiment with larger small pages
daan
2019-07-11 15:44:37 -0700
9e9208eae8
Merge branch 'dev' into dev-win
daan
2019-07-11 15:22:09 -0700
1fdb4b288f
more eager handling of non-local frees
daan
2019-07-11 15:21:57 -0700
1377b26b0a
Merge branch 'dev' into dev-win
daan
2019-07-11 13:31:02 -0700
72a39c0bb1
initial fix for delayed freeing of huge pages transferred between threads
daan
2019-07-11 13:30:40 -0700
f844665c9f
merge from dev-win
daan
2019-07-10 22:57:37 -0700
c555e09504
Merge branch 'dev' into dev-win
daan
2019-07-10 22:48:20 -0700
4e6249fd12
azure pipelines better display name, fix c++ compiler
daan
2019-07-10 22:44:36 -0700
3bef93698b
remove publish test, add clang config
daan
2019-07-10 22:41:53 -0700
6577e0e9fd
add test results task to azure pipeline
daan
2019-07-10 22:35:39 -0700
67bed283aa
fix azure pipeline script; remove mapping value
daan
2019-07-10 22:23:18 -0700
9fabd1ea01
fix azure pipeline script
daan
2019-07-10 22:22:44 -0700
a5179d1125
fix azure pipeline script
daan
2019-07-10 22:21:08 -0700
df8f9fc59c
Add test to build pipeline
daan
2019-07-10 22:13:34 -0700
34a4de01b1
add Visual Studio support for new stress target
daan
2019-07-10 21:59:44 -0700
12d3297db5
add allocator stress test to the test targets
daan
2019-07-10 21:52:28 -0700
da0fb1e53f
merge dev-win
daan
2019-07-10 20:50:32 -0700
6deea16d2d
add segment count to internal statistics
daan
2019-07-10 19:54:46 -0700
ef4359b272
fix abondoned segment counter, and free list adding
daan
2019-07-10 16:33:49 -0700
b80b0837ab
Merge branch 'dev-win' into dev-exp
daan
2019-07-10 07:50:26 -0700
5b6f4ecc12
fix compilation warning
daan
2019-07-10 07:50:04 -0700
224951695a
enable non eager commit
daan
2019-07-10 07:24:56 -0700
46a9e51f74
enable non eager-commit flag
daan
2019-07-10 07:17:21 -0700
a6c5e2cffd
Merge branch 'master' into dev
daan
2019-07-09 23:49:29 -0700
95afe453f4
fix compilation warning on windows, issue #94
daan
2019-07-09 23:49:12 -0700
d8c47bfed2
ensure commit of reused cached segments
daan
2019-07-09 23:37:59 -0700
3192ca4682
merge with dev-win
daan
2019-07-09 23:34:17 -0700
3009a7b1fe
support non- eager_commit; on larson reduces commit charge 10x, but other benchmarks often see no improvement
daan
2019-07-09 21:34:56 -0700
2ef1f1df94
Merge branch 'dev' into dev-win
daan
2019-07-09 21:05:30 -0700
09195b6a5f
add commit charge statistics on windows
daan
2019-07-09 21:05:09 -0700
873d07d89d
merge with dev
daan
2019-07-09 20:44:58 -0700
897d47a0fb
Merge branch 'dev' into dev-win
daan
2019-07-09 20:35:52 -0700
ad9db3a633
fix leak of huge segments in caches
daan
2019-07-09 20:35:07 -0700
ee3f2059dc
fix leak in segment cache freeing
daan
2019-07-09 20:22:53 -0700
0314373d93
add reset_decommit, reset_discard options; maintain more statistics
daan
2019-07-09 20:24:00 -0700
2cfdbc2cbb
fix leak in segment cache freeing
daan
2019-07-09 20:22:53 -0700
5928f12b15
Fix typo numbes -> number
Julian Fang
2019-07-10 08:38:58 +0800
35b590de21
Merge branch 'dev' into dev-exp
daan
2019-07-09 15:12:18 -0700
8ef37e6c0b
update atomic exchange memory model annotations for unix
daan
2019-07-09 14:56:43 -0700
cf8815854c
fix cmake issues with OBJECT install
daan
2019-07-09 11:32:24 -0700
129149977d
Merge branch 'dev' into dev-exp
daan
2019-07-08 17:45:04 -0700
76023ca45f
fix path max in realpath on unix (pr #69 )
daan
2019-07-08 17:43:10 -0700
8203f3dcfa
add full heap aligned allocation api (issue #52 ); remove rezalloc (issue #63 ); add mi_version
daan
2019-07-08 17:17:07 -0700
5f607e0f58
update documentation
daan
2019-07-08 17:15:34 -0700
4d22ff6d03
Merge branch 'dev' into dev-exp
daan
2019-07-08 15:45:50 -0700
d656f3e339
merge with master
daan
2019-07-08 15:45:37 -0700
493dfc4b82
merge with dev
daan
2019-07-08 15:42:42 -0700
fc35f6069a
Add NO_SYSTEM_ENVIRONMENT_PATH and example of linking with the object file; pr #67
daan
2019-07-08 13:37:41 -0700
56bdb2c2f3
add more const declarations (pr #79 )
daan
2019-07-08 12:00:59 -0700
7f0137a617
Fix compilation error with MSVC C++
daan
2019-07-07 21:59:53 -0700
7e743dfb58
fix C++ compilation warnings with VisualStudio 2017
daan
2019-07-07 18:52:12 -0700
c3528203b5
fix compilation with C++, fix overrides in C++ to adhere to the spec (issue #26 )
daan
2019-07-07 18:11:21 -0700
dd59a917ce
Expose mi prefixed public standard implementations of various posix, unix, and c++ allocation functions. See issue #75
daan
2019-07-07 13:44:33 -0700
a192d6893e
initial support of 2MB pages on Mac
David Carlier
2019-07-05 20:05:04 +0100
b40fe5178a
fix static object linking
daan
2019-07-04 14:56:58 -0700
983c96a238
Merge branch 'dev' into dev-exp
daan
2019-07-04 14:46:53 -0700
5ff037f8f8
add capability to override multiple entry points in windows dynamic override; and stop patching msvcrt, just crtbase
daan
2019-07-04 12:06:15 -0700
74dc95c1d6
fix crash triggered in release mode with windows dynamic overriding
daan
2019-07-04 12:04:56 -0700
3039dbfcdd
for windows dynamic override, add standard api override and stop patching new/delete (for now)
daan
2019-07-04 09:29:33 -0700
6abdc5f5a3
do not enable verbose by default in the debug build; add trace messages for verbose level 2
daan
2019-07-04 09:28:22 -0700
069208b184
Possible fix to windows dynamic override calling register onexit directly
daan
2019-07-03 19:47:44 -0700
1125271c27
Merge pull request #74 from ErnyTech/patch-1
Daan
2019-07-03 18:52:55 -0700
24feb5e305
update Visual Studio project to not use _MBCS by default, issue #59
daan
2019-07-03 18:49:48 -0700
663769c512
merge dev branch
daan
2019-07-03 18:12:55 -0700
8c2f52dee8
Suppressed the new GCC 9 -Wmissing-attributes warnings
Ernesto Castellotti
2019-07-04 00:21:15 +0200
c3a5f84ad3
rewrite of low-level OS (aligned) allocation to better handle large pages and aligned allocation
daan
2019-07-03 14:52:32 -0700
7b4f3591f0
fix dynamic override when both msvcrt and ucrtbase are loaded in any order using priorities
daan
2019-07-03 14:23:30 -0700
9390642879
fix windows dynamic malloc overried when both ucrtbase and msvcrt are loaded; also fix virtualalloc2 on 32-bit
daan
2019-07-03 13:00:43 -0700
158705815e
fix aligned_ensured bug, trie inc bug, stats in the OS module
daan
2019-07-03 00:16:27 -0700
10a29f17c8
more conservative shrinking of memory
daan
2019-07-02 22:49:12 -0700
cec3c4f9ff
merge in dev branch
daan
2019-07-02 17:28:15 -0700
5c0ffe9865
merge back changes to OS module from 'dev-exp'
daan
2019-07-02 17:17:03 -0700
8cb36c62e6
merge with dev branch
daan
2019-07-02 16:44:35 -0700
c465f6ae35
Merge branch 'master' into dev
daan
2019-07-02 16:32:52 -0700
e2d3fefc1d
Merge branch 'dev' of https://github.com/microsoft/mimalloc into dev
daan
2019-07-02 16:28:47 -0700
eee7601206
Merge pull request #43 from myd7349/cmake-build-options
Daan
2019-07-02 16:28:30 -0700
875ecbd21e
Merge pull request #68 from ObiWahn/make-includes-available
Daan
2019-07-02 16:26:04 -0700
42efe51184
Merge branch 'master' into dev
daan
2019-07-02 16:22:55 -0700
f06931ba7e
Merge pull request #65 from devnexen/mi_mmap_prot_max_support
Daan
2019-07-02 16:21:13 -0700
b0ceb4a44c
forward strdup, strndup, and realpath too
daan
2019-07-02 15:56:01 -0700
b3f533167b
Merge branch 'master' into dev
daan
2019-07-02 15:52:26 -0700
665b7324a4
Merge pull request #61 from jserv/indent-override
Daan
2019-07-02 15:51:42 -0700
7dc3a5a18e
Merge branch 'master' into dev
daan
2019-07-02 15:44:48 -0700
04b1fd7b8d
Fix macro spelling
daan
2019-07-02 12:57:12 -0700
4326bda2c7
Fix main heap cookie on macOS
daan
2019-07-02 12:53:53 -0700
aeff1db32b
Fixing interpose on macOS
daan
2019-07-02 12:49:28 -0700
825d00a001
Merge branch 'master' into indent-override
Daan
2019-07-02 09:03:32 -0700
ea6601c9cc
Merge pull request #62 from jserv/correct-linux-wording
Daan
2019-07-02 09:01:24 -0700
39956aa71f
Merge pull request #64 from 4ge32/master
Daan
2019-07-02 08:53:16 -0700
d35fc6cdc4
PR#66 by kickunderscore to ensure consistent small block alignment
daan
2019-07-02 08:46:50 -0700
06bcea1761
Initial commit of separate memory region layer and improved large OS pages support, see 'memory.c'
daan
2019-07-02 07:23:24 -0700
408b76d103
make includes available for projects that add mimalloc as subdirectory
Jan Christoph Uhde
2019-06-27 12:43:27 +0200
bed746d7d6
Using BSD new PROT_MAX mmap to block page address wider promotions
David Carlier
2019-07-01 06:56:16 +0000
ed5cdba634
fix a environment variables name
Fumiya Shigemitsu
2019-06-30 14:20:23 +0900
2347a65fe0
Clarify the comment about Linux distributions
Jim Huang
2019-06-30 01:17:13 +0800
329a494783
Make forwarding macros friendly to indentation or style checkers
Jim Huang
2019-06-30 01:06:13 +0800
a5b22af7ec
fix object install error
myd7349
2019-06-29 21:53:47 +0800
d6901558cd
enable large OS page support on Windows
daan
2019-06-28 22:35:57 -0700
6eaf387891
Add support for aligned allocation on Windows using VirtualAlloc2
daan
2019-06-28 19:48:30 -0700
38eb0a9449
Update readme.md
Daan
2019-06-27 13:43:23 -0700
ae47a2b13e
Add initial testing file, test target, and readme about testing, issue #10 , pr #57
daan
2019-06-27 13:36:19 -0700
4c87643c29
add check to see if we truly override the system malloc
daan
2019-06-27 13:34:50 -0700
d2a2508af3
fix overly restrictive assertion
daan
2019-06-27 13:33:53 -0700
1e636c45da
add check for overflowing size allocation
daan
2019-06-27 13:33:28 -0700
12d756e7b2
fix page count of heap when absorbing
daan
2019-06-27 13:29:55 -0700
36826a96c9
add power-of-two check to posix_memalign, pr #56
daan
2019-06-27 13:29:00 -0700
ec2a8f387b
strengthen alignment check to be void* aligned
daan
2019-06-27 13:27:53 -0700
5dfced26c2
Merge pull request #49 from Benzodia/master
Daan
2019-06-26 08:44:25 -0700
fcb338a21b
Merge pull request #51 from Qix-/patch-1
Daan
2019-06-26 08:43:02 -0700
45b254f08d
is it -> as it
Qix
2019-06-26 12:53:46 +0200
c19d3a27a8
Remove underscore prefixes to match c lanuguage standard
Julian Fang
2019-06-26 12:57:13 +0800
fac0d4b409
fix passing void as argument
daan
2019-06-25 20:06:34 -0700
b3ce61c408
fix atomic statistics counter increase
daan
2019-06-25 20:05:43 -0700
654bcd7049
Merge branch 'master' into dev
daan
2019-06-25 19:57:45 -0700
9ba53d3e2b
fix missing prototype for heap_alloc_small
daan
2019-06-25 19:57:21 -0700
1713c37f9d
Merge pull request #28 from jserv/gcc-visibility
Daan
2019-06-25 19:54:28 -0700
cae02b4676
Merge branch 'master' into dev
daan
2019-06-25 19:45:59 -0700
4c1d848d88
Merge pull request #38 from dscho/azure-pipelines
Daan
2019-06-25 19:43:36 -0700
f5d1170ae7
Merge pull request #41 from jedisct1/c-prototypes
Daan
2019-06-25 19:38:44 -0700
901413fadd
Merge pull request #44 from jserv/fix-conditional-build
Daan
2019-06-25 19:35:26 -0700
47e822c70f
Correct the use of MI_DEBUG by conditional build
Jim Huang
2019-06-25 21:59:20 +0800
59a714725b
Read-only strings should be const char *
Frank Denis
2019-06-25 12:19:36 +0200
236cd2e65c
fn() is not a valid C prototype
Frank Denis
2019-06-25 12:16:36 +0200
b2706a05bb
Set up CI with Azure Pipelines
Johannes Schindelin
2019-06-25 10:00:41 +0200
256eb97849
Avoid unnecessary symbol exposure with ELF-based systems
Jim Huang
2019-06-23 23:04:43 +0800
c6c1d5fffd
update docs to new MI_ prefixed build options
daan
2019-06-24 19:00:16 -0700
4ea0e2b4ba
Merge branch 'master' into dev
daan
2019-06-24 18:54:27 -0700
91cb4cee8a
use MI_ prefix for all options to better support subdirectory cmake, issue #3
daan
2019-06-24 18:54:03 -0700
30b8624d6e
Merge pull request #22 from myd7349/win32-cmake-patch
Daan
2019-06-24 18:19:49 -0700
c1226611c6
Merge branch 'master' into dev
daan
2019-06-24 18:13:04 -0700
8bb8852d4f
Merge pull request #17 from jserv/macos-rebranding
Daan
2019-06-24 18:12:06 -0700
e86935e108
Merge pull request #18 from jserv/fix-typo
Daan
2019-06-24 18:09:26 -0700
cc951affac
fix compilation on older mac systems without CLOCK_MONOTONIC
daan
2019-06-24 18:06:46 -0700
a16d95375f
remove lock code from atomics (as it is unused)
daan
2019-06-24 17:54:41 -0700
8e244f6616
Merge pull request #33 from dscho/fix-prototypes
Daan
2019-06-24 17:49:50 -0700
460ac23307
Merge pull request #34 from jserv/use-clock_gettime
Daan
2019-06-24 17:48:46 -0700
b7c8d8f007
Fix CMake configuration on Windows
myd7349
2019-06-23 17:26:40 +0800
f36149a9ac
fix format specifiers
daan
2019-06-24 12:20:32 -0700
855e2f0d89
Use clock_gettime() instead of timespec_get()
Jim Huang
2019-06-24 23:54:38 +0800
cbbd57322a
Merge branch 'master' into dev
daan
2019-06-24 08:12:25 -0700
464efa80b0
Fix prototypes of parameter-less functions
Johannes Schindelin
2019-06-24 17:03:33 +0200
91222691cb
fix more warnings on mingw build
daan
2019-06-24 00:42:45 -0700
c1c848516c
fix warnings on mingw build
daan
2019-06-24 00:37:15 -0700
faadceadf5
Merge branch 'master' into dev
daan
2019-06-24 00:21:07 -0700
443fa0fbb5
fix assertions for the new huge page cache
daan
2019-06-24 00:06:22 -0700
f0731862d6
fix compilation on mingw, issue #25
daan
2019-06-23 23:17:44 -0700
cd7aa0ce83
improve handling of huge pages in the cache
daan
2019-06-23 23:15:42 -0700
43568fa422
ensure huge pages are part of the segment cache to avoid mmap calls
daan
2019-06-23 21:37:43 -0700
e5e2b789ba
fix pool commit for windows
daan
2019-06-23 20:41:34 -0700
a667971cbf
Apple rebrands "OS X" as "macOS"
Jim Huang
2019-06-23 15:29:41 +0800
243636b6a1
Fix typo in comment
Jim Huang
2019-06-23 15:38:52 +0800
3526b09903
fix gcc warning
daan
2019-06-23 18:37:54 -0700
ef02104fd3
fix posix_memalign according to issue #27
Daan Leijen
2019-06-23 10:59:47 -0700
fab7329c7a
Merge pull request #24 from jserv/clarify-license
Daan
2019-06-23 10:47:38 -0700
902b8ba639
Merge pull request #31 from jserv/fix-typo-again
Daan
2019-06-23 10:46:00 -0700
78c7a1f349
Fix typo in comments
Jim Huang
2019-06-24 01:40:28 +0800
f3cea2c22a
Merge pull request #19 from jserv/arm-aarch64-tls-register
Daan
2019-06-23 10:39:28 -0700
38d1aad9f7
Merge pull request #20 from jserv/arm-aarch64-atomic-yield
Daan
2019-06-23 10:25:36 -0700
b1d299b35b
Clarify top-level license file
Jim Huang
2019-06-23 19:53:34 +0800
77991fccee
Implement ARM/Aarch64 atomic_yield fastpath
Jim Huang
2019-06-23 16:53:00 +0800
3841b32f9d
Support ARM/Aarch64 TLS register fastpath
Jim Huang
2019-06-23 16:25:33 +0800
06f8da4218
Merge pull request #15 from krytarowski/netbsd-1
Daan
2019-06-22 21:04:15 -0700
52ba2d69a0
Merge pull request #13 from tmcclintock/master
Daan
2019-06-22 21:03:47 -0700
f704d56a62
Merge pull request #12 from jedisct1/fix-mi_process_info-placeholder
Daan
2019-06-22 21:03:29 -0700
b0b1b43dba
Fix build on NetBSD
Kamil Rytarowski
2019-06-23 00:06:41 +0200
aad7a9b083
Fixed a small typo in the readme.
Tom McClintock
2019-06-22 17:16:54 -0400
4d67e58e0f
Fix mi_process_info placeholder prototype
Frank Denis
2019-06-22 22:43:14 +0200
8a81a6c68a
Update readme.md
Daan
2019-06-22 12:00:18 -0700
7d1d449e89
Update readme.md
Daan
2019-06-22 11:57:43 -0700
65e29fa5d9
Merge branch 'master' of https://github.com/microsoft/mimalloc
Daan Leijen
2019-06-22 11:50:19 -0700
79bfe52255
fix accidental delete
Daan Leijen
2019-06-22 11:50:03 -0700
cf21592182
Update readme.md
Daan
2019-06-22 11:41:18 -0700
e52ca3bfa9
possible fix for ARM linux compilation
Daan Leijen
2019-06-22 11:33:18 -0700
9d55a356ba
Add link to the API documentation
Daan
2019-06-22 10:40:24 -0700
6e6dd1a20e
Update index.html
Daan
2019-06-22 10:37:28 -0700
a94521e9e1
Add full documentation
Daan Leijen
2019-06-22 10:30:09 -0700
9d272c064c
start on github documentation
Daan Leijen
2019-06-22 10:28:41 -0700
8ba50d63f2
Merge pull request #1 from chosungmann/fix-spelling-errors
Daan
2019-06-22 08:20:07 -0700
def97b0fd1
Fix spelling errors
Sungmann Cho
2019-06-23 00:09:11 +0900
6208e51415
Update readme.md
Daan
2019-06-21 09:02:42 -0700
69efa50a0d
add reference to the technical report
Daan
2019-06-21 08:46:03 -0700
644f59fad7
Update documentation generation
daan
2019-06-20 09:29:44 -0700
c91bed99e1
Update readme.md
Daan
2019-06-20 09:12:51 -0700
e33c1521a6
update readme
daan
2019-06-20 08:01:39 -0700
77be9df1d8
update readme
daan
2019-06-20 07:58:34 -0700
5cc8ae4f43
update readme to be more short
daan
2019-06-20 07:49:55 -0700
5b6e04774a
update readme
daan
2019-06-19 18:22:11 -0700
d549ba9c2d
update readme
daan
2019-06-19 18:18:21 -0700
ad19dfe062
update readme with references
daan
2019-06-19 18:07:56 -0700
b30d17d250
add security to readme
daan
2019-06-19 17:00:31 -0700
1df1d51333
update readme
daan
2019-06-19 16:52:58 -0700
b3212eef72
add cmake file
daan
2019-06-19 16:52:36 -0700
d4167b38e1
Update readme.md
Daan
2019-06-19 16:46:12 -0700
d143bb05bb
more benchmark figures
daan
2019-06-19 16:41:08 -0700
eebdb6166d
benchmark figure
daan
2019-06-19 16:39:31 -0700
26a874eb3f
initial checkin
daan
2019-06-19 16:26:12 -0700
23b4e65faa
Add license
daan
2019-06-19 14:19:45 -0700
234e3a57da
Initial commit
Microsoft GitHub User
2019-06-19 14:14:45 -0700