Closed Bug 1830851 Opened 2 years ago Closed 2 years ago

Avoid unnecessary post barrier code for atoms

Categories

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

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

I noticed this in the profile for bug 1830831. We can get rid of some code at compile time because we know atoms are always tenured.

Whiteboard: [sp3]

Atoms are always tenured so treat them similar to TenuredCell types.
This should get rid of some post barrier code when atomizing strings.

Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/820462833443 Optimize post barrier code for JSAtom. r=jonco
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Regressions: 1831306
No longer regressions: 1831306
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: