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: [email protected]
Reporter: [email protected]
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
--