GC is very slow in the presence of weak hashtables
Bug #1241771 reported by
Ilya Perminov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
Weak hashtables severely affect GC performance.
In my test, GC time goes from 100ms to 20s, after creating a
reasonably large hashtable.
Tested using SBCL 1.1.12, Linux x86_64.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pretty much all the support for weak references in SBCL has mediocre to bad asymptotics. Bruno Haible's write-up (http:// www.haible. de/bruno/ papers/ cs/weak/ WeakDatastructu res-writeup. html) describes interesting and practical improvements. Sadly, no one has had the time and energy to code them up yet.