diff --git a/moo/lib/exec.c b/moo/lib/exec.c index e6f482a..1a4e91d 100644 --- a/moo/lib/exec.c +++ b/moo/lib/exec.c @@ -6427,6 +6427,9 @@ int moo_invoke (moo_t* moo, const moo_oocs_t* objname, const moo_oocs_t* mthname MOO_LOG1 (moo, MOO_LOG_IC | MOO_LOG_INFO, "Total message sends: %zu\n", moo->stat.message_sends); MOO_LOG2 (moo, MOO_LOG_IC | MOO_LOG_INFO, "Method cache - hits: %zu, misses: %zu\n", moo->stat.method_cache_hits, moo->stat.method_cache_misses); MOO_LOG1 (moo, MOO_LOG_IC | MOO_LOG_INFO, "Total instructions: %zu\n", moo->stat.inst_counter); +#if defined(MOO_ENABLE_GC_MARK_SWEEP) + MOO_LOG2 (moo, MOO_LOG_IC | MOO_LOG_INFO, "GC - gci.bsz: %zu, gci.stack.max: %zu\n", moo->gci.bsz, moo->gci.stack.max); +#endif #endif return n; diff --git a/moo/lib/moo.h b/moo/lib/moo.h index 3939223..1cf9061 100644 --- a/moo/lib/moo.h +++ b/moo/lib/moo.h @@ -305,7 +305,7 @@ typedef enum moo_gcfin_t moo_gcfin_t; #define MOO_OBJ_FLAGS_EXTRA_BITS 1 #define MOO_OBJ_FLAGS_KERNEL_BITS 2 #define MOO_OBJ_FLAGS_PERM_BITS 1 -#define MOO_OBJ_FLAGS_MOVED_BITS 1 +#define MOO_OBJ_FLAGS_MOVED_BITS 2 #define MOO_OBJ_FLAGS_PROC_BITS 2 #define MOO_OBJ_FLAGS_RDONLY_BITS 1 #define MOO_OBJ_FLAGS_GCFIN_BITS 4