Daan Leijen
|
7c17c3d33e
|
optimize page struct layout
|
2024-03-24 22:41:33 -07:00 |
|
Daan Leijen
|
3c85983a35
|
merge from dev with new page fields (block_size and is_huge)
|
2024-03-24 22:12:33 -07:00 |
|
daanx
|
006ae2d055
|
add is_huge page flag to ensure the right page queue is returned (see #868)
|
2024-03-24 17:07:28 -07:00 |
|
Daan Leijen
|
b5665f0eec
|
add full block_size and page_start to page info
|
2024-03-24 14:17:17 -07:00 |
|
Daan Leijen
|
6399dbdc30
|
merge from dev (new free.c)
|
2024-03-24 09:56:26 -07:00 |
|
Daan Leijen
|
60c4a0fe56
|
fix compilation warnings for new uint16_t size for used field
|
2024-03-24 08:10:35 -07:00 |
|
Daan
|
cc809b0cd4
|
take 16 bits from used field to create a fast unalign path
|
2024-03-18 01:40:03 -07:00 |
|
daanx
|
abb8eab9b2
|
merge from dev
|
2024-03-03 17:43:52 -08:00 |
|
daanx
|
5fe83bf327
|
limit reclaim from free to half the segments to prevent a pure freeing thread to reclaim too many segments
|
2024-03-03 17:38:50 -08:00 |
|
Daan
|
bcb8ce94f1
|
merge from dev-abandon
|
2024-03-03 14:17:07 -08:00 |
|
Daan
|
027b22aaf2
|
add arena stats
|
2024-03-03 09:37:46 -08:00 |
|
Daan
|
7ff4607f6c
|
merge from dev
|
2024-03-02 17:26:38 -08:00 |
|
Daan
|
16c3f1292c
|
Fix compile error on OpenBSD #773, by @sundb
|
2024-03-02 16:57:10 -08:00 |
|
daanx
|
2f8fb6aade
|
Merge branch 'dev' into dev-slice
|
2023-05-19 09:12:59 -07:00 |
|
daanx
|
d7a72c4912
|
fix thread data leak; issue #748
|
2023-05-19 09:12:46 -07:00 |
|
daanx
|
56c0a8025a
|
merge from dev
|
2023-04-24 09:06:56 -07:00 |
|
daanx
|
632edf9996
|
rename was_zero/committed to initially_zero/committed
|
2023-04-24 09:03:43 -07:00 |
|
daanx
|
fb07276d48
|
merge from dev
|
2023-04-18 17:33:01 -07:00 |
|
daanx
|
b845be241a
|
wip: use memid for OS allocation
|
2023-04-18 16:38:47 -07:00 |
|
daanx
|
c3200d1623
|
merge from dev
|
2023-04-17 10:18:46 -07:00 |
|
daanx
|
f42c66ccce
|
fix build on vs2017/2019
|
2023-04-17 10:13:36 -07:00 |
|
daanx
|
becf379ecd
|
merge from dev-reset
|
2023-04-16 12:32:20 -07:00 |
|
daanx
|
a655c28b66
|
cleanup
|
2023-04-16 12:29:21 -07:00 |
|
daanx
|
b0104ef4fd
|
merge from dev
|
2023-04-16 11:01:25 -07:00 |
|
daanx
|
0174d19af3
|
increase thread data cache to 16
|
2023-04-15 19:49:14 -07:00 |
|
daanx
|
e35e919ea4
|
remove segment-cache as it is superseded by better arena management
|
2023-04-13 15:37:54 -07:00 |
|
daanx
|
e6681f2d4b
|
Merge branch 'dev-reset' into dev-slice-reset
|
2023-04-13 15:27:33 -07:00 |
|
daanx
|
48d0d0da9b
|
fix thread data cache to use pure os alloc
|
2023-04-13 15:27:20 -07:00 |
|
daanx
|
991d04b2b1
|
merge from dev-reset
|
2023-04-13 13:37:56 -07:00 |
|
daanx
|
0ba79d01f6
|
allow static allocation in arenas for internal metadata
|
2023-04-13 13:19:39 -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
|
55df1f3a54
|
more detailed stats, including purges
|
2023-04-05 09:48:22 -07:00 |
|
daanx
|
c0c81a1b7b
|
merge from dev-reset
|
2023-04-04 18:47:55 -07:00 |
|
daanx
|
83aa635485
|
implement arena destroy on program exit
|
2023-04-04 18:44:08 -07:00 |
|
daanx
|
24034c997c
|
merge from dev-reset
|
2023-04-04 16:44:07 -07:00 |
|
daanx
|
d01017ffda
|
extend primitive api with is_zero parameters
|
2023-04-04 16:32:39 -07:00 |
|
daanx
|
461df1e878
|
implement arena exclusive heap allocation for dev
|
2023-04-04 15:40:43 -07:00 |
|
daanx
|
77766e20a6
|
use only arena's instead of regions
|
2023-04-04 14:58:06 -07:00 |
|
daanx
|
a9f42376b7
|
small changes; make minimal commit most fine grained
|
2023-04-03 16:17:02 -07:00 |
|
Daan Leijen
|
f4e006fa76
|
merge from dev-reset
|
2023-03-31 21:10:25 -07:00 |
|
Daan Leijen
|
595add5e3d
|
wip: initial work on purgable arenas
|
2023-03-31 20:51:35 -07:00 |
|
Daan Leijen
|
c4220e43b6
|
merge from dev
|
2023-03-29 16:24:55 -07:00 |
|
Daan Leijen
|
dd7b99d477
|
apply some spelling fixes from PR #710
|
2023-03-29 16:10:01 -07:00 |
|
Daan Leijen
|
b0e4309210
|
Merge branch 'dev' into dev-slice
|
2023-03-23 11:21:57 -07:00 |
|
Daan Leijen
|
a21ddd03fe
|
add verbose message if thread sanitizer is enabled
|
2023-03-23 11:21:45 -07:00 |
|
Daan
|
564222e737
|
Merge branch 'dev' into dev-slice
|
2023-03-22 09:56:51 -07:00 |
|
Daan
|
d976fbe08b
|
remove spurious include
|
2023-03-22 09:56:40 -07:00 |
|
Daan
|
0f07900601
|
Merge branch 'dev' into dev-slice
|
2023-03-22 09:49:45 -07:00 |
|