[Issue 16377] New: Make --DRT GC profile information available outside of GC destruction
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Aug 11 14:32:41 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16377
          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 at puremagic.com
          Reporter: acehreli at 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
exit().
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.)
Ali
--
    
    
More information about the Digitalmars-d-bugs
mailing list