Commit graph

469 commits

Author SHA1 Message Date
The Dlang Bot
e24db85c58
Merge pull request #6456 from jercaianu/allocator_list_alignedAllocate
Add alignedAllocate for AllocatorList
merged-on-behalf-of: Eduard Staniloiu <edi33416@users.noreply.github.com>
2018-04-17 14:26:50 +02:00
Alexandru Jercaianu
ab3a37a678 Add alignedAllocate for AllocatorList 2018-04-17 12:47:35 +03:00
The Dlang Bot
c5129bebd4
Merge pull request #6410 from jercaianu/alignedBlockList
Add AlignedBlockList
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-04-17 05:23:00 +02:00
Alexandru Jercaianu
eb2b8e251a Add multiblock support for shared and non-shared BitmappedBlock 2018-04-16 20:07:53 +03:00
Alexandru Jercaianu
0fb44b0d45 Add AlignedBlockList 2018-04-16 19:36:45 +03:00
Alexandru Jercaianu
507d82ce86 Add alignedAllocate for StatsCollector 2018-04-16 16:02:48 +03:00
Nathan Sashihara
6848fa9646 make/makeArray: take advantage of allocators with smth. faster than allocate+memset zero 2018-04-15 17:48:29 -04:00
Steven Schveighoffer
6b72ce316d Trim as much version(unittest) as possible from allocator (#6452)
* Trim as much version(unittest) as possible from allocator

* improve internal test function addr to m_addr (and fix verbosity a bit)

* Remove shared from RCISharedAllocator, as it's already shared

* Fix issue with m_addr
2018-04-13 22:02:00 +03:00
Per Nordlöw
d0adf134a5 Make GCAllocator callable in pure functions 2018-04-08 21:58:23 +02:00
The Dlang Bot
09fc836143
Merge pull request #6400 from nordlow/pure-region-allocate
Qualify Region, SharedRegion and SbrkRegion allocators
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-04-06 00:44:18 +02:00
The Dlang Bot
ca72c991cd
Merge pull request #6422 from wilzbach/duplicate-static-gshared
Remove redundant 'static' storage classes on __gshared variables
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-04-05 20:30:54 +02:00
Sebastian Wilzbach
6f766dce5d Remove redundant 'static' storage classes 2018-04-05 13:11:48 +02:00
Per Nordlöw
95b2f9f846 Merge remote-tracking branch 'upstream/master' into pure-region-allocate 2018-04-05 10:38:04 +02:00
Eduard Staniloiu
e100cde76f Make bitmapped_block allocate @safe 2018-04-05 07:13:21 +02:00
Per Nordlöw
b2564e4dc7 qualify Region allocator 2018-04-04 12:59:41 +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