Closed Bug 1782095 Opened 2 years ago Closed 2 years ago

Try to remove JSContext::freeLists_

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: jandem, Assigned: jandem)

Details

Attachments

(4 files)

I think post-Stencil we no longer need this to be on the context. This would make setZone a bit faster and simpler.

We needed this to support off-thread atom allocation, but we no longer do that
since Stencil.

Depends on D153143

It's now simpler to use the counter on the zone directly. It also no longer needs
to be an atomic because we only get/set it on the main thread.

Depends on D153144

Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b8f750002da part 1 - Remove unused isAtomsZone argument from JSContext::setZone. r=jonco https://hg.mozilla.org/integration/autoland/rev/92697fcf9823 part 2 - Remove JSContext::freeLists_. r=jonco https://hg.mozilla.org/integration/autoland/rev/438076b73ef8 part 3 - Remove JSContext::tenuredAllocsSinceMinorGC_. r=jonco https://hg.mozilla.org/integration/autoland/rev/ad0a95af8bf7 part 4 - Remove freeLists argument from refillFreeListAndAllocate. r=jonco
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: