Closed
Bug 619096
Opened 15 years ago
Closed 15 years ago
nsMemoryReporterManager should be threadsafe
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: dougt)
References
Details
Attachments
(1 file)
2.64 KB,
patch
|
vlad
:
review+
mfinkle
:
approval2.0+
|
Details | Diff | Splinter Review |
In bug 615978, I really wanted to report sqlite memory usage. I was adding reporters on a non-main thread. Doing it any other way is a harder. Ideally, any thread could add, remove, and enumerate the reporters.
This patch basically locks the array and protects mRefCount.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #497523 -
Flags: review?(vladimir)
Comment on attachment 497523 [details] [diff] [review]
patch v.1
looks good!
Attachment #497523 -
Flags: review?(vladimir) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #497523 -
Flags: approval2.0?
Updated•15 years ago
|
Attachment #497523 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•