On Thursday, 6 February 2014 at 17:18:59 UTC, Andrej Mitrovic
wrote:
On 2/6/14, Dicebot <[email protected]> wrote:
Merging https://github.com/D-Programming-Language/dmd/pull/1886
and running phobos unit tests should make it relatively simple,
at least for a first pass.
Running the tests is overkill, all you have to do is iterate
over each
module and call "-o- -vgc" on it.
We have so many allocations in Phobos that I couldn't even
upload my
text over to a paste site, most sites have a limit of 150Kb! So
here
it is on github:
https://raw.github.com/AndrejMitrovic/phobos_allocations/master/phobos_allocations.txt
Quite a few of those seem to be false positives.
E.g.
C:\dmd-git\dmd2\src\phobos\std\internal\digest\sha_SSSE3.d(512):
Concatenation causes gc allocation
"rol "~T2~",5",
looks like something that only ever makes sense at compilation
time