[Issue 17294] Incorrect -profile=gc data
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 20 03:12:54 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17294
Leandro Lucarella <leandro.lucarella at sociomantic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |leandro.lucarella at sociomant
| |ic.com
--- Comment #3 from Leandro Lucarella <leandro.lucarella at sociomantic.com> ---
I have the feeling that knowing what was requested (and not only what was
actually reserved) could be also useful (although I agree that if we need to
pick between the 2, the real allocation makes more sense). But maybe a method
to track the requested sizes instead of the real allocated memory could be
useful.
Also, when shrinking the memory it makes little sense to report it as an
allocation, but that would be extremely hard to track (or add a lot of
overhead) for the "requested size" mode.
--
More information about the Digitalmars-d-bugs
mailing list