Kai Nacke
1e96d5d4bd
Allocator: Add stack direction for a lot of non-Intel architectures.
...
This should cover most architectures which D supports.
2016-03-12 20:04:40 +01:00
Dmitry Olshansky
1dc6ff97d6
Merge pull request #4014 from schveiguy/allocator_expand
...
Fix GCAllocator.expand to properly utilize GC.extend
2016-03-11 23:34:17 +03:00
Steven Schveighoffer
498d9b0b5e
use correct math
2016-03-11 11:33:12 -05:00
David Nadlinger
42625ce05c
Merge pull request #3949 from japplegame/patch-1
...
fix Bucketizer.owns
2016-03-05 23:02:35 +00:00
Steven Schveighoffer
3edc09dfa4
Merge pull request #4023 from BBasile/ussue-15639
...
fixed issue 15639 - allocator.make enables abstract class instantiation
2016-03-04 18:03:41 -05:00
Steven Schveighoffer
c0a34b41f7
Fix spacing around equals
...
See https://github.com/D-Programming-Language/phobos/pull/4022#commitcomment-16474681
2016-03-03 14:52:47 -05:00
Basile Burg
175b9129a0
fixed issue 15639
2016-03-01 22:19:29 +01:00
Basile Burg
211c10aff2
fixed issue 15721
2016-03-01 22:17:38 +01:00
H. S. Teoh
5c53be7676
Merge pull request #3977 from joakim-noah/android
...
Android update
2016-02-23 13:51:42 -08:00
Steven Schveighoffer
1d1ddfbf5d
Fix GCAllocator.expand to properly utilize GC.extend
2016-02-21 17:17:02 -05:00
Joakim
10c01a0614
On Android, update std.datetime to extract timezone data and some other fixes.
2016-02-10 14:25:42 +05:30
Dariusz Antoniuk
338dfff953
Take array by ref for expandArray with init
2016-02-08 17:33:37 +01:00
ZombineDev
1c555f0d1f
Handle all return codes of posix_memalign, such as EINVAL.
2016-02-03 17:33:24 +02:00
ZombineDev
ce938fe432
Add attributes to most functions in allocator.mallocator and allocator.common.
...
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
Steven Schveighoffer
245977e3e7
Add more unit tests for GCAllocator.goodAllocSize
2016-02-02 15:11:55 -05:00
Steven Schveighoffer
0c5e570360
Optimize use of bsr better.
2016-02-01 09:27:04 -05:00
Steven Schveighoffer
e9e52d9e05
Add goodAllocationSize to GCAllocator -- the GC has very well defined
...
behavior for this.
2016-01-31 14:50:53 -05:00
Jack Applegame
f790eeeb98
Fix imports.
2016-01-29 13:48:36 +03:00
Jack Applegame
b2e6ed320f
Bucketizer unittest update
2016-01-29 13:31:46 +03:00
JakobOvrum
eec7609314
Merge pull request #3956 from ZombineDev/patch-3
...
Fix makeArray for types with disabled this(this)
2016-01-29 08:27:06 +09:00
Dariusz Antoniuk
e9ef91d5d4
Fix a typo in stack allocator usage example
...
Objs should be deallocated by the same allocator used to allocate them.
2016-01-28 15:16:48 +01:00
Petar Kirov
6615f6990e
Fix makeArray for types with disabled this(this)
2016-01-27 17:39:59 +02:00
Jack Applegame
a527393821
fix Bucketizer.owns
2016-01-24 10:04:43 +03:00
Andrei Alexandrescu
ac96a3d3c0
Merge pull request #3684 from 9il/shared_free_list
...
[allocators] add approxMaxNodes for shared free list
2016-01-14 02:48:51 -05:00
Andrei Alexandrescu
718208dfc5
Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
...
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
Martin Nowak
8aafde2505
disable GCAllocator.expand test
2016-01-03 16:58:45 +01:00
Martin Nowak
6d36fc10e4
add missing @nogc for Windows-only functions
2016-01-03 16:04:18 +01:00
Yazan Dabain
44d273c3bd
Fixes #15433 : std.experimental.allocator.building_blocks.free_tree only compiles with unittest
2015-12-11 10:44:06 +02:00
Basile Burg
0c513b1c15
allowed Mallocator to be used in nogc functions
2015-12-05 23:41:26 +01:00
anonymous
933aa8e30d
TypeInfo.init -> TypeInfo.initializer
2015-11-30 21:20:46 +01:00
Walter Bright
cf22992cbb
Merge pull request #3768 from CyberShadow/pull-20151024-051829
...
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Brian Schott
60e69567dc
Merge pull request #3693 from andrewwvc/newmaster
...
Modified allocateEligible to prevent memory stomping
2015-10-19 02:20:31 -07:00
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Brian Schott
158de887d3
Merge pull request #3685 from economicmodeling/allocator_policy_fix
...
Allow TypedAllocator.Policies to actually be empty
2015-10-15 16:37:21 -07:00
Ilya Yaroshenko
f81799cd0f
fix #15188
2015-10-16 01:05:05 +03:00
Martin Nowak
2408a31a3f
Merge pull request #3689 from economicmodeling/allocator-list-without-expand
...
Issue 15197 - Allow allocator_list to work with allocators that don't have 'expand()'
2015-10-15 01:17:55 +02:00
Martin Nowak
e5f45f4bed
Merge pull request #3688 from economicmodeling/free-memory-in-unittests
...
Issue 15196 - Fix memory leak in bitmapped-block unit tests
2015-10-15 01:10:33 +02:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Ilya Yaroshenko
bf64ff48a1
[DMD 2.069][allocators] Fix issue 15187
...
https://issues.dlang.org/show_bug.cgi?id=15187
Update package.d
2015-10-11 23:23:03 +06:00
Andrew Van Caem
54e415c82f
Modified allocateEligible so that parent.allocate will allocate max bytes when hasTolerance is true
2015-10-04 12:19:16 +11:00
Andrei Alexandrescu
71a00eee59
Simplify package documentation generation, fux errors in allocator's documentation
2015-10-03 19:51:08 -04:00
Hackerpilot
5cb1fc7888
Allow allocator_list to work with allocators that don't have 'expand()'
2015-10-02 17:38:21 -07:00
Hackerpilot
9c431374de
Fix memory leak in bitmapped-block unit tests
2015-10-02 17:11:40 -07:00
Justin Whear
bef28f41f1
Allow TypedAllocator.Policies to actually be empty
...
Fixed compile-time error when Policies was empty. Repro with
----
import std.experimental.allocator.mallocator;
import std.experimental.allocator.typed;
alias A = TypedAllocator!(Mallocator); // slice[1..0]
----
2015-10-02 09:18:08 -07:00
Ilya Yaroshenko
cc4cd7c1a9
add approxMaxNodes for shared free list
2015-10-02 17:41:33 +03:00
Ilya Yaroshenko
0b2ca72571
fix SharedFreeList.allocate
2015-10-02 07:35:09 -04:00
Basile Burg
18d9bc764e
fix unittest style
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
dbad0e839d
Reduce number of threads created in free_list unittest
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
ec8f916555
Change unittest for roundUpToAlignment
2015-10-02 07:35:09 -04:00