Closed Bug 508357 Opened 15 years ago Closed 11 years ago

Make 32-byte and 64-byte JSObjects to cover most cases except large objects without any dslots

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sayrer, Assigned: gwagner)

References

Details

Gregor's work in bug 502736 shows this might be a win
Summary: making 32-byte and 64-byte JSObjects to cover most cases except large objects without any dslots → Make 32-byte and 64-byte JSObjects to cover most cases except large objects without any dslots
Assignee: general → anygregor
Gal mentioned over the phone that we might win by making some objects as small as 16 bytes, if we can remove the parent slot.

Function, Call, Block, With, and DeclEnv objects need a scope link. But here we're talking about plain Objects and maybe Arrays.

Currently we need the parent slot in every object for security checks. But if we can make compartment == gcheap/chunk == principals, at least for plain Objects and Arrays, then we can drop the parent slot.
This work has since been subsumed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.