Commit graph

179 commits

Author SHA1 Message Date
k-hara
59989ed68a fix imports 2015-11-01 23:01:04 +09:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
Brian Schott
60e69567dc Merge pull request #3693 from andrewwvc/newmaster
Modified allocateEligible to prevent memory stomping
2015-10-19 02:20:31 -07:00
Brian Schott
67c95e6de2 Merge pull request #3715 from dcarp/AliasSeq
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Brian Schott
158de887d3 Merge pull request #3685 from economicmodeling/allocator_policy_fix
Allow TypedAllocator.Policies to actually be empty
2015-10-15 16:37:21 -07:00
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
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +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
Andrew Van Caem
54e415c82f Modified allocateEligible so that parent.allocate will allocate max bytes when hasTolerance is true 2015-10-04 12:19:16 +11: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
Dmitry Olshansky
c29a14edd5 Merge pull request #3682 from burner/std.experimental.logger_housekeeping
logger housekeeping
2015-10-02 19:36:30 +03:00
Justin Whear
bef28f41f1 Allow TypedAllocator.Policies to actually be empty
Fixed compile-time error when Policies was empty. Repro with
----
import std.experimental.allocator.mallocator;
import std.experimental.allocator.typed;
alias A = TypedAllocator!(Mallocator);  // slice[1..0]
----
2015-10-02 09:18:08 -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