Commit graph

573 commits

Author SHA1 Message Date
Eduard Staniloiu
035d7d651b Fix bucketizer aligned allocate 2017-10-16 08:56:28 +00:00
The Dlang Bot
2230d5556f Merge pull request #5764 from ibuclaw/mips32
Use MIPS32 version condition instead of MIPS.
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-10-08 01:18:37 +02:00
Iain Buclaw
061c2a7945 Use MIPS32 version condition instead of MIPS. 2017-10-07 23:33:35 +02:00
Sebastian Wilzbach
5a20f69160 Issue 16984 - Make stdx.allocator.building_blocks.free_list runnable 2017-10-05 21:55:33 +02:00
Sebastian Wilzbach
ff6c0f1dfc Issue 16984 - Make stdx.allocator.building_blocks.quantizer runnable 2017-10-05 21:55:17 +02:00
Basile Burg
920f6b3473
nullify when necessary, despite of possible elimination of dead assignment by compiler 2017-09-08 00:19:12 +02:00
Basile Burg
7cb35fd849
Also nullify the arrays 2017-09-01 22:10:42 +02:00
Basile Burg
63ed59ffc7
fix issue 16512 - Nullify the argument passed to allocator.dispose 2017-08-27 09:37:10 +02:00
Nemanja Boric
b122848d33
Correct the documentation about the used allocator in Segregator
Documented Segregator uses GCAllocator for allocation of the blocks
greater than 4072kB, not Mallocator.
2017-08-09 18:50:41 +02:00
The Dlang Bot
b97aa79fb6 Merge pull request #5665 from aG0aep6G/16230
prepare for fix of druntime issue 16230
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-08-01 15:09:18 +02:00
anonymous
7e87d0646a prepare for fix of druntime issue 16230 2017-08-01 09:22:41 +02:00
The Dlang Bot
a9169d6953 Merge pull request #5555 from chadjoan/shared_freelist_minimize
Add minimize() function to SharedFreeList.
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-07-26 21:24:32 +02:00
The Dlang Bot
d27a3bf9d5 Merge pull request #5594 from RazvanN7/Issue_15771
Fix Issue 15771 - FileLogger should create the output directory if it does not exist
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-12 15:33:02 +02:00
RazvanN7
e85381ee42 Fix Issue 15771 - FileLogger should create the output directory if it does not exist 2017-07-12 15:55:44 +03:00
Sebastian Wilzbach
70f06b2357 Remove old, redundant private import access specifier
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:

sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
The Dlang Bot
0958adf3ff Merge pull request #5556 from chadjoan/shared_freelist_min_typo
Bugfix for "undefined identifier _min" in SharedFreeList.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-10 07:18:41 +02:00
cjoan
0c41d96b13 Bugfix for "undefined identifier _min" in SharedFreeList.
When instantiating SharedFreeList with a 0 minSize and a
chooseAtRuntime maxSize, it will give an error like so:

  std/experimental/allocator/building_blocks/free_list.d(822): Error: undefined identifier _min, did you mean alias min?

This commit resolves the error message by using 'min' instead
of '_min', because '_min' is only available when
(minSize == chooseAtRuntime).
2017-07-10 06:43:11 +02:00
The Dlang Bot
0b6b743b5b Merge pull request #5547 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-07-08 19:09:17 +02:00
cjoan
c327a3c73c Add minimize() function to SharedFreeList. 2017-07-05 23:30:59 -04:00
Martin Nowak
24f44d083f Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-07-05 18:37:32 +02:00
RazvanN7
74a8f6bb47 Fix Issue 17365 - checkedint.html is missing the Throw hook description 2017-07-05 17:09:51 +03:00
The Dlang Bot
fc5e0d37ee Merge pull request #5522 from JackStouffer/datetime-imports
Switched package-wide datetime imports to new sub-packages
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-06-30 20:23:02 +02:00
Jack Stouffer
20d40a954c Switched package-wide datetime imports to new sub-packages 2017-06-30 13:51:53 -04:00
Sebastian Wilzbach
818deb3615 Fix DDoc macros 2017-06-30 01:39:24 +02:00
Martin Nowak
b8b60fb347 avoid redundant TLS reads 2017-06-29 02:08:44 +02:00
Sönke Ludwig
67e33d7748 Make _threadAllocator private. 2017-06-29 01:45:01 +02:00
Sönke Ludwig
4a5d2b3b18 Fix issue 17564: Eliminate "static this" for theAllocator
This switches to lazy initialization of theAllocator, so that accessing it form within `shared static this` works as expected.
2017-06-29 01:45:01 +02:00
The Dlang Bot
857fdc1312 Merge pull request #5486 from wilzbach/fix-ddoc
Fix invalid undefined Ddoc macros
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-06-15 17:39:23 +02:00
Sebastian Wilzbach
e7111d4fd0 Fix invalid undefined Ddoc macros 2017-06-15 11:00:47 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
The Dlang Bot
9b5a54189d Merge pull request #5463 from andralex/allocatorhassharedstaticzisnomore
Eliminate shared this for allocators
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-13 07:32:13 +02:00
Sebastian Wilzbach
2070d867dd Sort multiple packages within one line 2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Andrei Alexandrescu
739d08b6da Eliminate shared static this() from std.experimental.logger 2017-06-11 12:37:54 -04:00
Andrei Alexandrescu
1cdd07b60d Eliminate shared this for allocators 2017-06-11 11:28:48 -04:00
Sebastian Wilzbach
1e7f7a1ba2 Revert "Use OpaquePointer as a safe support for region based allocators" 2017-06-08 09:45:31 +02:00
Eduard Staniloiu
dfe45f3d0e Remove free_list faulty dtor 2017-06-08 00:40:14 +03:00
Andrei Alexandrescu
5cc9d8b1a8 Eliminate failing assert on 32 bit platforms 2017-06-08 00:40:14 +03:00
Eduard Staniloiu
79cf4ab913 Use OpaquePointer as a safe support for region based allocators 2017-06-08 00:40:14 +03:00
Andrei Alexandrescu
f2ff3527a8 opChecked: use "overflow" consistently in code & dox 2017-06-03 13:22:10 -04:00
The Dlang Bot
4b727ed11d Merge pull request #5326 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-05-30 01:02:05 +02:00
Robert burner Schadek
27b6122d94 fix Issue 15517
was already fixed but had no fixture
2017-05-29 15:52:43 +02:00
Robert burner Schadek
9e6759995a fix issue 15945, 16256, 17328
tab -> space
2017-05-26 11:33:15 +02:00
Martin Nowak
b940d0c1c7 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-05-23 20:37:35 +02:00
Robert burner Schadek
7d7ce4a5eb Logger sharedLog comment on thread-safety
fix Issue 16232 - std.experimental.logger.core.sharedLog isn't thread-safe
2017-05-07 10:54:53 +02:00
Rainer Schuetze
a3e7298686 workaround ld rejecting explicit alignment 2017-05-02 15:27:42 +02:00
Rainer Schuetze
8803c5e582 allow precise scanning of DATA/TLS segment: buffers for preallocated class instances should be typed void[], not ubyte[] and must be properly aligned 2017-05-02 14:15:55 +02:00
Eduard Staniloiu
5bc80e6dd6 Add ISharedAllocator and have the _processAllocator use it 2017-05-01 02:52:50 +03:00
Eduard Staniloiu
ee6e55621e SharedFreeList.reallocate must be shared and take a ref void[] 2017-04-30 19:23:44 +03:00