Daan Leijen
|
64fb009695
|
fix warning with zero padding
|
2023-03-05 22:27:45 -08:00 |
|
Daan Leijen
|
e912697d90
|
fix warning with zero padding
|
2023-03-05 22:26:05 -08:00 |
|
Daan
|
e4b9ea918f
|
merge from dev
|
2023-03-04 14:52:30 -08:00 |
|
Daan
|
6dcebdc303
|
fix sizes in memory tracking and padding for huge alignments
|
2023-03-04 14:49:02 -08:00 |
|
Daan Leijen
|
92ffc25d79
|
merge from dev
|
2022-12-19 17:08:45 -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 Leijen
|
ed82aa90ea
|
merge from dev where huge objects are now part of page queues again
|
2022-11-22 21:54:58 -08:00 |
|
Daan Leijen
|
e7dac7c405
|
prevent retiring pages in the huge queue (which may have a small size but huge alignment)
|
2022-11-22 21:02:05 -08:00 |
|
Daan Leijen
|
969d8bc5fe
|
make huge pages part of the regular page queues again
|
2022-11-22 20:56:35 -08:00 |
|
Daan Leijen
|
82a765a255
|
experiment with 32KiB slices and increased MI_MIN_EXTEND
|
2022-11-18 09:38:01 -08:00 |
|
daan
|
c55cc260ab
|
merge from dev-align
|
2022-11-07 11:29:03 -08:00 |
|
daan
|
2daec6c72f
|
add more comments
|
2022-11-07 11:23:04 -08:00 |
|
daan
|
4814a649be
|
merge from dev-align
|
2022-11-06 16:23:42 -08:00 |
|
Daan
|
d1ae630dec
|
Merge branch 'dev-align' of https://github.com/microsoft/mimalloc into dev-align
|
2022-11-06 14:51:37 -08:00 |
|
Daan
|
3eb616f2bf
|
fix bug in secure mode where adjustment would make the page size less than the blocksize on the first page of a segment
|
2022-11-06 14:51:06 -08:00 |
|
daan
|
f788e3c9a3
|
add comment
|
2022-11-06 14:18:52 -08:00 |
|
Daan
|
f54e64365f
|
fix assertions with incorrect block size for large alignments
|
2022-11-06 09:44:12 -08:00 |
|
daan
|
a200291ae5
|
further progress on removing aligned limit
|
2022-11-06 08:26:17 -08:00 |
|
daan
|
4b91ff760d
|
initial working large alignment
|
2022-11-05 16:40:42 -07:00 |
|
daan
|
6a80fa3ac1
|
initial progress on removing alignment limit
|
2022-11-05 14:46:52 -07:00 |
|
daan
|
3f122692eb
|
Merge branch 'dev' into dev-slice
|
2022-10-31 11:01:10 -07:00 |
|
daan
|
698bb2cae7
|
split out _mi_page_try_use_delayed_free for contention reduction (issue #630)
|
2022-10-31 11:01:01 -07:00 |
|
daan
|
4442fda895
|
Merge branch 'dev' into dev-slice
|
2022-10-31 10:35:05 -07:00 |
|
daan
|
7bef5f5f5b
|
reduce contention on the delayed_free lock; see issue #630
|
2022-10-31 10:34:55 -07:00 |
|
daan
|
66525ccae3
|
merge from dev-track
|
2022-10-30 14:31:21 -07:00 |
|
daan
|
b48040e20a
|
set pages to noaccess explicitly for valgrind precision
|
2022-10-30 12:23:11 -07:00 |
|
Daan Leijen
|
413141ae29
|
merge from dev
|
2022-04-19 19:55:03 -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
|
487b401b26
|
Merge branch 'dev' into dev-slice
|
2022-04-19 18:43:32 -07:00 |
|
Daan Leijen
|
d69d4c861f
|
add zero parameter to primitive allocation to improve codegen for calloc etc
|
2022-04-19 18:32:35 -07:00 |
|
Daan
|
dd929659ab
|
fix wrong assertion
|
2022-04-14 11:28:40 -07:00 |
|
Daan Leijen
|
0cda8b02d5
|
fix stats for large objects that were off by the block size padding
|
2022-04-07 11:08:54 -07:00 |
|
Daan Leijen
|
9f6cbc50ee
|
use heap_stat_decrease when possible
|
2022-04-07 09:48:08 -07:00 |
|
Daan Leijen
|
5a90a2a9a1
|
merge from dev
|
2022-04-04 17:40:29 -07:00 |
|
Daan Leijen
|
5613ffb508
|
use heap_stat_increase macros when possible
|
2022-04-04 17:38:28 -07:00 |
|
Daan
|
3b93554ce6
|
merge from dev
|
2022-01-22 13:09:18 -08:00 |
|
Daan
|
a4303c6931
|
fix link error to _mi_bin with C++; issue #533
|
2022-01-22 10:08:16 -08:00 |
|
Daan Leijen
|
1718fc811e
|
merge from dev
|
2022-01-16 12:41:23 -08:00 |
|
Daan
|
de11349820
|
remove spurious check and add further assertions (issue #526)
|
2022-01-16 12:20:32 -08:00 |
|
Daan Leijen
|
c4b934c2ae
|
Merge branch 'dev' into dev-slice
|
2021-12-20 12:34:13 -08:00 |
|
Daan Leijen
|
d508c3d618
|
ensure in debug mode that all allocated block are initialized with MI_DEBUG_UNINIT (issue #501)
|
2021-12-20 12:33:54 -08:00 |
|
daan
|
721486c82b
|
merge from dev
|
2021-11-13 14:52:11 -08:00 |
|
daan
|
28896e5b19
|
prefix UNUSED,KiB,MiB,GiB; add mi_threadid_t type; add mi_ssize_t
|
2021-11-13 14:46:03 -08:00 |
|
Daan
|
464cba833e
|
Merge branch 'dev' into dev-slice
|
2021-11-04 18:55:34 -07:00 |
|
Daan
|
e853f530a0
|
add noexcept attributes to improve mi_free codegen
|
2021-11-04 18:54:57 -07:00 |
|
Daan
|
6d9e79a498
|
merge from dev
|
2021-10-27 10:11:51 -07:00 |
|
Daan
|
ca9785d40e
|
fix compilation with MI_DEBUG>3, issue #480
|
2021-10-27 10:06:34 -07:00 |
|
Daan
|
aeb73b0cd4
|
merge from dev
|
2021-10-19 12:55:10 -07:00 |
|
Daan Leijen
|
e6b58052da
|
add start offset to pages to reduce cache/page effects
|
2021-10-02 11:13:00 -07:00 |
|
hank
|
1c1571742d
|
fix typo
|
2021-06-21 22:36:47 +08:00 |
|