Closed
Bug 1013078
Opened 10 years ago
Closed 10 years ago
Remove some dead code left over from the removal of the Leaky tool
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(2 files)
5.52 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
1.50 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
Bug 750290 removed Leaky, but that bug's patch missed some code.
Assignee | ||
Comment 1•10 years ago
|
||
The nsTraceRefcnt.cpp changes are straightforward. As for libmalloc.h -- there are no definitions corresponding to those declarations.
Attachment #8425265 -
Flags: review?(dbaron)
Comment on attachment 8425265 [details] [diff] [review] Remove some dead code left over from the removal of the Leaky tool If you're pruning libmalloc.h, could you also remove malloc_log_stack and the LIBMALLOC_* constants? r=dbaron
Attachment #8425265 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 3•10 years ago
|
||
> If you're pruning libmalloc.h, could you also remove malloc_log_stack and
> the LIBMALLOC_* constants?
Sure. I'll remove SetMallocFlags() too.
Assignee | ||
Comment 4•10 years ago
|
||
I moved the libmalloc.h changes into a separate patch: https://hg.mozilla.org/integration/mozilla-inbound/rev/372ed56353b5 https://hg.mozilla.org/integration/mozilla-inbound/rev/47fbda634a67
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/372ed56353b5 https://hg.mozilla.org/mozilla-central/rev/47fbda634a67
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Comment 6•10 years ago
|
||
You could remove leakyLog* from js/src/devtools/rootAnalysis/annotations.js
Assignee | ||
Comment 7•10 years ago
|
||
Part 1 (which has already landed) removed leakyLogAddRef() and leakyLogRelease(). So the static analysis shouldn't need to worry about them any more. (They were never actually used in practice, because nobody ever set XPCOM_MEM_LEAKY_LOG, though I guess the static analysis couldn't determine that.)
Attachment #8428443 -
Flags: review?(sphink)
Updated•10 years ago
|
Attachment #8428443 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Oh, I forgot about part 3: https://hg.mozilla.org/integration/mozilla-inbound/rev/85309cd801b8
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/85309cd801b8
You need to log in
before you can comment on or make changes to this bug.
Description
•