Commit graph

455 commits

Author SHA1 Message Date
Eduard Staniloiu
e100cde76f Make bitmapped_block allocate @safe 2018-04-05 07:13:21 +02:00
Sebastian Wilzbach
307dd152e7
Merge pull request #6405 from edi33416/mmap_allocator_allocate
Make mmap_allocator allocate @safe
2018-04-04 05:27:21 +02:00
Sebastian Wilzbach
9e81b5ad7e
Merge pull request #6406 from edi33416/null_allocator_allocate
Make null_allocator allocate @safe
2018-04-04 05:20:55 +02:00
Andrei Alexandrescu
afdc0c08d1
Update mmap_allocator.d 2018-04-03 11:29:38 -04:00
Eduard Staniloiu
3812a67928 Make Mallocator use pureMalloc, pureFree and pureRealloc 2018-04-03 13:53:29 +00:00
Eduard Staniloiu
199bffbcf6 Make mmap_allocator allocate @safe 2018-04-03 11:29:22 +00:00
Eduard Staniloiu
3e91474f07 Make null_allocator allocate @safe 2018-04-03 11:23:06 +00:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
The Dlang Bot
6797b52c0d
Merge pull request #6024 from n8sh/uninitializedFillDefault-memset
Fix Issue 18223: use memset in uninitializedFillDefault(T[])
merged-on-behalf-of: unknown
2018-03-31 06:58:26 +02:00
RazvanN7
223ba57258 Delete test in free_tree 2018-03-29 23:03:17 +03:00
RazvanN7
298286732f Delete test in scoped_allocator 2018-03-29 21:21:24 +03:00
Nathan Sashihara
8777cbf355 Fix Issue 18223: use memset in uninitializedFillDefault(T[])
When we can statically determine that the representation of T.init
consists of nothing but zeroes or nothing but ones we use memset.
(The second case occurs for char and wchar.)
2018-03-28 13:59:19 -04:00
Eduard Staniloiu
b45f25b96b Update how AffixAllocator infers shared from parent 2018-03-28 13:25:56 +00:00
The Dlang Bot
99b7b5487b
Merge pull request #6306 from jercaianu/apa_race
Fixed AscendingPageAllocator race condition
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-27 16:15:45 +02:00
Sebastian Wilzbach
8f86a0d734 Fix if constraints indentation 2018-03-24 13:17:53 +01:00
Alexandru Jercaianu
80ba6d8152 AscendingPageAllocator race condition
Minor bug
2018-03-22 12:46:58 +02:00
Alexandru Jercaianu
ca57ca0d41 Add SharedRegion 2018-03-19 19:49:05 +02:00
Johan Engelen
ccac0c6a21
whitespace fix: identical to LDC's patch now 2018-03-02 13:56:18 +01:00
Johan Engelen
9cb10bb1ea
[ASan] Handle the (invalid) return value of posix_memalign
See https://github.com/ldc-developers/phobos/pull/58

With ASan enabled, posix_memalign returns -1 upon invalid parameters or when not enough memory is available. This bug is reported with compiler-rt here: https://bugs.llvm.org/show_bug.cgi?id=36510
Still, if we deal with the invalid -1 return value in Phobos, we can continue testing with ASan enabled.
It looks like this workaround is only needed on OSX.
2018-03-02 13:54:18 +01:00
Martin Nowak
09926f9837 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-02-23 21:37:12 +01:00
The Dlang Bot
b26aad3209
Merge pull request #6193 from joakim-noah/musl
Add needed changes to get all tests passing with Musl
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-02-22 06:51:19 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Joakim
034988a0db Add needed changes to get all tests passing with Musl 2018-02-17 14:25:07 +05:30
Pradeep Gowda
96586fda48
typo. concret; -> concrete 2018-02-16 10:10:07 -05:00
Eduard Staniloiu
872b84e6b8 Mark @safe ctor, postblit and opAssign for RCAllocator 2018-02-14 14:00:39 +00:00
Eduard Staniloiu
8705ce581e Declare RCISharedAllocator as shared struct 2018-02-13 16:39:04 +00:00
The Dlang Bot
8d525413a7
Merge pull request #6151 from wilzbach/fix-dscanner
Fix all DScanner warnings + use -return-exit-code re-enable it
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-02-13 00:25:26 +01:00
The Dlang Bot
e4c2d259d5
Merge pull request #6158 from jercaianu/asc_page_alloc_info
Update AscendingPageAllocator description
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-02-12 20:02:46 +01:00
The Dlang Bot
378f034c71
Merge pull request #6131 from jercaianu/region_bug
Region grownDownwards alignedAllocation takes into account alignment
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-02-12 18:26:12 +01:00
Alexandru Jercaianu
f0e7988d87 Moved docs above functions outside of mixin
Comments
2018-02-11 18:44:34 +02:00
Alexandru Jercaianu
42612b6897 Updated paper name and link
Updated paper name and link
2018-02-11 14:09:29 +02:00
Alexandru Jercaianu
169402df26 Moved StdDdoc and implementation under struct definition and added examples 2018-02-11 14:04:29 +02:00
Alexandru Jercaianu
35a15918ff Added module to package
Added module to package
2018-02-11 12:31:55 +02:00
Alexandru Jercaianu
ddac729d43 Fixed source link at the bottom of the page 2018-02-11 12:28:37 +02:00
Alexandru Jercaianu
aca5b57704 Update AscendingPageAllocator description 2018-02-11 12:08:09 +02:00
Sebastian Wilzbach
a2985edaad Use -return-exit-code to fail the testsuite on DScanner failures 2018-02-11 01:55:09 +01:00
Sebastian Wilzbach
d9830b739e Fix DScanner warnings 2018-02-10 22:46:32 +01:00
Alexandru Jercaianu
70dbc5919e Fixed overflow bugs in Region and added goodAllocSize for all regions 2018-02-07 19:53:20 +02:00
Alexandru Jercaianu
67d6acf0b4 Region grownDownwards alignedAllocation takes into account alignment
replaced ulong with constant
2018-02-07 15:51:56 +02:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
0ecf3e79c1
Merge pull request #6033 from jercaianu/SharedAscendingPageAllocator
Added SharedAscendingPageAllocator
2018-01-30 15:38:29 +01:00
jercaianu
38af839e43
added static assert for unsupported OS 2018-01-29 18:11:54 +02:00
The Dlang Bot
aa7b6c03ae
Merge pull request #5921 from edi33416/rc_iallocator
Replace IAllocator with reference counted struct
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-26 19:53:03 +01:00
Sebastian Wilzbach
7574f33829
Merge pull request #6055 from wilzbach/fix-ddoc
Fix Issue 18278 - writef documentation 404 error
2018-01-26 16:39:49 +01:00
Sebastian Wilzbach
b9eaa3b1bd Fix Issue 18278 - writef documentation 404 error 2018-01-26 10:17:47 +01:00
Eduard Staniloiu
573a85b101 Replace IAllocator with reference counted struct 2018-01-25 14:19:21 +01:00
The Dlang Bot
9b4cb5f61c
Merge pull request #6009 from wilzbach/ascending_page
Expose AscendingPageAllocator on dlang.org
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-24 17:27:09 +01:00
Alexandru Jercaianu
8a1fc4c308 added nothrow nogc 2018-01-23 19:41:03 +02:00
Alexandru Jercaianu
cfefd96b8d added missing import 2018-01-23 17:29:27 +02:00
Alexandru Jercaianu
456c143549 windows typo 2018-01-23 15:54:01 +02:00