[Issue 14755] New: Could -profile=gc also give the number of allocations that led to X bytes being allocated?
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jul 1 06:48:45 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14755
Issue ID: 14755
Summary: Could -profile=gc also give the number of allocations
that led to X bytes being allocated?
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: aliloko at gmail.com
Currently -profile=gc gives a list of top GC spots sorted by bytes (and that is
already useful). Could we also get the corresponding count of GC allocations
along with that number?
Rationale: not all memory is scanned and a frequent allocation of objects with
references worries me more than a big uint[] that happen only once.
--
More information about the Digitalmars-d-bugs
mailing list