Bug 16377 – Make --DRT GC profile information available outside of GC destruction
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-08-11T21:32:41Z
Last change time
2019-01-04T11:17:44Z
Assigned to
No Owner
Creator
Ali Cehreli
Comments
Comment #0 by acehreli — 2016-08-11T21:32:41Z
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
Comment #1 by github-bugzilla — 2019-01-04T11:17:43Z