Commit graph

8795 commits

Author SHA1 Message Date
Andrei Alexandrescu
a11aaee267 Faster markAllAsUnused for heapblock 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
c494e18d5b Fix markAllAsUnused for heapblock 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
c10cf65bd4 Added GC helper primitives to Freelist 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
d92654e11a Added GC helper primitives markAllAsUnused, markAsUsed, doneMarking 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
38cf900172 resolveInternalPointer: back to returning void[] instead of void* 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
488f8232e0 AffixAllocator fixes, improvements 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
5d75936e79 Improvements to FallbackAllocator and AffixAllocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
4a058ed238 Improvements to FallbackAllocator and AffixAllocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
4891cd0bd0 More docs, name changes 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
4f21ea294b Docs work, fixed default alignedReallocate, changed owns() spec so null is not owned by anyone, adjusted NullAllocator, added resolveInternalPointer to AffixAllocator, added and used BitVector, added HeapBlock with InternalPointers, added comprehensive test 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
9ac260ada0 HeapBlock does not need Allocator as parameter 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
08935e83e5 Added docs for new allocators in std.allocator; WIP on std.typed_allocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
a843278728 Added default impl of alignedReallocate, doc for resolveInternalPointer, doc for empty, doc and impl for zeroesAllocation, implementation for expand, owns, and empty for the sbrk allocator, EmbeddedTree, and WithInternalPointers 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
08a17c2e1a Added MmapAllocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
a885bebc2c Blocklist: fix alias owns and deallocateAll 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
412dbb13eb Blocklist documentation 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
51160a0b5f Blocklist documentation 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
f752c5a839 Added SimpleBlocklist and Blocklist allocators 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
324eaf0917 SbrkAllocator: add unittest to document assumption 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
0a6ee1475e SbrkAllocator: remove unused function, fix docs 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
6a845f0565 Added SbrkAllocator 2015-10-02 07:33:42 -04:00
Hackerpilot
03b38caf38 Minor style fixes 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
b3323ed860 fix deallocateAll for InSituAllocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
4993442648 void initializer for in-situ region 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
3e4df5018b Windows typo 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
bd0cfbd92b Doc typos 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
7d684ac0ad Added SharedFreelist to synopsis 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
caf442578d Added documentation for shared allocation 2015-10-02 07:33:42 -04:00
Timon Gehr
1a9b466695 Carried out optimization of Ternary as suggested by Lionello Lunesu. 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
85e34f8ae7 Added SharedFreelist, fixed a few bugs. 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
11351f72eb Minor additions 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
788d9c6997 Documentation for AlignedMallocator, added alignedAllocate to region types 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
d915a9a4b1 Remove all dynamic getting/setting of alignment 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
3fbf91246a Added dox for alignedAllocate and alignedReallocate 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
8a448305de Tourist's review 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
62f33a421b Added AlignedMallocator 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
0fba163fa3 Dmitry's review 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
0477b4e458 Johannes Phau's review 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
ef65bc4a68 Added Timon Gehr's Tristate implementation 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
74407a6a7a Added batchCount parameter to Freelist 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
422ed8a1fd Added batchCount parameter to Freelist 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
22d7927c9a CascadingAllocator: fixed a few resource exhaustion cases 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
8b249a6240 =std.allocator for pre-review 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
94a4c7db90 checkpoint 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
2dd9ef7afd Added OwningPtr 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
f07ebf4559 Added OwningPtr 2015-10-02 07:33:42 -04:00
Robert burner Schadek
fdf19251ee structs and classes with @system or @trusted toString methodes did not
used to work. This test checks that it does work now

comment fix
2015-10-01 19:49:20 +02:00
Martin Nowak
d6fa6833fa Merge pull request #3654 from CyberShadow/pull-20150917-013849
fix Issue 15076 - Get ID of current thread
2015-09-27 14:38:13 +02:00
Vladimir Panteleev
1699b5fc46 fix Issue 15076 - Get ID of current thread 2015-09-27 08:21:39 +00:00
Nicolas Jinchereau
77e3f9c93c fixed typo (newValues3 -> newValues4) 2015-09-26 13:49:43 -04:00