[Gc] GC_mem_found gets minus?

Jiwon Seo jiwon at stanford.edu
Tue Oct 23 22:56:44 PDT 2007


I'm using boehm gc for my research. With my experiment, I found out
recently that GC_mem_found sometimes becomes minus. I've looked at it
a while, and think it might be an actual bug.

in alloc.c: GC_finish_collection(), there a part that clears free list
mark bits, where GC_mem_found is subtracted as well. However, since
GC_start_reclaim is called only after that part, I think GC_mem_found
should not be subtracted while clearing free list mark bits.
Am I right about this?


More information about the Gc mailing list