Bug 280 – Doc of GC

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2006-08-09T13:40:00Z
Last change time
2014-02-15T13:25:00Z
Assigned to
bugzilla
Creator
benoit

Comments

Comment #0 by benoit — 2006-08-09T13:40:25Z
After telling this every week at minimum one person... Please say it in the doc: The GC enable/disable are not implemented.
Comment #1 by sean — 2006-08-09T14:00:54Z
[email protected] 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: [email protected] > ReportedBy: [email protected] > > > 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.
Comment #2 by sean — 2006-08-09T14:10:13Z
Sean Kelly wrote: > > 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; Correction, the above should be: if (disabled > 0) return 0; I forgot this code is in the Gcx struct. Sean
Comment #3 by smjg — 2006-11-02T17:38:09Z
Issue 170 is logged as fixed in DMD 0.165.