Commit graph

179 commits

Author SHA1 Message Date
Andrei Alexandrescu
95c2ee20df More Quantizer fixes prompted by Timon Gehr 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
bd74dd873e Add auto_deallocator.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
8ff52f0997 Add example to region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
399aaea68b Better region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
158f9753c1 Add goodAllocSize to HeapBlock*, also ParentAllocator to HeapBlockWithInternalPointers 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
2e435bd4d0 Add alignedAllocate/Reallocate, improve documentation 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
c215f6efb9 Add parameter to make in allocator_list.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0277229e4c Fix 32-bit build 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
dd57a7bd31 Fix 'last bug' in quantizer prompted by Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
029c4bc385 Add .empty and documentation to stats_collector; add ability to return unused memory to allocator_list 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
48bc4b7d6c Fix unittest build 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
430c076ff5 Major improvements to allocator_list.d 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6649349607 Keep constraints on rounding function low 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e6d744a82c Fixes to Quantizer prompted by Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
103d089d8a Improved docs for quantizer 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
800f817255 Really add std/experimental/allocator/quantizer.d 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
8dab158588 Fix bug in MmapAllocator.deallocate, few more minor changes 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
d1559ebb45 Added Quantizer, implemented fixes pointed by reviews by Brian Schott and Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1974105221 porcelain in good shape 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
b5c9863b03 Define and use forwardToMember 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
f9736602ef Working FreeTree, good handling of duplicates 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
b9006c5d86 WIP on kernighan_ritchie 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6a3f8cafa0 Minor changes for fixing doc generation 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
3715002fde Added the kernighan_ritchie allocator 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1f88a728e8 Moving unittests around, comment adjustment. Added a TypeInfo parameter to IAllocator.allocate() 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
3fd3a30037 move unittest to package where it fits better 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
c3416158da Separate porcelain from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
309bcef814 Separate bucketizer from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e80539756a Separate segregator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e9302b1d09 Separate allocator_list from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
8417cafe2d Move unittest to stats_collector 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1abe6daf35 Eliminate dead code 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
24cf76a928 Separate stats_collector from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
20d1b1ba93 Separate mmap_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
faca71602e Separate region from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6bcf7c2314 Separate free_list from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
34cb8cdcd4 Separate fallback_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
5eb355e43b Separate heap_block from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
4196e25d2f Separate affix_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
892be24145 Separate mallocator from the rest 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
Robert burner Schadek
fdf19251ee structs and classes with @system or @trusted toString methodes did not
used to work. This test checks that it does work now

comment fix
2015-10-01 19:49:20 +02:00
Robert burner Schadek
fda33d0b24 logger housekeeping
* removed some debug statements
* fixed TODO (because of druntime fix)
2015-10-01 14:41:46 +02:00
Dmitry Olshansky
1e647d9321 Merge pull request #3582 from burner/issue14940
fix Issue 14940: Can't call logger with more complex objects
2015-09-02 11:03:42 +03:00
Jonathan M Davis
f3af4ca0f0 Update to logger due to fracSec deprecation in std.datetime.
I also fixed it so that it casts to DateTime rather than calling all of
the various properties on SysTime individually, since that's more or
less equivalent to casting to DateTime and getting the property off of
it for each call. I probably never should have put those properties on
SysTime in the first place, though it is more user-friendly in the cases
where you don't care about efficiency. I expect that we _do_ care about
efficiency in the logger however.
2015-08-29 17:03:40 -07:00
Robert burner Schadek
0390fba7e7 fix Issue 14940
https://issues.dlang.org/show_bug.cgi?id=14940

format
2015-08-26 10:29:00 +02:00