Commit graph

14 commits

Author SHA1 Message Date
Andrei Alexandrescu
e87abcdc60 Add BookkeepingAllocator parameter to AllocatorList; add global expand() to common but commented out - causes trouble; small improvement in fallback_allocator; small improvements to free_list; fix in GCAllocator.expand 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
5adf023876 Better isPowerOf2, add package attrribute to a few items 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0b15a81947 Branchless isPowerOf2 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
c00b5885c1 Improvements and fixes in affix_allocator; fix in isPowerOf2; fix alignment in scoped_allocator 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
e3b6e3ee78 Fixes in affix_allocator, workaround in common and mallocator 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
5d88d9b6e3 Many fixes and improvements to allocator_list.d; nuke KRAllocator in favor of AllocatorList!KRBlock (noice). 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
ed5a6ca6db allocate(0) should return null 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
399aaea68b Better region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0d6ae0459d HeapBlock now takes an allocator as a parameter 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
b5c9863b03 Define and use forwardToMember 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e7ffe33977 Changes prompted by https://github.com/D-Programming-Language/dmd/pull/2885 and isnan->isNaN 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