Commit graph

135 commits

Author SHA1 Message Date
Ilya Yaroshenko
f81799cd0f fix #15188 2015-10-16 01:05:05 +03:00
Martin Nowak
2408a31a3f Merge pull request #3689 from economicmodeling/allocator-list-without-expand
Issue 15197 - Allow allocator_list to work with allocators that don't have 'expand()'
2015-10-15 01:17:55 +02:00
Martin Nowak
e5f45f4bed Merge pull request #3688 from economicmodeling/free-memory-in-unittests
Issue 15196 - Fix memory leak in bitmapped-block unit tests
2015-10-15 01:10:33 +02:00
Ilya Yaroshenko
bf64ff48a1 [DMD 2.069][allocators] Fix issue 15187
https://issues.dlang.org/show_bug.cgi?id=15187

Update package.d
2015-10-11 23:23:03 +06:00
Andrei Alexandrescu
71a00eee59 Simplify package documentation generation, fux errors in allocator's documentation 2015-10-03 19:51:08 -04:00
Hackerpilot
5cb1fc7888 Allow allocator_list to work with allocators that don't have 'expand()' 2015-10-02 17:38:21 -07:00
Hackerpilot
9c431374de Fix memory leak in bitmapped-block unit tests 2015-10-02 17:11:40 -07:00
Ilya Yaroshenko
0b2ca72571 fix SharedFreeList.allocate 2015-10-02 07:35:09 -04:00
Basile Burg
18d9bc764e fix unittest style 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
dbad0e839d Reduce number of threads created in free_list unittest 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
ec8f916555 Change unittest for roundUpToAlignment 2015-10-02 07:35:09 -04:00
Basile Burg
b876a20832 rewritten _aligned_realloc + added unittests
- _aligned_realloc was using an unnecessary temp buffer
- _aligned_realloc is now conforms with MSVC specs. in case of realloc failure (keep original block)
2015-10-02 07:35:09 -04:00
Basile Burg
82349d5ea3 fix, temp file for test under win 2015-10-02 07:35:09 -04:00
Basile Burg
70c4ad4cbe fix, test cant pass under win32
due to max alloc size
2015-10-02 07:35:09 -04:00
Basile Burg
53ba5d3c74 fix, use 'CRuntime_DigitalMars' to detect the Digital Mars standard C lib 2015-10-02 07:35:09 -04:00
Basile Burg
257499176f set aligned_free private 2015-10-02 07:35:09 -04:00
Basile Burg
2e2e6d5563 Implementation of the_aligned_alloc functions for the DigitalMars version 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5cce2a1c30 Reduce unittests' pressure on resources 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
3a40bed57e Reduce unittest allocations, otherwise there's failure on low-memory machines at least in 32-bit builds 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
f38dab3d9e Fix roundUpToAlignment 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
b0d99515c5 Relax more totalAllocation assertions for 32 bit 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
58a19a64d8 Relax totalAllocation assertion for 32 bit 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5c4f4cf20b Where did the tabs come from? 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
cce6aafa1b Rebase and solve conflicts 2015-10-02 07:35:09 -04:00
Basile Burg
0ea3986ab6 removed useless import 2015-10-02 07:35:09 -04:00
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