Closed Bug 622706 Opened 14 years ago Closed 13 years ago

Shrink JSObject size

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 637931

People

(Reporter: evilpie, Unassigned)

Details

Just for reference.
Type inference (bug 557407 or a dependency) already aims to do this by fusing proto, emptyShape and (IIRC) lastProp together into a Type* of some kind. /be
Right now the JM branch moves proto and emptyShapes into TypeObject, but adds two other fields to JSObject --- TypeObjects for the type of the object and default type of other objects created with the JSObject as its prototype. Would be really good to reduce the size of JSObject further, but I think this will hurt less as we move towards a generational GC.
Blocks: ObjectShrink
(In reply to comment #3) > Random thought: http://pastebin.mozilla.org/909272 That link is now empty. This bug is marked as blocking bug 637931, but really it's a dup of it.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
(In reply to comment #4) > (In reply to comment #3) > > Random thought: http://pastebin.mozilla.org/909272 > > That link is now empty. In case anyone's wondering, the "forever" option on pastebin.m.o is not actually that, assuming that pb was indeed originally marked as forever. (There's probably a bug on this; I haven't searched it out.) So don't use pastebin for long-term archiving of useful snippets.
No longer blocks: ObjectShrink
You need to log in before you can comment on or make changes to this bug.