Closed Bug 1765338 Opened 3 years ago Closed 3 years ago

Allow transplanting nursery objects

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(2 files)

Currently we only allow tenured objects to be transplanted with JSObject::swap. Allowing this would enable allocating more DOM wrappers in the nursery and this may may help react based workloads which currently see high nursery promotion rates.

Blocks: 1352532
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3ab34a61f679 Allow transplanting of nursery objects r=jandem https://hg.mozilla.org/integration/autoland/rev/ace593c684db Don't force the result of JS_CloneObject to be tenured r=jandem
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Regressions: 1766656
Regressions: CVE-2023-37202
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: