www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16377] New: Make --DRT GC profile information available


          Issue ID: 16377
           Summary: Make --DRT GC profile information available outside of
                    GC destruction
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: acehreli yahoo.com

Today, the results of "--DRT-gcopt=profile:1" are printed during GC
destruction, which may never happen e.g. when the application exits with

Please make the results available through a function call which would enable
registering with atexit() as well as taking snapshots of the profile
information at arbitrary times.

(Also see bug 15602.)


Aug 11 2016