[Issue 280] New: Doc of GC
Sean Kelly
sean at f4.ca
Wed Aug 9 11:58:17 PDT 2006
d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=280
>
> Summary: Doc of GC
> Product: D
> Version: 0.163
> Platform: PC
> OS/Version: All
> Status: NEW
> Severity: normal
> Priority: P2
> Component: Phobos
> AssignedTo: bugzilla at digitalmars.com
> ReportedBy: benoit at tionex.de
>
>
> After telling this every week at minimum one person... Please say it in the
> doc:
>
> The GC enable/disable are not implemented.
I think it would be trivial to enable this feature. Try adding these
lines to the top of internal/gc/gcx.d - fullcollectshell():
if (gcx.disabled > 0)
return 0;
This should force the GC to allocate a new pool if all existing pools
are full instead of first attempting a collect.
More information about the Digitalmars-d-bugs
mailing list