Closed
Bug 1374119
Opened 8 years ago
Closed 8 years ago
Codegen should use BoolVarCache and not GetBool
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: smaug, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•8 years ago
|
||
Was this observed in profiles?
In practice, this is only used in two cases: a [Pref] interface and a [Pref] dictionary member. The latter is quite rare. The former I was going to say would only happen once per page, but that may no longer be true with the changes we made in bug 1364816.
I suppose we could generate a local static bool for this...
Reporter | ||
Comment 2•8 years ago
|
||
yes, I saw this in a profile while profiling Speedometer.
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → bugs
Assignee | ||
Comment 4•8 years ago
|
||
Do you happen to recall what the callstack to the GetBool call was?
Flags: needinfo?(bugs)
Reporter | ||
Comment 5•8 years ago
|
||
Hmm, can't recall exactly. It was when accessing some WebGL or *VR interface, but
don't recall if it was just some script going through all the properties window has.
Flags: needinfo?(bugs)
Updated•8 years ago
|
Priority: -- → P3
Assignee | ||
Comment 6•8 years ago
|
||
Attachment #8879376 -
Flags: review?(kyle)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Updated•8 years ago
|
Attachment #8879376 -
Flags: review?(kyle) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f5e11c81db2
Use a bool pref cache for interface object enablement conditions instead of calling GetBool. r=qdot
Comment 8•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•