Closed Bug 363557 Opened 18 years ago Closed 18 years ago

Optimize dynamic slot allocation

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: igor, Assigned: igor)

References

Details

The changes from bug 331966 slits object's slots into fixed array allocated together with the object and a dynamic vector that grows as necessary. The growth is done by factor 1.5 as was before the introduction of fat objects. But that is suboptimal especially in the view of malloc implementations that use power-of-2 buckets for small objects. Thus the idea is to ensure during slot growth that the dynamic slots capacity is power-of-2.
Is this fixed by the long-ago landing of bug 363603?
Fixed by bug 363603.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 363603
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.