www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14755] New: Could -profile=gc also give the number of

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 puremagic.com
          Reporter: aliloko 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.

--
Jul 01 2015