Daan
6dcebdc303
fix sizes in memory tracking and padding for huge alignments
2023-03-04 14:49:02 -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
81b261e657
add test for #587
2022-11-25 15:44:24 -08:00
Daan
78af17e3b3
add extra alignment test
2022-11-25 14:03:00 -08:00
daan
2479d168ad
decommit unused prefix of large aligned blocks
2022-11-07 16:41:40 -08:00
daan
1f12c3dd12
remove MI_ALIGNMENT_MAX and add comments
2022-11-07 11:13:42 -08:00
daan
a200291ae5
further progress on removing aligned limit
2022-11-06 08:26:17 -08:00
daan
6a80fa3ac1
initial progress on removing alignment limit
2022-11-05 14:46:52 -07:00
daan
2d3f0e5b7a
fix align5 test
2022-11-01 16:34:17 -07:00
daan
eee7c40da5
updates to run valgrind on test-api
2022-10-29 11:43:09 -07:00
Daan Leijen
a158aef235
fix for realloc with size 0: returning NULL from realloc now always indicates an error (issue #574 )
2022-04-19 10:31:55 -07:00
Daan Leijen
8713959498
update test macros; add realloc tests
2022-04-19 10:21:41 -07:00
Daan Leijen
5b172280b0
add nodiscard annotations to fix warnings in msvc
2022-04-19 10:10:10 -07:00
daan
ccbc8ae0bb
add huge allocation test (see #544 by @Tiran)
2022-02-10 11:46:28 -08:00
Frank Richter
1cf7ca021d
Add tests for debug mode "uninit fill" behaviour
2021-12-21 16:20:59 +01:00
Frank Richter
d7105c20a9
Move test macros/helpers to a separate header
2021-12-21 12:48:51 +01:00
daan
f16435447c
fix bug in freeing huge OS page allocation spanning multiple huge OS pages
2021-12-18 11:37:00 -08:00
Daan Leijen
89090510bd
update alignment tests
2021-12-18 11:11:44 -08:00
daan
faf2a7020c
add extra alignment tests
2021-12-17 13:25:38 -08:00
daan
89f583a69b
improve aligned allocation performance
2021-12-17 13:18:05 -08:00
David CARLIER
5834751ca6
api test conceal gcc pragma
2021-10-20 16:17:13 +01:00
Daan Leijen
10c31f9b41
fix warnings
2021-10-19 15:13:01 -07:00
Daan
9769cd4103
Merge pull request #428 from Logarithmus/fix-test-i686
...
Fix 'malloc-nomem1' test for 32-bit architectures
2021-10-19 10:51:17 -07:00
Christian Heimes
7c73e3996d
Fix strict function prototype warnings
...
Fix warning ``warning: function declaration isn’t a prototype`` when
building mimalloc with ``-Wstrict-prototypes`` flag. In C argumentless
functions should be declared as ``func(void)``.
Reproducer:
```shell
$ cmake ../.. -DCMAKE_C_FLAGS="-Wstrict-prototypes"
$ make VERBOSE=1
```
Co-authored-by: Sam Gross <colesbury@gmail.com >
Co-authored-by: Neil Schemenauer <nas@arctrix.com >
Signed-off-by: Christian Heimes <christian@python.org >
2021-10-19 10:48:26 +02:00
Artur Sinila
edb0b93c6f
Fix 'malloc-nomem1' test for 32-bit architectures
2021-06-29 22:38:43 +03:00