The default bug view has changed. See this FAQ.

Ensure GC Statistics totals are initialized

RESOLVED FIXED in mozilla12

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: billm, Assigned: billm)

Tracking

unspecified
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 584501 [details] [diff] [review]
fix

Julian found this bug while running valgrind. The counts, totals, and startupTime fields are not getting initialized if MOZ_GCTIMER is unset. This didn't used to be a problem. But now we use the same facility for sending GC info to the error log. It uses the counts data, but not totals or startupTime. I just moved the initialization up.
Attachment #584501 - Flags: review?(igor)

Updated

5 years ago
Attachment #584501 - Flags: review?(igor) → review+
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/35674d1a5efb
Target Milestone: --- → mozilla12
https://hg.mozilla.org/mozilla-central/rev/35674d1a5efb
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.