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
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.