Open
Bug 2042395
Opened 1 month ago
Updated 1 month ago
Attached CacheIR stub for uncachable DOM proxies always fails
Categories
(Core :: JavaScript Engine: JIT, defect, P2)
Core
JavaScript Engine: JIT
Tracking
()
ASSIGNED
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 3 open bugs)
Details
This is a (minor but real) performance bug that affects certain DOM proxies:
GetProxyStubTypereturnsProxyStubType::Genericfor proxies that haveIsCacheableDOMProxyfalse. This includes DOM proxies with a dynamic proto.- The callers will then call
tryAttachGenericProxywithhandleDOMProxies = false. - This will generate an IC stub that fails for DOM proxies, even though we want to handle DOM proxies in this case.
I see this show up for lookups on Location objects in the browser.
| Assignee | ||
Comment 1•1 month ago
|
||
The simplest option may be to remove the handleDOMProxies argument for tryAttachGenericProxy. I'll see if that has any effect on sp3.
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•