[Issue 20960] New: -profile=gc does not track class objects allocated with new

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 20 01:18:16 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20960

          Issue ID: 20960
           Summary: -profile=gc does not track class objects allocated
                    with new
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: andrei at erdani.com

Building dmd itself with -profile=gc and then running it on a few simple files
seems to show that only array allocations are traced, but not allocations of
individual objects. dmd allocates many nodes for syntax elements, and their
allocation would be interesting to trace.

--


More information about the Digitalmars-d-bugs mailing list