Closed Bug 398895 Opened 18 years ago Closed 18 years ago

about:bloat should only be built if trace-refcnt logging is built

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: xfsunoles, Assigned: xfsunoles)

Details

(Keywords: memory-footprint)

Attachments

(2 files, 3 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007100605 Minefield/3.0a9pre Build Identifier: Aboutbloat.cpp should be compiles if trace-refcnt logging is ON. I has a patch ready for it. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached patch patch v1 (obsolete) — Splinter Review
Assignee: nobody → xfsunoles
Status: NEW → ASSIGNED
Attached patch Patch v1.1 (obsolete) — Splinter Review
Attachment #283887 - Attachment is obsolete: true
about:bloat doesn't do anything in builds without trace-refcnt enabled, so if it's adding to release build footprint, I think we should fix that.
Keywords: footprint
Attachment #283888 - Flags: superreview?(cbiesinger)
Attachment #283888 - Flags: review?(cbiesinger)
The concept sounds good, except you also need to ifdef nsNetModule.cpp.
Attached patch Patch v2.0 (obsolete) — Splinter Review
Attachment #283888 - Attachment is obsolete: true
Attachment #283888 - Flags: superreview?(cbiesinger)
Attachment #283888 - Flags: review?(cbiesinger)
Attachment #283943 - Flags: superreview?(cbiesinger)
Attachment #283943 - Flags: review?(cbiesinger)
OS: Windows XP → All
Hardware: PC → All
Attached patch Patch v2.1Splinter Review
Attachment #283943 - Attachment is obsolete: true
Attachment #284095 - Flags: superreview?(bzbarsky)
Attachment #284095 - Flags: review?(bzbarsky)
Attachment #283943 - Flags: superreview?(cbiesinger)
Attachment #283943 - Flags: review?(cbiesinger)
Summary: Aboutbloat should be under trace-refcnt logging → about:bloat should be under trace-refcnt logging
Attachment #284095 - Flags: superreview?(bzbarsky)
Attachment #284095 - Flags: superreview+
Attachment #284095 - Flags: review?(bzbarsky)
Attachment #284095 - Flags: review+
Attachment #284095 - Flags: approval1.9?
Summary: about:bloat should be under trace-refcnt logging → about:bloat should only be built if trace-refcnt logging is built
Attachment #284095 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in netwerk/build/nsNetModule.cpp; /cvsroot/mozilla/netwerk/build/nsNetModule.cpp,v <-- nsNetModule.cpp new revision: 1.144; previous revision: 1.143 done Checking in netwerk/protocol/about/src/Makefile.in; /cvsroot/mozilla/netwerk/protocol/about/src/Makefile.in,v <-- Makefile.in new revision: 1.35; previous revision: 1.34 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M9
Attached patch bustage fixSplinter Review
Had to check-in a bustage fix for this. This seems to work, but I wasn't completely sure on where I should place the checks and such.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: