This is the mail archive of the
mailing list for the GCC project.
Re: [boehms-gc] Fix ggc-boehm cache hash table support
I was curious to know why you didn't simply swap the values of
HTAB_EMPTY_ENTRY and HTAB_DELETED_ENTRY. That would let the existing
"disappearing link" code in the GC do the right thing with htabs.
I simply didn't think of this :) OTOH, I don't like the fact that such
solution would work just by coincidence :) Moreover, you still have to
update hash table deletion statistics somehow.