Hackerpilot
|
710d85d622
|
Clean up various things discovered by D-Scanner
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
e613d2973c
|
Fix documentation of truth table for Ternary
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
b7f4600a67
|
Replace HeapBlock with the more descriptive BitmappedBlock
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
20bfef3f3e
|
Unify static and dynamic method signatures
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
b12ca87531
|
Add typed allocation primitives to TypedAllocator
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
13612a5355
|
Reorg of modules: typed, package, building_blocks
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
5b4bf23473
|
WIP
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
ab6f28dc11
|
WIP
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
78cbb2becd
|
Move templated functions to the top in porcelain.d
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
52d3c1ad73
|
uncomment unittest
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
c3e02af609
|
--amend
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
4bc13a66de
|
Add Factory parameter to AllocatorList, and mmapRegionList to showcase
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
f2abd5b220
|
Fix flaky unittest
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
a13bdbb837
|
Add showcase.d; now Region supports allocation from the end or beginning
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
5cc39d3688
|
KRBlock into KRRegion with region/freelist modes; fixes in Bucketizer; small changes to NullAllocator and dox
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
193948de00
|
KRBlock's freelist is now circular (that was brutal...)
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
d3d43932f3
|
Improve constraints on fallback_allocator
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
05e3476ea5
|
Remove for now the GC-related primitives
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
dafe9fa546
|
Remove uninteresting primitive zeroesAllocation
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
faecd0a95f
|
Make KRBlock uncopyable
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
57e163001c
|
Fix package docs
|
2015-10-02 07:35:08 -04:00 |
|
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
|
14b4c99ad4
|
FreeList improvements and add ContiguousFreeList
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
e32887d8df
|
Workaround for https://issues.dlang.org/show_bug.cgi?id=14617
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
b2d265a987
|
Initialize sbrk mutex properly using PTHREAD_MUTEX_INITIALIZER
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
fd32ea58bd
|
Fix SbrkRegion for Posix
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
6e17b9128f
|
import MAP_ANON for Linux
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
f26e7d0274
|
Put blockFor where it belongs, make private
|
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
|
5141ef7f27
|
Adaptive FreeList uses simple statistics to control number of items in the list
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
049fd10140
|
Eliminate batchCount from free_list.d, it was incorrect because items could not be freed properly
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
553b73f339
|
Fix for allocate(0) in MmapAllocator; remove batching and hard limit of nodes in free_list.d, better approaches coming
|
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
|
c175553098
|
Eliminate redundant example from region
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
292f061015
|
Remove redundant example froms scoped_allocator
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
7805699499
|
Improve segregator.d
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
8cf252951e
|
Make Option enum ulong for accommodating more flags in the future
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
f55928a796
|
Feedback by Timon
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
83e61cb960
|
Major overhaul of stats_collector - yanked old per-call statistics, replaced with meaningful ones
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
c537f012a6
|
Fix 32-bit unittests in kernighan_ritchie
|
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
|
09002ae84f
|
Minor changes to allocator_list; add fallback_allocator.fallbackAllocator; dox for kernighan_ritchie; eliminate KRBlock.totalAllocated
|
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
|
ae0aa239b9
|
Refactoring of KRBlock, still WIP
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
4511ea31f2
|
KRBlock is now a template accepting an optional parent allocator (WIP)
|
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
|
2e8636fd73
|
Minor refactoring in allocator_list
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
3ae9dc9fce
|
Improve imports for kernighan_ritchie
|
2015-10-02 07:35:08 -04:00 |
|
Andrei Alexandrescu
|
315b2625fa
|
AutoDeallocator -> ScopedAllocator by Jacob Carlborg's suggestion
|
2015-10-02 07:35:08 -04:00 |
|