Open
Bug 1816631
Opened 3 years ago
Updated 3 years ago
JS::TraceEdge documentation comment is misleading about updating hashtables
Categories
(Core :: JavaScript: GC, defect, P3)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: jonco, Unassigned)
References
(Blocks 1 open bug)
Details
The comment here suggests that hashtables can be effectively updated using TraceEdge and removing/readding elements. That's no longer the best way to do this and doesn't work for nursery allocated keys:
https://searchfox.org/mozilla-central/source/js/public/TracingAPI.h#333-339
| Reporter | ||
Comment 1•3 years ago
|
||
The comment here is a long way out of date too: https://searchfox.org/mozilla-central/source/js/public/GCAPI.h#997-1003
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•