Closed
Bug 622706
Opened 14 years ago
Closed 13 years ago
Shrink JSObject size
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 637931
People
(Reporter: evilpie, Unassigned)
Details
Just for reference.
Comment 1•14 years ago
|
||
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
Comment 2•14 years ago
|
||
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.
Reporter | ||
Comment 3•14 years ago
|
||
Random thought: http://pastebin.mozilla.org/909272
Reporter | ||
Updated•14 years ago
|
Blocks: ObjectShrink
Comment 4•13 years ago
|
||
(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
Comment 5•13 years ago
|
||
(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.
Updated•13 years ago
|
No longer blocks: ObjectShrink
You need to log in
before you can comment on or make changes to this bug.
Description
•