Basile Burg
|
18b7855c9d
|
simplified MAP_ANON symbol import
|
2015-10-02 07:35:09 -04:00 |
|
Basile Burg
|
9dd52726c0
|
Update mmap_allocator.d
updated MmapAllocator.deallocate()
|
2015-10-02 07:35:09 -04:00 |
|
Basile Burg
|
979b476cb0
|
do not allow memory to be executed
|
2015-10-02 07:35:09 -04:00 |
|
Basile Burg
|
fed7041b67
|
win, mmap uses VirtualAlloc instead of anon mem mapped file
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
f86669b2be
|
Fix documentation of methods returning Ternary
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
f4ced62cfd
|
stats_collector docs, fix links
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
b944173020
|
Improve usage guidelines
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
b5c0f72499
|
Documentation and import change
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
499ecfedc5
|
Moved a bunch of building blocks into a new package building_blocks
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
e0ad05d7b0
|
Name change: .it -> .instance for all allocators
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
8c35e595b0
|
Add conditional destructor to Region
|
2015-10-02 07:35:09 -04:00 |
|
Hackerpilot
|
d18098ff74
|
Add Ternary constructor
|
2015-10-02 07:35:09 -04:00 |
|
Basile Burg
|
2e5ed76ed2
|
added MmapAllocator equivalent for Windows
|
2015-10-02 07:35:09 -04:00 |
|
Andrei Alexandrescu
|
5d6f68297d
|
Small adjustments post https://github.com/andralex/phobos/pull/11
|
2015-10-02 07:35:09 -04:00 |
|
Hackerpilot
|
5cedb3873e
|
Fix tabs
|
2015-10-02 07:35:09 -04:00 |
|
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 |
|