Daan Leijen
|
b5665f0eec
|
add full block_size and page_start to page info
|
2024-03-24 14:17:17 -07:00 |
|
daanx
|
4a85f32f8e
|
add libc.c source file
|
2023-05-19 10:24:39 -07:00 |
|
daanx
|
2a6352fef2
|
add further zero initialization checks
|
2023-04-22 10:18:57 -07:00 |
|
daanx
|
91cd6e2560
|
add filter files for vs2022
|
2023-04-17 13:01:08 -07:00 |
|
daanx
|
f42c66ccce
|
fix build on vs2017/2019
|
2023-04-17 10:13:36 -07:00 |
|
daanx
|
d01017ffda
|
extend primitive api with is_zero parameters
|
2023-04-04 16:32:39 -07:00 |
|
daanx
|
77766e20a6
|
use only arena's instead of regions
|
2023-04-04 14:58:06 -07:00 |
|
Daan Leijen
|
287010578d
|
update ide project files
|
2023-03-20 11:20:30 -07:00 |
|
Daan Leijen
|
2f9b2f51b9
|
update 2022 ide
|
2023-03-20 11:11:01 -07:00 |
|
Daan Leijen
|
f58357548c
|
restructure header files
|
2023-03-20 10:37:39 -07:00 |
|
Xinglong He
|
072316bd33
|
add etw support
|
2023-03-16 17:47:20 -07:00 |
|
Daan Leijen
|
c4c96d2f8d
|
update older vs ide projects
|
2023-03-15 20:38:10 -07:00 |
|
Daan Leijen
|
e937070cf1
|
Merge branch 'dev' into dev-platform
|
2023-03-15 20:33:35 -07:00 |
|
Daan Leijen
|
824fd8a7b1
|
fix issue #707; rename a local template parameter (destroy) to work around two-phase template resolve in msvc 2019
|
2023-03-15 20:31:52 -07:00 |
|
Daan Leijen
|
9fb4f2a501
|
update vs2019 ide
|
2023-03-15 19:25:18 -07:00 |
|
Daan Leijen
|
08a01d26dc
|
initial commit of new primitive layer
|
2023-03-14 16:54:46 -07:00 |
|
Daan Leijen
|
507f75b56c
|
update vs2017 project files
|
2023-02-07 11:07:08 -08:00 |
|
Daan Leijen
|
94b8cb870e
|
quote path in post-build event (issue #666
|
2022-12-19 18:40:12 -08:00 |
|
Daan Leijen
|
ab99eb5830
|
quote path in post-build event (issue #666
|
2022-12-19 18:12:27 -08:00 |
|
Johannes Schindelin
|
745a34f475
|
Fix whitespace
This mostly deletes trailing spaces.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
2022-12-03 00:24:20 +01:00 |
|
daan
|
6a80fa3ac1
|
initial progress on removing alignment limit
|
2022-11-05 14:46:52 -07:00 |
|
daan
|
bdc9dc3e4e
|
update vs project for valgrind
|
2022-10-31 10:12:13 -07:00 |
|
Daan Leijen
|
7bc602ebb4
|
redefine mi_likely/mi_unlikely to work with C++ 20 [[likely]] attributes
|
2022-04-19 19:50:06 -07:00 |
|
Daan Leijen
|
84126e8dc0
|
add vs2022 solution
|
2022-04-19 11:04:05 -07:00 |
|
daan
|
959845540d
|
use W4 for msvc compilation
|
2021-11-13 14:13:03 -08:00 |
|
Daan Leijen
|
4ba32c3160
|
Revert "make all includes relative"
This reverts commit 1feb6123d90f5557a0fc1bc2afc72401e58f8cb0.
|
2021-06-07 16:47:57 -07:00 |
|
Daan Leijen
|
1feb6123d9
|
make all includes relative
|
2021-06-06 20:31:36 -07:00 |
|
daan
|
c86459afef
|
split bitmap code into separate header and source file
|
2020-09-08 10:14:13 -07:00 |
|
daan
|
c7272afa9a
|
add mi_reserve_os_memory/mi_manage_os_memory; allow arena allocations to cross multiple bitmap fields
|
2020-09-07 21:34:34 -07:00 |
|
daan
|
9d82b15d87
|
fix warnings on vs2017
|
2020-09-05 12:04:25 -07:00 |
|
daan
|
551831ba1c
|
ctest output verbose on windows pipeline
|
2020-09-05 10:30:54 -07:00 |
|
daan
|
2e311f341b
|
fix msvc compilation in C mode
|
2020-09-05 09:37:09 -07:00 |
|
daan
|
b74caddcc1
|
fix memory order to acq_rel for atomic and/or, issue #130, thanks @mpoeter!
|
2020-07-23 15:00:49 -07:00 |
|
daan
|
afc4f79a69
|
fix for ensuring heap initialization with static linking on windows on huge allocations (issues #221)
|
2020-04-06 12:15:12 -07:00 |
|
daan
|
0a3e5bb699
|
further fixes to compile on mingw without warnings (issue #217)
|
2020-04-06 10:56:53 -07:00 |
|
daan
|
feb0699bcb
|
fix aligment check when padding is enabled
|
2020-02-02 22:01:04 -08:00 |
|
daan
|
7d3d37e4dd
|
Merge branch 'dev' into dev-exp
|
2020-02-02 15:54:41 -08:00 |
|
daan
|
f5ab2c1c49
|
suppress spurious warnings with clang-cl
|
2020-02-02 15:50:02 -08:00 |
|
daan
|
8aba40a972
|
use default declaration for the STL allocator class
|
2020-02-01 17:41:04 -08:00 |
|
daan
|
5135c2b96a
|
add test-api to vs solution
|
2020-02-01 14:29:55 -08:00 |
|
daan
|
40f1e1e07b
|
byte-precise heap block overflow checking with encoded padding
|
2020-01-31 23:39:51 -08:00 |
|
daan
|
4faf412f53
|
move 'memory.c' to 'region.c'
|
2020-01-25 13:28:49 -08:00 |
|
daan
|
b31bc52618
|
add cache alignment directives for contended variables
|
2020-01-24 19:02:13 -08:00 |
|
daan
|
cdc34595cf
|
fix warning in msvc
|
2020-01-23 10:52:27 -08:00 |
|
daan
|
6b7356a10a
|
make mimalloc compile with the highest warning level on msvc
|
2020-01-16 18:12:01 -08:00 |
|
daan
|
a0bee081dd
|
use proper C++11 check for noexcept attribute
|
2020-01-16 15:58:48 -08:00 |
|
daan
|
7a9502973d
|
rearrange STL allocator code: remove pragma, ifdef for C++11
|
2020-01-16 15:57:11 -08:00 |
|
Daan
|
97bd204c42
|
Merge branch 'dev' into kile/stl
|
2020-01-16 15:33:13 -08:00 |
|
Kirsten Lee
|
526bee6843
|
merge stl and main header
|
2020-01-16 15:17:15 -08:00 |
|
Kirsten Lee
|
743e891738
|
add stl mimalloc wrapper
|
2020-01-06 16:18:22 -08:00 |
|
daan
|
ba87a39d9f
|
updated random cookie generation using OS primitives and chacha20
|
2019-12-22 19:37:49 -08:00 |
|
daan
|
24b768363e
|
bump version to 1.3 for further development
|
2019-11-22 09:28:48 -08:00 |
|
daan
|
6568059cc6
|
merge from dev
|
2019-11-21 16:28:28 -08:00 |
|
daan
|
9a5189aa83
|
add vs2019 project filters
|
2019-11-21 15:42:22 -08:00 |
|
Daan Leijen
|
56b9fac4bf
|
merge from dev
|
2019-11-20 13:31:04 -08:00 |
|
daan
|
fd3ce5dc7d
|
improve stress test
|
2019-11-15 16:28:11 -08:00 |
|
daan
|
378716c467
|
refactor and improve atomic bitmap usage
|
2019-11-07 10:26:52 -08:00 |
|
daan
|
00e19cad9a
|
refactor region code, split out atomic bitmap
|
2019-11-06 21:37:23 -08:00 |
|
daan
|
ee323aabac
|
fix vs2017 build
|
2019-11-02 15:56:21 -07:00 |
|
daan
|
d36d04b4a6
|
add arena for huge page management
|
2019-10-31 15:35:10 -07:00 |
|
daan
|
2affdbbd2e
|
stronger secure mode when defining MI_SECURE=4: checks for double free, corrupted free list, and invalid pointer frees. Performance is impacted but not too much -- more perf testing is needed
|
2019-10-18 18:11:04 -07:00 |
|
daan
|
fdfa6ed260
|
fix warnings at high warning level in msvc
|
2019-10-17 16:56:57 -07:00 |
|
daan
|
5de851a84d
|
update page_flags to have more portable definition
|
2019-10-17 16:48:16 -07:00 |
|
daan
|
33f4ec4ac6
|
put new-delete overrides in separate header file
|
2019-09-15 19:19:00 -07:00 |
|
daan
|
e2202f6bbe
|
update vs2019 projects
|
2019-09-09 12:56:15 -07:00 |
|
Jakub Szymanski
|
1a7b1783fa
|
changed strategy to reduce contention for region search and vs2019 project fix
|
2019-09-05 08:13:52 -07:00 |
|
daan
|
f35f643508
|
merge from dev
|
2019-08-29 09:52:22 -07:00 |
|
daan
|
c3c6401633
|
merge from master; fix windows environment reading
|
2019-08-25 11:36:34 -07:00 |
|
Kirsten Lee
|
6165177cb1
|
provide a set of solutions that use the vs2019 vcruntime
|
2019-08-20 16:19:16 -07:00 |
|
daan
|
86d4ded831
|
Merge branch 'dev' into dev-exp
|
2019-08-20 08:27:46 -07:00 |
|
daan
|
598233135c
|
fix optimization settings on Windows compilation
|
2019-08-20 07:04:00 -07:00 |
|
daan
|
3d9d70bce0
|
add new redirection module; fix environment reading at preloading
|
2019-08-10 09:39:36 -07:00 |
|
daan
|
6313c21d93
|
fix output directory in test projects
|
2019-08-06 18:25:57 -07:00 |
|
daan
|
dd79b662f8
|
restore to old-style windows override; fix debug mode
|
2019-07-23 15:51:08 -07:00 |
|
daan
|
89da085b67
|
rename to mimalloc-override.dll and use C compilation
|
2019-07-23 15:10:25 -07:00 |
|
daan
|
66b8c37ab3
|
ensure C++ compilation on windows
|
2019-07-23 15:00:13 -07:00 |
|
daan
|
219d46ff0c
|
update test files and overriding
|
2019-07-23 15:00:13 -07:00 |
|
daan
|
8dad858888
|
update to correct project settings for visual studio
|
2019-07-18 21:41:28 -07:00 |
|
daan
|
33aa5d92fa
|
fix to overrides on windows
|
2019-07-18 21:20:18 -07:00 |
|
daan
|
12e0a04052
|
compile as C++ under msvc
|
2019-07-18 19:52:29 -07:00 |
|
daan
|
c228ecefd8
|
update for new dynamic direction on windows 64-bit
|
2019-07-18 18:59:32 -07:00 |
|
daan
|
8390c46503
|
disable JustMyCode debugging and whole program optimization as it seems to cause compiler errors sometimes
|
2019-07-15 17:38:16 -07:00 |
|
daan
|
72d8608333
|
avoid thread over-allocation on initial region allocations
|
2019-07-15 17:35:43 -07:00 |
|
daan
|
26ef67a45c
|
fix visual studio project
|
2019-07-15 13:22:15 -07:00 |
|
daan
|
ea9dbd1036
|
set better default options for performance
|
2019-07-15 13:19:26 -07:00 |
|
daan
|
f844665c9f
|
merge from dev-win
|
2019-07-10 22:57:37 -07:00 |
|
daan
|
c555e09504
|
Merge branch 'dev' into dev-win
|
2019-07-10 22:48:20 -07:00 |
|
daan
|
34a4de01b1
|
add Visual Studio support for new stress target
|
2019-07-10 21:59:44 -07:00 |
|
daan
|
da0fb1e53f
|
merge dev-win
|
2019-07-10 20:50:32 -07:00 |
|
daan
|
6deea16d2d
|
add segment count to internal statistics
|
2019-07-10 19:54:46 -07:00 |
|
daan
|
493dfc4b82
|
merge with dev
|
2019-07-08 15:42:42 -07:00 |
|
daan
|
7f0137a617
|
Fix compilation error with MSVC C++
|
2019-07-07 21:59:53 -07:00 |
|
daan
|
7e743dfb58
|
fix C++ compilation warnings with VisualStudio 2017
|
2019-07-07 18:52:12 -07:00 |
|
daan
|
dd59a917ce
|
Expose mi prefixed public standard implementations of various posix, unix, and c++ allocation functions. See issue #75
|
2019-07-07 13:44:33 -07:00 |
|
daan
|
983c96a238
|
Merge branch 'dev' into dev-exp
|
2019-07-04 14:46:53 -07:00 |
|
daan
|
3039dbfcdd
|
for windows dynamic override, add standard api override and stop patching new/delete (for now)
|
2019-07-04 09:29:33 -07:00 |
|
daan
|
24feb5e305
|
update Visual Studio project to not use _MBCS by default, issue #59
|
2019-07-03 18:49:48 -07:00 |
|
daan
|
06bcea1761
|
Initial commit of separate memory region layer and improved large OS pages support, see 'memory.c'
|
2019-07-02 07:23:24 -07:00 |
|
daan
|
6eaf387891
|
Add support for aligned allocation on Windows using VirtualAlloc2
|
2019-06-28 19:48:30 -07:00 |
|
daan
|
ae47a2b13e
|
Add initial testing file, test target, and readme about testing, issue #10, pr #57
|
2019-06-27 13:36:19 -07:00 |
|