Bug 5070 – Heap-allocated closures listing

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2010-10-17T17:28:00Z
Last change time
2014-04-29T16:43:17Z
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2010-10-17T17:28:13Z
An idea by Denis Koroskin. The idea is to have a new compiler switch that lists all the heap-allocated closures in the compilation unit (like -vtls does). As alternative, this list may be shown when the compiler "tips" are activated (a third kind of message from the compiler), this is a performance suggestion.
Comment #1 by bearophile_hugs — 2011-02-11T03:25:55Z
See also inlining listing, bug 5563
Comment #2 by andrej.mitrovich — 2014-04-29T15:45:48Z
Could the new -vgc cover this?
Comment #3 by bearophile_hugs — 2014-04-29T16:43:17Z
(In reply to Andrej Mitrovic from comment #2) > Could the new -vgc cover this? It's not exactly the same thing, but I think it's OK. So I close this.