Closed Bug 817341 Opened 12 years ago Closed 12 years ago

Differentiate marking and sweep-marking in GC stats

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: billm, Assigned: billm)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
In order for the GC statistics to be useful, there has to be a strict hierarchy of phases. Right now, we have a problem where PHASE_MARK_DELAYED can happen both during marking and during sweeping. This patch fixes that.

I also realized that we weren't timing finalization of Ion code, so it fixes that too.
Attachment #687456 - Flags: review?(jcoppeard)
Attached patch patch v2Splinter Review
I added some extra assertions that ensure that phases are always properly nested. This found one or two problems in the previous version. Here's the updated patch.
Attachment #687456 - Attachment is obsolete: true
Attachment #687456 - Flags: review?(jcoppeard)
Attachment #687560 - Flags: review?(jcoppeard)
Comment on attachment 687560 [details] [diff] [review]
patch v2

Review of attachment 687560 [details] [diff] [review]:
-----------------------------------------------------------------

Yes, looks good.
Attachment #687560 - Flags: review?(jcoppeard) → review+
https://hg.mozilla.org/mozilla-central/rev/14893aa56835
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
FYI, I accidentally checked in a patch for bug 817431 with 817341 in the summary
Depends on: 939476
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: