www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 170] New: std.gc.disable() does not work.

http://d.puremagic.com/bugzilla/show_bug.cgi?id=170

           Summary: std.gc.disable() does not work.
           Product: D
           Version: 0.159
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: arathorn fastwebnet.it


It seems that the collector is still alive after the 'disable'.

int main(char[][] argv) {
    std.gc.disable();
    for (int i=0; i < 1000000; i++) {
        byte[] a = new byte[10000000];
    }
}


-- 
May 31 2006