Alexandru Jercaianu
02074889d5
Fix Issue 16564 - KRRegion.empty sometimes returns Ternary.no
2017-11-16 16:19:59 +02:00
Alexandru Jercaianu
b619323193
added testcase for alignedReallocate
...
replaced ulong with size_t
spaces after cast
2017-11-14 20:00:57 +02:00
Alexandru Jercaianu
4df0c64179
alignedReallocate checks for alignment if sizes are equal
2017-11-14 18:38:11 +02:00
Andrei Alexandrescu
0308bd6b9a
Merge pull request #5857 from BBasile/issue-16398
...
fix issue 16398 - experimental allocators, add aligned reallocation for Posix
2017-11-13 16:22:33 -05:00
Andrei Alexandrescu
fbe4f4e361
whitespace
2017-11-13 14:48:52 -05:00
Andrei Alexandrescu
58d7efe1ae
Fix a few issues
2017-11-13 14:40:46 -05:00
The Dlang Bot
53e5cf67df
Merge pull request #5852 from jercaianu/region
...
Fix Issue 15637 - Region allocator assert failure when expanding the last allocation
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-13 19:22:51 +01:00
The Dlang Bot
20413aed16
Merge pull request #5854 from jercaianu/bitmap_chooseAtRuntime
...
Fixed Issue 16253 - BitmappedBlock allocator not working with chooseAtRuntime
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-13 18:39:21 +01:00
Andrei Alexandrescu
0b006c6f8c
Merge pull request #5856 from jercaianu/freeList
...
Fix Issue 15140 - std.experimental.allocator.building_blocks.free_list.FreeList leaks memory
2017-11-13 11:30:12 -05:00
Basile Burg
a196f171f6
fix issue 16398 - experimental allocators, add aligned reallocation for Posix
2017-11-13 13:20:52 +01:00
Alexandru Jercaianu
762375058f
Added test for FreeList destructor
2017-11-11 23:13:06 +02:00
Alexandru Jercaianu
b8d70b32fd
Fix Issue 15140 - std.experimental.allocator.building_blocks.free_list.FreeList leaks memory
2017-11-11 21:43:28 +02:00
Alexandru Jercaianu
f8a8589036
Added test for stateful allocator with FallbackAllocator
2017-11-11 19:59:58 +02:00
Alexandru Jercaianu
1f63f2d039
Added constraint for Allocator to have alignedAllocate
2017-11-10 15:31:00 +02:00
Alexandru Jercaianu
01295695c5
Minor refactor in test
2017-11-10 01:27:13 +02:00
Alexandru Jercaianu
f730d230f5
Fixed Issue 16253 - BitmappedBlock allocator not working with chooseAtRuntime
2017-11-10 00:25:00 +02:00
Alexandru Jercaianu
c2609a8c25
added testcase
2017-11-09 15:20:51 +02:00
Alexandru Jercaianu
04cbf312a9
Fix Issue 15637 - Region allocator assert failure when expanding the last allocation
2017-11-09 14:53:32 +02:00
Alexandru Jercaianu
caadfecd26
Change comment to reflect change
2017-11-09 13:52:51 +02:00
Alexandru Jercaianu
9bad191d6a
alignedReallocate returns false if alignedAllocate fails
...
FallbackAllocator requires both allocators to be stateless when running tests
fallback test
2017-11-09 13:45:48 +02:00
Eduard Staniloiu
a498d87222
Make empty @safe
2017-11-07 18:00:52 +00:00
The Dlang Bot
80b1636a09
Merge pull request #5841 from edi33416/nogc_alloc_deallocateAll
...
Mark deallocateAll as @nogc
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-11-07 01:25:07 +01:00
Eduard Staniloiu
c9dfed672a
Fix bucketizer alignedReallocate bug
2017-11-06 22:03:27 +00:00
Eduard Staniloiu
ee9fc06656
Mark deallocateAll as @nogc
2017-11-06 21:57:59 +00:00
Andrei Alexandrescu
0dd5c5c090
Merge pull request #5849 from edi33416/fix_bucketizer_alignedAllocate
...
Fix bucketizer alignedAllocate bug
2017-11-06 16:28:00 -05:00
Eduard Staniloiu
0656d23ef0
Fix bucketizer alignedAllocate bug
2017-11-06 20:30:22 +00:00
Eduard Staniloiu
da335ad328
Mark deallocate as nothrow @nogc
2017-11-06 10:09:29 +00:00
Eduard Staniloiu
109bf46b4f
Improve bucketizer reallocate unittest
2017-11-04 21:55:06 +00:00
Eduard Staniloiu
bf7cbb4149
Fix bucketizer realloc bug
2017-11-04 21:15:39 +00:00
Eduard Staniloiu
b7121e4f7d
Fix Quantizer alignedAllocate
2017-11-02 23:10:02 +00:00
Eduard Staniloiu
badaa758e7
Revert "Allocators owns should take const void[]"
2017-11-02 20:23:35 +02:00
Eduard Staniloiu
6f8b418e6c
Allocators owns should take const void[]
2017-11-01 10:01:36 +00:00
Andrei Alexandrescu
5c7b3904c7
Merge pull request #5828 from edi33416/fix_stats_collector
...
Fix StatsCollector typo
2017-10-31 17:33:02 -04:00
Andrei Alexandrescu
a49cce2dfb
hoist check for n == 0 to the top
2017-10-31 12:56:21 -04:00
Eduard Staniloiu
42ccb842ca
Fix region allocate and expand 0 sz
2017-10-31 15:19:23 +00:00
Eduard Staniloiu
a2613b3d63
Fix StatsCollector typo
2017-10-31 14:21:54 +00:00
Andrei Alexandrescu
2882ff113f
Merge pull request #5783 from edi33416/safe_alloc_resolv_int_ptr
...
Make resolveInternalPointer @safe
2017-10-30 10:48:32 -04:00
somzzz
cd66c0cba6
fix issue 16542
2017-10-30 06:04:30 -07:00
Eduard Staniloiu
c1efb05ebf
Improve unittests
2017-10-28 22:31:36 +00:00
Eduard Staniloiu
d37bc9dc6e
Make resolveInternalPointer @safe
2017-10-28 22:31:36 +00:00
Andrei Alexandrescu
3cb1169d5f
Merge pull request #5802 from edi33416/segregator_fix
...
Fix segregator alignedReallocate and empty
2017-10-28 08:18:41 -04:00
Eduard Staniloiu
e42b06fc41
Fix FreeBSD SbrkRegion alignment issue
2017-10-27 17:12:52 +00:00
Eduard Staniloiu
59c25d8cc8
Fix segregator alignedReallocate and empty
2017-10-24 21:35:29 +00:00
The Dlang Bot
5a700c09d8
Merge pull request #5806 from edi33416/fix_sbrk_region_freebsd
...
Fix issue 17901 - FreeBSD SbrkRegion alignment
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-10-24 20:05:11 +02:00
Andrei Alexandrescu
df7f89dfdd
Merge pull request #5787 from edi33416/safe_alloc_good_alloc_size
...
Make goodAllocSize @safe
2017-10-24 13:11:08 -04:00
Eduard Staniloiu
71ed13678d
Fix issue 17901 - FreeBSD SbrkRegion alignment
2017-10-24 16:56:14 +00:00
Eduard Staniloiu
97ddc3d11d
Improve unittests
2017-10-19 13:30:24 +00:00
Eduard Staniloiu
97e6d45688
Make goodAllocSize @safe
2017-10-19 09:35:58 +00:00
Eduard Staniloiu
1dbfb9d3d1
Make owns pure nothrow @safe @nogc
2017-10-19 09:31:50 +00:00
Eduard Staniloiu
035d7d651b
Fix bucketizer aligned allocate
2017-10-16 08:56:28 +00:00