Closed Bug 1587678 Opened 6 years ago Closed 6 years ago

[BinAST] Use simpler container than Vector when fixed-size

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(3 files)

most Vector used in context reader is fixed-size (on runtime, not compile-time).
Vector would be overkill and we can use simpler one, so that it takes less space.

Allocator in bug 1587271 can be used, or maybe we can just use LifoAlloc.

Depends on: 1587663

Depends on D49562

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/075094902160 Part 1: Add FixedLengthVector. r=Yoric https://hg.mozilla.org/integration/autoland/rev/16e2bc05dda0 Part 2: Use FixedLengthVector when the size is known at the allocation. r=Yoric https://hg.mozilla.org/integration/autoland/rev/00eab2270961 Part 3: Remove unnecessary JSContext* parameter. r=Yoric
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/8b017b6a20f4 Part 1: Add FixedLengthVector. r=Yoric https://hg.mozilla.org/integration/autoland/rev/9d6fc4af400d Part 2: Use FixedLengthVector when the size is known at the allocation. r=Yoric https://hg.mozilla.org/integration/autoland/rev/141755ff04e1 Part 3: Remove unnecessary JSContext* parameter. r=Yoric
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Flags: needinfo?(arai.unmht)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: