Daan
da1d64f05a
Merge branch 'dev' into dev-slice
2024-04-19 10:08:57 -07:00
Teodor Spæren
10721ddbfd
Remove unneeded include
2024-03-31 23:18:52 +02:00
Teodor Spæren
3d89f6388e
Fix std::shared_pointer calling free on provided heap pointers
2024-03-09 15:14:32 +01:00
Teodor Spæren
068dc014ec
Avoid compilation error when passing in heap to allocators
...
Before it would not work to create the mi_heap_stl_allocator types with
passing in a "mi_heap_t*", since sizeof is used and it gives a
compilation error. This change fixes that.
2024-03-09 14:13:33 +01:00
daanx
2845f0cab3
merge from dev-abandon
2024-03-01 16:26:46 -08:00
daanx
16c0948ee5
improve display of arenas and contained blocks
2024-03-01 16:24:28 -08:00
daanx
f6320bd3be
merge from dev-abandon
2024-03-01 15:15:24 -08:00
daanx
f5f61a65f5
bump version to 1.8.4
2024-03-01 15:14:39 -08:00
daanx
8fb51aae4d
merge from dev-abandon
2024-02-29 15:51:37 -08:00
daanx
64edbc92dd
allow abandoned segment reclaim on a free
2024-02-29 14:58:59 -08:00
daanx
2d85abdece
merge from dev
2023-04-23 13:06:50 -07:00
daanx
a59ae585c7
remove allow_purge option
2023-04-23 13:04:50 -07:00
daanx
269e0ea80b
merge from dev-reset
2023-04-08 17:51:50 -07:00
daanx
eb62caeda0
allow per page purging instead of reset
2023-04-08 17:37:58 -07:00
daanx
2715191f58
merge from dev-reset
2023-04-05 11:22:36 -07:00
daanx
96e9e6f570
clean up option naming
2023-04-05 10:11:54 -07:00
daanx
24034c997c
merge from dev-reset
2023-04-04 16:44:07 -07:00
daanx
461df1e878
implement arena exclusive heap allocation for dev
2023-04-04 15:40:43 -07:00
daanx
a836d233ff
merge from dev-reset
2023-04-04 12:27:47 -07:00
daanx
449aad0635
wip: purgeable arenas; update option names and improve arena reservation
2023-04-04 12:15:57 -07:00
daanx
33d7503fdb
rename to arena_eager_commit
2023-04-03 19:57:26 -07:00
daanx
f5ab38f87b
wip: use purge throughout for segments and arenas; more agressive delays
2023-04-03 15:06:09 -07:00
daanx
e96af1dba0
Merge branch 'dev-slice' into dev-slice-reset
2023-04-03 12:48:30 -07:00
daanx
a5b47fe17b
Merge branch 'dev' into dev-reset
2023-04-03 12:46:00 -07:00
daanx
5e4f7d332e
bump version for further development
2023-04-03 12:45:30 -07:00
daanx
92556e0e62
bump version for further development
2023-04-03 12:45:04 -07:00
Daan Leijen
f4e006fa76
merge from dev-reset
2023-03-31 21:10:25 -07:00
Daan Leijen
7cf60deb12
wip: initial delayed purging of arenas
2023-03-31 14:07:59 -07:00
Daan Leijen
8c526622ff
merge from dev-reset
2023-03-30 16:24:10 -07:00
Daan Leijen
6eee9e4be2
add option eager_reserve
2023-03-30 16:20:11 -07:00
Daan Leijen
9c544aba41
bump version for further development
2023-03-30 09:27:21 -07:00
Daan Leijen
f08d9d489c
bump version for further development
2023-03-30 09:19:35 -07:00
Daan Leijen
3fc30c4a1e
merge from dev, version bump to 2.1.0
2023-03-20 11:05:18 -07:00
Daan Leijen
e24e1125ee
bump version to 1.8.0
2023-03-20 11:03:50 -07:00
Daan Leijen
c80e2d5b03
Merge branch 'dev' into dev-slice
2023-03-15 20:33:16 -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
8184e9de1f
Merge branch 'dev' into dev-slice
2023-03-06 10:29:27 -08:00
Daan Leijen
2e6ab0f230
add documentation for tracking tools; rename with prefix MI_TRACK_tool
2023-03-06 09:02:38 -08:00
Daan Leijen
e7b941a136
Merge branch 'dev' into dev-slice
2023-02-07 11:08:10 -08:00
Daan Leijen
6a230f8329
fix compilation of heap specific STL allocators for vs2017
2023-02-07 11:07:52 -08:00
Daan Leijen
28cf67e5b6
bump version to 2.0.9
2022-12-23 13:31:56 -08:00
Daan Leijen
4cebb48062
bump version to v1.7.9
2022-12-23 13:29:06 -08:00
Daan Leijen
9b2dd0d757
Merge branch 'dev' into dev-slice
2022-12-19 18:02:13 -08:00
Daan Leijen
4d1e74aadd
add comment
2022-12-19 18:01:58 -08:00
Daan Leijen
35997c0384
Merge branch 'dev' into dev-slice
2022-12-19 17:38:53 -08:00
Daan Leijen
8c89a77064
add default constructors to stl heap allocators
2022-12-19 17:25:49 -08:00
Daan
51e2be6647
Merge branch 'dev' into fix-const
2022-12-19 17:10:54 -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
911ea81630
Merge branch 'dev' into dev-slice
2022-11-28 10:55:35 -08:00
Daan Leijen
76db72814c
fix unused parameter warning in clang
2022-11-28 10:54:45 -08:00
Daan Leijen
90c8f0516c
Merge branch 'dev' into dev-slice
2022-11-28 09:18:04 -08:00
Daan Leijen
be2bc9e7ca
better attributes on new/delete overrides for Microsoft visual C++
2022-11-28 09:15:16 -08:00
Vadim Markovtsev
7da4a34dc1
Make "destroy" a compile-time constant + fix const allocator comparisons
2022-11-28 12:04:12 +01:00
Daan Leijen
447c2f18c5
Merge branch 'dev' into dev-slice
2022-11-27 13:00:30 -08:00
Daan Leijen
c1299484de
refactor C++ STL allocator definitions (pr #651 )
2022-11-27 13:00:15 -08:00
Vadim Markovtsev
4cdfc18888
Refactor C++ allocators to be DRY and protected
2022-11-24 15:13:19 +01:00
Daan Leijen
85b5fa11bc
merge segment_init refactoring from dev
2022-11-22 19:03:26 -08:00
Daan Leijen
78690fbec2
fix proteced status in stl allocator (pr #625 )#
2022-11-22 18:41:51 -08:00
Daan Leijen
9617f16df9
add STL allocators that use a specific heap and can destroy at the end; see original PR #625 by @vmarkovtsev
2022-11-22 16:58:32 -08:00
Daan Leijen
6e2b077b35
rename to heap_alloc_new and heap_alloc_new_n
2022-11-22 14:48:26 -08:00
Daan Leijen
34910664f1
add mi_heap_new_ and mi_heap_new_n
2022-11-22 14:46:23 -08:00
Daan Leijen
163afcce75
merge from dev with the destroy_on_exit option
2022-11-21 10:03:52 -08:00
Daan Leijen
35d332141d
experimental destroy_on_exit option for statically linked mimalloc in a dynamically unloaded DLL
2022-11-18 11:00:23 -08:00
daan
5d6b149ea9
bump version to v2.0.8 for further development
2022-11-07 11:37:22 -08:00
daan
312ce6f916
bump version to v1.7.8 for further development
2022-11-07 11:36:44 -08:00
daan
c55cc260ab
merge from dev-align
2022-11-07 11:29:03 -08:00
daan
1f12c3dd12
remove MI_ALIGNMENT_MAX and add comments
2022-11-07 11:13:42 -08:00
daan
4814a649be
merge from dev-align
2022-11-06 16:23:42 -08:00
daan
4b91ff760d
initial working large alignment
2022-11-05 16:40:42 -07:00
daan
f859190cba
update to v2.0.7
2022-11-03 17:05:38 -07:00
daan
fe61be80bf
update to v1.7.7
2022-11-03 17:03:57 -07:00
daan
933713292c
merge from dev
2022-11-01 16:27:50 -07:00
daan
e6bd41ba3f
update arena_id api
2022-11-01 16:26:17 -07:00
daan
9f36808a7f
initial api for heaps restricted to a certain arena
2022-11-01 16:22:51 -07:00
daan
e961ef705e
merge arena_id from dev
2022-11-01 14:16:49 -07:00
daan
fe2d5aa8ff
initial work on heaps restricted to specific arena's
2022-11-01 14:00:20 -07:00
daan
c128cf69be
fix alignment_max for 32-bit systems (unfortunately, we need to include stdint.h now)
2022-10-30 19:47:54 -07:00
Daan Leijen
83d84b8703
increase max alignment limit to 16MiB (issue #576 )
2022-04-20 09:54:24 -07:00
Daan Leijen
ca0bac743d
maintain backward compatible option order
2022-04-14 16:10:36 -07:00
Daan Leijen
b86bbbff00
merge from dev
2022-04-14 16:07:57 -07:00
Daan Leijen
f87cba9bd8
add max segment reclaim as an option
2022-04-14 16:05:49 -07:00
Daan Leijen
7e492f4420
merge from dev
2022-04-09 15:07:07 -07:00
Daan Leijen
6c91c75b14
remove thread local segment cache
2022-04-09 14:33:20 -07:00
Daan Leijen
774d12f12e
merge from dev
2022-04-09 13:26:38 -07:00
Daan Leijen
e18a8cd72e
add heap walk test
2022-04-08 16:58:32 -07:00
Daan
10da1af59b
merge from dev
2022-02-14 16:48:30 -08:00
Daan
ec2265486e
bump version for further development
2022-02-14 16:47:57 -08:00
Daan
19edc880da
merge from dev
2022-02-14 16:36:03 -08:00
Daan
817569dfad
bump to version x.0.5
2022-02-14 16:34:18 -08:00
daan
0e2df71829
increase minimal commit size to 8*slice-size and add decommit_extend_delay as option
2022-02-04 16:11:38 -08:00
Daan
b365623b13
merge from dev
2022-02-02 19:21:15 -08:00
Daan
f515b80093
update documentation on options
2022-02-02 19:19:03 -08:00
Daan
4e65b5018f
clean up options
2022-02-02 19:01:41 -08:00
Daan
0842004b61
Merge branch 'dev' into dev-slice
2022-01-10 12:04:47 -08:00
Daan
4fc63358a6
update copyright year
2022-01-10 12:01:26 -08:00
daan
3eac4a912c
Merge branch 'dev' into dev-slice
2022-01-01 16:24:41 -08:00
Daan
6ead2840ec
Merge pull request #504 from res2k/tweak-stats-doc
...
Tweak documentation for mi_heap_area_t::used.
2021-12-20 17:44:52 -08:00
Frank Richter
ff3bb5ce7b
Tweak documentation for mi_heap_area_t::used.
...
For microsoft/mimalloc#503 .
2021-12-19 14:51:15 +01:00
Daan Leijen
78e2e580f8
Merge branch 'dev' into dev-slice
2021-12-18 11:11:54 -08:00