Open
Bug 1636170
Opened 6 years ago
Updated 3 years ago
Clear white WeakMaps during Unlink
Categories
(Core :: Cycle Collector, task)
Core
Cycle Collector
Tracking
()
NEW
People
(Reporter: mccr8, Unassigned)
Details
In bug 1636015 comment 3, emk was saying that he'd had problems with weak maps that are going away and people using ChromeUtils.nondeterministicGetWeakMapKeys() to access the values in them. I assume to try to use weak maps more like normal weak references.
The CC is already tracking weak maps, so we could add an unlinking pass for weak maps that we think are going away.
Comment 1•6 years ago
|
||
Sounds reasonable and I wonder if this would help with bug 1634182
| Reporter | ||
Updated•3 years ago
|
Component: XPCOM → Cycle Collector
You need to log in
before you can comment on or make changes to this bug.
Description
•