Bug 170 – std.gc.disable() does not work.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-05-31T04:31:00Z
Last change time
2014-02-15T13:19:59Z
Assigned to
bugzilla
Creator
arathorn

Comments

Comment #0 by arathorn — 2006-05-31T04:31:25Z
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]; } }
Comment #1 by matti.niemenmaa+dbugzilla — 2006-08-25T07:38:11Z
Fixed in DMD 0.165.