Closed
Bug 1045241
Opened 10 years ago
Closed 10 years ago
Make memory reporting for LocationService more normal
Categories
(Core :: DMD, defect)
Core
DMD
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(1 file, 1 obsolete file)
2.92 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
For some reason, the SizeOf methods of LocationService don't take MallocSizeOf arguments, but just directly call into a fixed MallocSizeOf function. This prevents it from being used in other places.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8464082 -
Flags: review?(n.nethercote)
Assignee | ||
Comment 2•10 years ago
|
||
I also tried to convert it the style of the method itself to something matching more what you see elsewhere, so any nits with regards to that are welcome.
Assignee | ||
Updated•10 years ago
|
Attachment #8464082 -
Flags: review?(n.nethercote)
Assignee | ||
Comment 3•10 years ago
|
||
Somehow I managed to mess up the indentation.
Attachment #8464082 -
Attachment is obsolete: true
Attachment #8464142 -
Flags: review?(n.nethercote)
Assignee | ||
Comment 4•10 years ago
|
||
try run: https://tbpl.mozilla.org/?tree=Try&rev=4ccdf4dd033a
Comment 5•10 years ago
|
||
Comment on attachment 8464142 [details] [diff] [review] Make memory reporting for LocationService more normal. Review of attachment 8464142 [details] [diff] [review]: ----------------------------------------------------------------- ::: memory/replace/dmd/DMD.cpp @@ +652,1 @@ > // Don't measure mLibrary because it's externally owned. Probably move this comment to above the declaration of |n|.
Attachment #8464142 -
Flags: review?(n.nethercote) → review+
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #5) > Probably move this comment to above the declaration of |n|. Done. https://hg.mozilla.org/integration/mozilla-inbound/rev/11f68c58e5db
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11f68c58e5db
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/11f68c58e5db
You need to log in
before you can comment on or make changes to this bug.
Description
•