Commit graph

9123 commits

Author SHA1 Message Date
Andrei Alexandrescu
8417cafe2d Move unittest to stats_collector 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1abe6daf35 Eliminate dead code 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
24cf76a928 Separate stats_collector from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
20d1b1ba93 Separate mmap_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
faca71602e Separate region from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6bcf7c2314 Separate free_list from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
34cb8cdcd4 Separate fallback_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
5eb355e43b Separate heap_block from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
4196e25d2f Separate affix_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
892be24145 Separate mallocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1c1131855c Separate gc_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
2aa08c2711 Separate null_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
61c90dd5ac Rebase 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
ef35e2a5f6 Rebase, fix deprecations 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
77be532de9 class to interface 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
83a2b14ae0 CSharedAllocator, benchmark 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
fca2ca2684 Added ThreadLocal 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
0b04a9caaa Added CSharedAllocator 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
72a9489954 CAllocator not abstract anymore 2015-10-02 07:33:43 -04:00
Andrei Alexandrescu
a0872fe996 CAllocator and allocatorObject 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
6aa8f2cdcf Very very very primitive tracing 2015-10-02 07:33:42 -04:00
Andrei Alexandrescu
5a88de3d5e More marking implementations 2015-10-02 07:33:42 -04:00
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