Closed
Bug 1626907
Opened 5 years ago
Closed 5 years ago
InitFromBailout uses a heap GCVector for small vector startFrameFormals
Categories
(Core :: JavaScript Engine: JIT, enhancement, P1)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla77
People
(Reporter: decoder, Assigned: decoder)
Details
Attachments
(1 file)
In js/src/jit/BaselineBailouts.cpp
the InitFromBailout
receives a MutableHandle<GCVector<Value>> startFrameFormals
which forces a heap allocation as soon as this vector is used. According to my measurements on tests and in fuzzing, in almost all cases where this vector is actually populated, it remains small (up to 4 elements mostly), so using a StackGCVector
is probably more effective here.
Updated•5 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by choller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e85c1126616d
Use a StackGCVector for startFrameFormals in baseline bailout. r=jandem
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•