From 4b7707e89849bc4daae8768d75e69264e8a27768 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 11 Aug 2016 17:57:40 -0400 Subject: [PATCH] Cleanup --- gc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gc.c b/gc.c index 8ba2514e..6eab1c36 100644 --- a/gc.c +++ b/gc.c @@ -1452,7 +1452,6 @@ void *collector_main(void *arg) { int stage; struct timespec tim; - #ifdef DEBUG_THREADS pthread_t tid = pthread_self(); int sid = syscall(SYS_gettid); @@ -1460,9 +1459,6 @@ void *collector_main(void *arg) //printf("GC thread POSIX thread id is %d\n", tid); #endif tim.tv_sec = 0; -//JAE TODO: this is still not good enough, seems memory grows still grows fast with this. -//alternatively, may want to consider shrinking the heap if possible after a collection, if it is -//sparse enough (would be difficult to do without relocations, though tim.tv_nsec = 100 * NANOSECONDS_PER_MILLISECOND; while (1) { stage = ck_pr_load_int(&gc_stage);