Closed
Bug 1762713
Opened 2 years ago
Closed 2 years ago
Fold gfxFont::InitWordCache into GetShapedWord to reduce lock-twiddling
Categories
(Core :: Graphics: Text, defect, P3)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
100 Branch
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file)
As a followup to bug 1756468, we can reduce the number of times we take/release the gfxFont's lock by getting rid of the separate InitWordCache method and instead folding its work into GetShapedWord.
We can also rearrange the code in GetShapedWord to be a bit simpler/more efficient.
Assignee | ||
Comment 1•2 years ago
|
||
No behavior change, but this reduces lock-management overhead.
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/014c9bc5d9f9 Move work of InitWordCache inside of GetShapedWord to avoid extra lock-twiddling. r=lsalzman
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox100:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•