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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
9 years ago
5 years ago

People

(Reporter: Robert Sayre, Assigned: gwagner)

Tracking

(Blocks: 1 bug)

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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

Updated

9 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

8 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.

Comment 2

5 years ago
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.