Closed
Bug 1065258
Opened 11 years ago
Closed 11 years ago
Refactor nsMemoryInfoDumper.cpp
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(8 files)
|
5.52 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
10.04 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
2.60 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
3.47 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
7.65 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
5.22 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
3.30 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
2.89 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
I have a stack of small patches.
| Assignee | ||
Comment 1•11 years ago
|
||
I moved the code, nothing else.
Attachment #8487012 -
Flags: review?(jld)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•11 years ago
|
||
"mr" is short for "memory reports", but that's not obvious. Also, some field
members had "mr" prefixes which goes against the usual "mFoo" naming.
Attachment #8487013 -
Flags: review?(jld)
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8487014 -
Flags: review?(jld)
| Assignee | ||
Comment 4•11 years ago
|
||
This is necessary for one of the subsequent patches.
Attachment #8487015 -
Flags: review?(jld)
| Assignee | ||
Comment 5•11 years ago
|
||
This one's a little trickier.
- FinishReportCallback::Callback got its |writer| via |aData|; I changed it to
get it via a class member, which is how TempDirMemoryFinishCallback does it.
- FinishReportingCallback::Callback and TempDirMemoryFinishCallback::Callback
have some overlap. So I made the latter call the former, which then calls on
to do the rest of the TempDir finish-up stuff.
Attachment #8487018 -
Flags: review?(jld)
| Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8487019 -
Flags: review?(jld)
| Assignee | ||
Comment 7•11 years ago
|
||
This is just for aesthetics -- it makes sense to be next to DumpMemoryInfoToTempDir().
Attachment #8487020 -
Flags: review?(jld)
| Assignee | ||
Comment 8•11 years ago
|
||
Because the "Memory" part isn't helpful.
Attachment #8487022 -
Flags: review?(jld)
Updated•11 years ago
|
Attachment #8487012 -
Flags: review?(jld) → review+
Comment 9•11 years ago
|
||
Comment on attachment 8487013 [details] [diff] [review]
(part 2) - Rename some variables
Review of attachment 8487013 [details] [diff] [review]:
-----------------------------------------------------------------
Nice. I remember thinking the mrFoo variables were a little confusing when I first saw them.
Attachment #8487013 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487014 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487015 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487018 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487019 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487020 -
Flags: review?(jld) → review+
Updated•11 years ago
|
Attachment #8487022 -
Flags: review?(jld) → review+
| Assignee | ||
Comment 10•11 years ago
|
||
Try looks good: https://tbpl.mozilla.org/?tree=Try&rev=7f612080cd6d
| Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/40e1a85a139e
https://hg.mozilla.org/integration/mozilla-inbound/rev/2019276e57d6
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd2f3e9c3106
https://hg.mozilla.org/integration/mozilla-inbound/rev/d5e7447df864
https://hg.mozilla.org/integration/mozilla-inbound/rev/f43ce1b77bee
https://hg.mozilla.org/integration/mozilla-inbound/rev/68ea49d31316
https://hg.mozilla.org/integration/mozilla-inbound/rev/468af76c47a7
https://hg.mozilla.org/integration/mozilla-inbound/rev/ef537d9428fd
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/40e1a85a139e
https://hg.mozilla.org/mozilla-central/rev/2019276e57d6
https://hg.mozilla.org/mozilla-central/rev/dd2f3e9c3106
https://hg.mozilla.org/mozilla-central/rev/d5e7447df864
https://hg.mozilla.org/mozilla-central/rev/f43ce1b77bee
https://hg.mozilla.org/mozilla-central/rev/68ea49d31316
https://hg.mozilla.org/mozilla-central/rev/468af76c47a7
https://hg.mozilla.org/mozilla-central/rev/ef537d9428fd
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•