www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 280] New: Doc of GC

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: benoit tionex.de


After telling this every week at minimum one person... Please say it in the
doc:

The GC enable/disable are not implemented.


-- 
Aug 09 2006
next sibling parent reply Sean Kelly <sean f4.ca> writes:
d-bugmail 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 digitalmars.com
         ReportedBy: benoit 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.
Aug 09 2006
parent Sean Kelly <sean f4.ca> writes:
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
Aug 09 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=280


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





Issue 170 is logged as fixed in DMD 0.165.


-- 
Nov 02 2006