[Issue 6818] Globally shared class instances are never released
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 29 20:37:20 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6818
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-01-29 20:37:19 PST ---
__gshared variables go into the data segment (.BSS), and according to the docs:
"Objects referenced from the data segment never get collected by the gc."
(http://dlang.org/class.html).
TLS class objects go to the .tls section and get collected.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list