keep-alive: Update hash keys when objects move
The garbage collector can change the locations of objects. Since we use the object pointer as part of the hash function for the keep-alive hash table, an object moving would invalidate the hash table key. Therefore, we remove and reinsert each key if tracing changed the pointer's location. https://bugzilla.gnome.org/show_bug.cgi?id=776966
parent
bb16545b
Please register or sign in to comment