Closed
Bug 1040592
Opened 11 years ago
Closed 11 years ago
Memory leakage related to deadlock detector
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1027921
People
(Reporter: swu, Unassigned)
Details
(Whiteboard: [MemShrink])
Attachments
(2 files)
|
2.71 MB,
application/zip
|
Details | |
|
4.23 KB,
patch
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1039914 +++
When doing the interations of array buffer transfer in mochitest of bug 1037358, the "heap-unclassified" in about:memory keeps increasing, it indicates a potential memory leakage.
In the DMD log, there are many unreported heap records related to mozilla::dom::workers::WorkerPrivate::CreateNewSyncLoop().
Can you attach the DMD log?
| Reporter | ||
Comment 2•11 years ago
|
||
Attached is the DMD report.
| Reporter | ||
Comment 3•11 years ago
|
||
Attached is the test to reproduce.
So this memory is being used in the deadlock detector. You can see some other things consuming far more than workers, like the cache. Every time we create a Mutex we put an entry in some hashtable. It's not clear to me that we ever remove those ...
Component: DOM: Workers → XPCOM
| Reporter | ||
Updated•11 years ago
|
Summary: Memory leakage related to mozilla::dom::workers::WorkerPrivate::CreateNewSyncLoop() → Memory leakage related to deadlock detector
Comment 5•11 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #4)
> So this memory is being used in the deadlock detector. You can see some
> other things consuming far more than workers, like the cache. Every time we
> create a Mutex we put an entry in some hashtable. It's not clear to me that
> we ever remove those ...
Eric had (re)discovered this and was grousing about it at some point...
Comment 6•11 years ago
|
||
See bug 1027921.
| Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 8•11 years ago
|
||
(In reply to Eric Rahm [:erahm] from comment #6)
> See bug 1027921.
Thanks for this info.
You need to log in
before you can comment on or make changes to this bug.
Description
•