Closed
Bug 256937
Opened 20 years ago
Closed 20 years ago
Use state bits to avoid property lookups for Overflow properties
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file)
10.94 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
The patch in bug 253977 caused a Tp regression, I suspect because it started
calling GetOverflowLines in a few places that we didn't before.
I'm going to attach a patch that uses frame state bits to record the presence of
the Overflow(Lines/OutOfFlows/Placeholders) properties. This should make the
lookup case where no property is present extremely fast. Even if it turns out
not to ameliorate the Tp hit in bug 253977, it's probably still worth it for
columns where we use these properties a lot.
Assignee | ||
Comment 1•20 years ago
|
||
As described.
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 157018 [details] [diff] [review]
fix
Use state bits to speed up GetOverflowLines/OutOfFlows/Placeholders in the
common case where there is no property set.
Attachment #157018 -
Flags: superreview?(dbaron)
Attachment #157018 -
Flags: review?(dbaron)
Attachment #157018 -
Flags: superreview?(dbaron)
Attachment #157018 -
Flags: superreview+
Attachment #157018 -
Flags: review?(dbaron)
Attachment #157018 -
Flags: review+
Assignee | ||
Comment 3•20 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 4•20 years ago
|
||
brad tinderbox shows a significant increase in leaks and refcnt leaks for the
time window where this and bug 256932 were checked in.
I don't know anything about those changes, but one of those two checkins looks
to have caused those leaks...
Assignee | ||
Comment 5•20 years ago
|
||
I'm pretty confident that the leaks are due to bug 256932, not this bug.
Comment 6•20 years ago
|
||
Could this patch have caused bug 266454?
You need to log in
before you can comment on or make changes to this bug.
Description
•