Closed Bug 1924166 Opened 4 months ago Closed 2 months ago

Refactor AllocSite::initialHeap to get straight from state to heap

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: mgaudet, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This patch, which should land soon, adjusts the definition of AllocSite::intitialHeap

It would be nice if we could "always get the initial heap from the state whatever the kind here,"

Blocks: GC
Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → jcoppeard

This lets us simplify the initialHeap() method to a single AND operation.

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f81538725c6 Rearrange AllocSite::State to allow conversion to gc::Heap by extracting the bottom bit r=jandem
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: