Closed
Bug 797904
Opened 12 years ago
Closed 12 years ago
Include the app name in the memory reports dump
Categories
(Toolkit :: about:memory, defect)
Toolkit
about:memory
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file, 1 obsolete file)
6.33 KB,
patch
|
n.nethercote
:
review+
cjones
:
review+
|
Details | Diff | Splinter Review |
Patch in a moment.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #668023 -
Flags: review?(n.nethercote)
Attachment #668023 -
Flags: review?(jones.chris.g)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → justin.lebar+bug
Assignee | ||
Comment 2•12 years ago
|
||
Before you ask:
> + mozilla::ipc::SetThisProcessName(NS_LossyConvertUTF16toASCII(aName).get());
I fully-qualified the function name here not because it needs to be disambiguated for the compiler (it's ContentChild::SetProcessName versus mozilla::ipc::SetThisProcessName) but because I wanted to disambiguate for humans.
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 668023 [details] [diff] [review] Patch, v1 Actually, slight improvement coming to the nsMemoryReporterManager bits.
Attachment #668023 -
Flags: review?(n.nethercote)
Assignee | ||
Comment 4•12 years ago
|
||
This explicitly calls out the main process, which v1 didn't do. No changes compared to v1 to anything other than nsMemoryReporterManager.cpp.
Attachment #668023 -
Attachment is obsolete: true
Attachment #668023 -
Flags: review?(jones.chris.g)
Attachment #668062 -
Flags: review?(n.nethercote)
Attachment #668062 -
Flags: review?(jones.chris.g)
Updated•12 years ago
|
Attachment #668062 -
Flags: review?(jones.chris.g) → review+
Comment 5•12 years ago
|
||
Comment on attachment 668062 [details] [diff] [review] Patch, v2 Review of attachment 668062 [details] [diff] [review]: ----------------------------------------------------------------- Seems reasonable, but I'm having trouble imagining how this affects the output. It looks like on desktop nothing will change, is that right? What difference does it make on B2G?
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #5) > Seems reasonable, but I'm having trouble imagining how this affects the > output. It looks like on desktop nothing will change, is that right? Right. > What difference does it make on B2G? Instead of "Process ($PID)", we now say "Home Screen ($PID)" or "Calculator ($PID)". This matches the output in b2g-procrank, which is a tool we have which annotates the output of procrank to show the app name.
Updated•12 years ago
|
Attachment #668062 -
Flags: review?(n.nethercote) → review+
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6c86cf8e2478
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•