Closed Bug 1716531 Opened 3 years ago Closed 3 years ago

Don't pay attention to low volume allocation sites

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

Currently we process allocation sites that have 100 allocations in the nursery. This threshold is there to ensure there is enough data to reliably infer the lifetime of these allocations.

However this is still a low threshold at which to pretenure a site. In practice we may end up pretenuring many low volume allocation sites which could result in more garbage surviving nursery collections and increasing major GC frequency.

The main use case for allocation sites is to ensure high volume allocation sites that are long lived don't get allocated in the nursery. We can increase this threshold substantially without affecting that, and this should lead to less garbage being kept alive.

Blocks: 1714936
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/10a8666b8eae
Increase the allocation threshold at which we pay attention to allocation sites r=jandem
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
Regressions: 1718284
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: