Closed Bug 1681690 Opened 5 years ago Closed 5 years ago

Allocate strings in the nursery in a few more places

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

While writing some test I code I found it was not simple to create a nursery allocated string. Looking at the code I found a few places in the where we allocate strings in the tenured heap rather than the nursery.

I don't think any of these places are problematic, unless CreateDependentString
fallback depends on tenured strings for some reason.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b8db18128e1 Allocate strings in the nursery in a few more places r=jandem
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: