Closed Bug 1965061 Opened 7 days ago Closed 4 days ago

Pretenure CallObject allocations

Categories

(Core :: JavaScript: GC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Following on from bug 1898270 we can also pretenure call objects and named lambda objects created as part of the environment.

A pointer is added to ICScript to store the alloc site to use. A special PC
offset is used to distinguish this site from those associated with script
bytecode.

With this change the tenuring rate for the testcase in bug 1958441 drops from 50% to 30%.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/709f58f3b5fd Part 1: Add an allocation site for environment objects r=jandem https://hg.mozilla.org/integration/autoland/rev/bce1bcc2a3b1 Part 2: Record the heap to use for environment objects in the MIR r=jandem https://hg.mozilla.org/integration/autoland/rev/60c7e85861e2 Part 3: Use alloc site information to pretenure environment objects r=jandem
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: