https://issues.dlang.org/show_bug.cgi?id=1164

--- Comment #10 from Andrei Alexandrescu <and...@erdani.com> ---
(In reply to Pieter Penninckx from comment #9)
> Just to be sure I understand you correctly.
> 
> Am I right that the garbage collector currently works as follows:
> 
> * Mark (= mark all reachable objects as reachable)
> * For each collectable (= non-reachable) object:
>   * Call dtor
>   * release memory of the collectable object

I don't know exactly. I am pretty certain, however, that freed objects are
currently not overwritten with .init.

--

Reply via email to