Brian Hackett wrote:
I'm pretty confused by the hashtable talk. We can already rekey > hashtables in which GC thing pointers are used as keys, and the GC > will already be traversing these tables in order to do its job. So > isn't this just an issue of auditing our hashtables and making sure > they are rekeyed appropriately?
This is good if the GC knows all the hashtables, you're right. If there's some C++ hashtable that holds rooted keys, then the rooting must pin the objects.
The identity option also comes up when exposed in the language. We've talked about extending the ES6 Map and Set stuff to allow objects to customize hash and egal relations. If we do that, we'll need the identity option or something better.
/be _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals