Closed Bug 1606851 Opened 5 years ago Closed 5 years ago

Refactor arena layout lookup tables a little

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(2 files)

In preparation for bug 1424934, here are a couple of small refactorings to the arena layout lookup tables.

Assignee: nobody → jcoppeard
Priority: -- → P1

These tables are current all using uint32_t but none of the values require more than a byte to store. Hopefullyt this might improve cache utilisation.

This moves the calcuation of the table data to constexpr methods which is easier to read and understand.

Depends on D58625

Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96d386ccccb6 Shrink arena layout lookup tables r=sfink https://hg.mozilla.org/integration/autoland/rev/c61a30feaaa2 Refactor arena layout lookup table calcuations r=sfink
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: