Closed Bug 1832850 Opened 2 years ago Closed 2 years ago

Tidy up nursery header in preparation for inlining nursery allocation

Categories

(Core :: JavaScript: GC, task, P1)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

(Whiteboard: [sp3])

Attachments

(5 files)

This bug is for a series of patches to tidy up gc/Nursery.h in preparation for inlining more of nursery allocation.

This is never used anywhere else as so don't need to be in the header.

This moves the set and its associated hasher class into TenuringTracer. This is
a good place given the lifetime of the set.

The also moves TenuringTracer to the js::gc namespace.

Depends on D177927

To my knowledge this has never caught any bugs so let's remove it in the name
of simplicity.

Depends on D177929

In line with allocateString and allocateBigInt, this definition can easily be
moved to the header.

Depends on D177930

Whiteboard: [sp3]
Attachment #9333376 - Attachment description: Bug 1832850 - Part 1: Move NurseryDecommitTask definition to gc/Nursery.cpp r?sfink → Bug 1832850 - Part 1: Move NurseryDecommitTask definition to gc/Nursery.cpp r?jandem
Attachment #9333378 - Attachment description: Bug 1832850 - Part 2: Move nursery string deduplication set to TenuringTracer r?sfink → Bug 1832850 - Part 2: Move nursery string deduplication set to TenuringTracer r?jandem
Attachment #9333379 - Attachment description: Bug 1832850 - Part 3: Remove an unnecessary include and some unnecessary forward declarations from gc/Nursery.h r?sfink → Bug 1832850 - Part 3: Remove an unnecessary include and some unnecessary forward declarations from gc/Nursery.h r?jandem
Attachment #9333380 - Attachment description: Bug 1832850 - Part 4: Remove the option to write canaries between nursery allocations r?sfink → Bug 1832850 - Part 4: Remove the option to write canaries between nursery allocations r?jandem
Attachment #9333381 - Attachment description: Bug 1832850 - Part 5: Move the allocateObject definition into gc/Nursery.h r?sfink → Bug 1832850 - Part 5: Move the allocateObject definition into gc/Nursery.h r?jandem
Severity: -- → N/A
Priority: -- → P1
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2a3e8db962f6 Part 1: Move NurseryDecommitTask definition to gc/Nursery.cpp r=jandem https://hg.mozilla.org/integration/autoland/rev/6a902c32f8aa Part 2: Move nursery string deduplication set to TenuringTracer r=jandem https://hg.mozilla.org/integration/autoland/rev/9017faa7167b Part 3: Remove an unnecessary include and some unnecessary forward declarations from gc/Nursery.h r=jandem https://hg.mozilla.org/integration/autoland/rev/17d8991c1621 Part 4: Remove the option to write canaries between nursery allocations r=jandem https://hg.mozilla.org/integration/autoland/rev/3e0a5d26dc60 Part 5: Move the allocateObject definition into gc/Nursery.h r=jandem https://hg.mozilla.org/integration/autoland/rev/dcf5abb28a14 apply code formatting via Lando
Backout by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e3d8a8edf9b0 Backed out 6 changesets for causing SM bustages. CLOSED TREE
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cbfec9cb12fd Part 1: Move NurseryDecommitTask definition to gc/Nursery.cpp r=jandem https://hg.mozilla.org/integration/autoland/rev/ac0b7cb87ee5 Part 2: Move nursery string deduplication set to TenuringTracer r=jandem https://hg.mozilla.org/integration/autoland/rev/d5d8026c16f2 Part 3: Remove an unnecessary include and some unnecessary forward declarations from gc/Nursery.h r=jandem https://hg.mozilla.org/integration/autoland/rev/ea024fc5269d Part 4: Remove the option to write canaries between nursery allocations r=jandem https://hg.mozilla.org/integration/autoland/rev/bcedbd32e29f Part 5: Move the allocateObject definition into gc/Nursery.h r=jandem
Flags: needinfo?(jcoppeard)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: