Move Proxy Handlers to Proxy JSClasses
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: efaust, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(8 files, 6 obsolete files)
51.76 KB,
patch
|
bholley
:
review+
djvj
:
review+
|
Details | Diff | Splinter Review |
37.44 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
29.05 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
6.64 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
46.68 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
15.88 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
7.44 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
32.34 KB,
patch
|
bholley
:
review+
peterv
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
![]() |
||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
Reporter | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Reporter | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Reporter | ||
Comment 12•11 years ago
|
||
Reporter | ||
Comment 13•11 years ago
|
||
Reporter | ||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Reporter | ||
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Updated•11 years ago
|
Comment 19•11 years ago
|
||
Reporter | ||
Comment 20•11 years ago
|
||
Reporter | ||
Comment 21•11 years ago
|
||
Reporter | ||
Comment 22•11 years ago
|
||
Reporter | ||
Comment 23•11 years ago
|
||
Reporter | ||
Comment 24•11 years ago
|
||
Reporter | ||
Comment 25•11 years ago
|
||
Reporter | ||
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
Comment 28•11 years ago
|
||
Comment 29•11 years ago
|
||
Comment 30•11 years ago
|
||
Reporter | ||
Comment 31•11 years ago
|
||
Comment 32•11 years ago
|
||
Comment 33•11 years ago
|
||
Comment 34•11 years ago
|
||
Comment 36•11 years ago
|
||
Reporter | ||
Comment 37•11 years ago
|
||
Comment 38•11 years ago
|
||
Updated•11 years ago
|
Reporter | ||
Comment 39•11 years ago
|
||
Comment 40•11 years ago
|
||
Reporter | ||
Comment 41•11 years ago
|
||
Comment 42•11 years ago
|
||
![]() |
||
Comment 43•11 years ago
|
||
![]() |
||
Updated•11 years ago
|
Comment 44•7 years ago
|
||
Comment 46•7 years ago
|
||
Comment 47•6 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:sdetar, maybe it's time to close this bug?
Comment 48•6 years ago
|
||
I am assuming we should still this needs to be left open based on Jan's comment in comment 46.
Comment 49•6 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:sdetar, maybe it's time to close this bug?
Comment 50•6 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #49)
The leave-open keyword is there and there is no activity for 6 months.
:sdetar, maybe it's time to close this bug?
Comment 46 still applies.
![]() |
||
Updated•6 years ago
|
Updated•3 years ago
|
Comment 51•2 months ago
|
||
Is this fixed?
Comment 52•2 months ago
|
||
This hasn't been implemented yet.
This doesn't necessarily seem like an improvement to me. Right now, getting the proxy handler for an object requires one load (object->handler). If it lived on the class, it would require four (object->shape->baseShape->class->handler). The shape load doesn't really count, because we have to load that to verify that this is a proxy, but three additional dependent loads is still pretty bad.
In exchange, all we really get is one fewer reserved slot in the object, which may or may not save us any memory depending on which object size bucket a proxy falls into. In the alternate universe where proxy handlers already lived on the class, I would be tempted to cache the handler on the proxy object anyway as a performance optimization.
Am I missing something?
Description
•