[Issue 14573] [REG2.067] Extreme memory usage when `synchronized( object )` is used
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 14 10:16:57 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14573
--- Comment #4 from Martin Nowak <code at dawg.eu> ---
(In reply to safety0ff.bugz from comment #3)
> Probably best just to revert the commit in question for now and leave a
> comment in _d_newclass explaining why classes need the FINALIZE flag
> regardless.
I'm so tired of this reverting business, let's just fix the bug.
We have 2 options
- introduce a finalizeMonitor flag that tells the GC to only free the monitor
- try to add a quickpath in rt_finalize2 to skip destruction, but keep the
FINALIZE flag, even for classes without a dtor
--
More information about the Digitalmars-d-bugs
mailing list