Open
Bug 1422280
Opened 7 years ago
Updated 9 months ago
PersistentRoot<Maybe<T>> not cleared on shutdown
Categories
(Core :: JavaScript: GC, enhancement, P3)
Core
JavaScript: GC
Tracking
()
NEW
People
(Reporter: jonco, Unassigned)
References
(Blocks 1 open bug)
Details
JSRuntime::finishPersistentRoots() clears the contents of persistent roots on shutdown. But it doesn't clear PersistentRoot<Maybe<T>> roots. There's no equivalent of the line in JSRuntime::tracePersistentRoots() that handles ConcreteTraceable roots.
Reporter | ||
Comment 1•7 years ago
|
||
This is problematic because we don't know the type of the rooted thing at shutdown. We only have a trace function for it. It might be possible to use ClearEdgesTracer here, but we'd have to fix bug 1422513 first.
Updated•2 years ago
|
Severity: normal → S3
Updated•9 months ago
|
Blocks: GC.easeofuse
You need to log in
before you can comment on or make changes to this bug.
Description
•