[Bug 170] New: std.gc.disable() does not work.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 31 02:31:27 PDT 2006


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 at digitalmars.com
        ReportedBy: arathorn at 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];
    }
}


-- 




More information about the Digitalmars-d-bugs mailing list