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

RESOLVED FIXED

Status

()

RESOLVED FIXED
10 years ago
6 years ago

People

(Reporter: sayrer, Assigned: gwagner)

Tracking

(Blocks: 1 bug)

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
Gregor's work in bug 502736 shows this might be a win
(Reporter)

Updated

10 years ago
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

Updated

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