Pip Cet wrote: > I'm currently playing around with redefining hash tables not to have > internal freelists. That makes the hash table code a lot simpler > overall, but some of that simplicity would be lost trying to support > lazy hash table rehashing. While looking into this I discovered unlikely bugs in Emacs's hash table code and GC that can make Emacs dump core, along with some other unlikely hash-table bugs that can cause Emacs to report memory exhaustion when there should be plenty of memory. I installed the attached patches to fix these problems and to refactor to make this code easier to understand (at least for me :-). These patches will probably affect performance analysis.