diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-13 10:38:21 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-13 10:38:21 +0800 |
commit | 283cc828e86a7177edbacfe3860ca7765661f811 (patch) | |
tree | f5485a7bb393f48a42d4e80af5d261744d916c60 /gc.cpp | |
parent | d6765d8d42bd543b414d6ae54392247dd26da649 (diff) |
add test for circular refgc_sweep
Diffstat (limited to 'gc.cpp')
-rw-r--r-- | gc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,8 @@ void GarbageCollector::force() { { #ifdef GC_DEBUG fprintf(stderr, "GC: !!! destroying space 0x%llx. \n", (ull)*l); +#endif +#ifdef GC_INFO cnt++; #endif delete *l; |