Mercurial > projects > ldc
comparison tests/testincludes/std/gc.d @ 333:f7190d9eb70c trunk
[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors.
Fix tests makefile and add minimize to gc.d.
author | ChristianK |
---|---|
date | Sat, 12 Jul 2008 09:23:14 +0200 |
parents | d7e42b5d8ccd |
children |
comparison
equal
deleted
inserted
replaced
332:d7e6ace5cca4 | 333:f7190d9eb70c |
---|---|
192 //void genCollectNoStack(); | 192 //void genCollectNoStack(); |
193 | 193 |
194 /** | 194 /** |
195 * Minimizes physical memory usage | 195 * Minimizes physical memory usage |
196 */ | 196 */ |
197 //void minimize(); | 197 void minimize() |
198 { | |
199 GC.collect(); | |
200 } | |
198 | 201 |
199 /*************************************** | 202 /*************************************** |
200 * disable() temporarily disables garbage collection cycle, enable() | 203 * disable() temporarily disables garbage collection cycle, enable() |
201 * then reenables them. | 204 * then reenables them. |
202 * | 205 * |