Closed Bug 713773 Opened 8 years ago Closed 8 years ago

Ensure GC Statistics totals are initialized

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: billm, Assigned: billm)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
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)
Attachment #584501 - Flags: review?(igor) → review+
https://hg.mozilla.org/mozilla-central/rev/35674d1a5efb
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.