Closed Bug 1751959 Opened 3 years ago Closed 3 years ago

Switch back to using a single mark stack

Categories

(Core :: JavaScript: GC, task, P3)

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(2 files)

We changed to use separate mark stack for black and gray marking work in bug 1580888. However this is no longer required due to changes to weakmap marking in bug 1717553. Moving back to a single stack is a simplification that could also decrease memory use.

This patch caused assertion failures in weak map marking, investigating.

Attachment #9260665 - Attachment description: Bug 1751959 - Remove the auxillary mark stack and use a single stack for both black and gray marking r?sfink → Bug 1751959 - Part 2: Remove the auxillary mark stack and use a single stack for both black and gray marking r?sfink
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fde18b7f9e55 Part 1: Make weak map marking do gray marking after black r=sfink https://hg.mozilla.org/integration/autoland/rev/26438f963a5f Part 2: Remove the auxillary mark stack and use a single stack for both black and gray marking r=sfink
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

== Change summary for alert #33187 (as of Fri, 04 Feb 2022 23:43:34 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
2% Base Content JS linux1804-64-shippable-qr 1,818,020.67 -> 1,785,304.00
2% Base Content JS linux1804-64-shippable-qr 1,817,990.33 -> 1,785,208.00
2% Base Content JS windows10-64-2004-shippable-qr 1,819,320.00 -> 1,786,648.00
2% Base Content JS macosx1015-64-shippable-qr 1,846,616.00 -> 1,813,912.00

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=33187

Regressions: 1762771
Depends on: 1717553
Regressions: 1766648
Regressions: 1791363
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: