Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Issue 1264103003: Parallel cache - preliminary (Closed)

Created:
5 years, 4 months ago by herb_g
Modified:
5 years, 3 months ago
Reviewers:
mtklein, mtklein_C, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : glyphcache-uses-shared-locks #

Patch Set 3 : working-but-no-purge #

Patch Set 4 : fix ws #

Patch Set 5 : more ws fixes #

Patch Set 6 : even more ws fixes #

Patch Set 7 : fully working #

Total comments: 14

Patch Set 8 : Address first round of comments #

Patch Set 9 : fix windows compile problems #

Patch Set 10 : fix windows atomics #

Patch Set 11 : Use SkOnce for metrics #

Patch Set 12 : Fix race in SkDraw #

Patch Set 13 : Add fence for reads to bitmap #

Patch Set 14 : Fix full metrics in allocate #

Patch Set 15 : move metrics update into mutex #

Patch Set 16 : Add barrier to metrics data. #

Patch Set 17 : add atomic to isJustify #

Patch Set 18 : only metrics no advances #

Patch Set 19 : advances state removed #

Patch Set 20 : remove atomics from skglyph #

Total comments: 6

Patch Set 21 : address mtklein comments #

Patch Set 22 : round of cleanup nullptr sknew #

Patch Set 23 : reapply change #

Patch Set 24 : use after free fixed #

Patch Set 25 : parallel cache 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -189 lines) Patch
M src/core/SkDraw.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +3 lines, -5 lines 0 comments Download
M src/core/SkGlyph.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +49 lines, -16 lines 0 comments Download
M src/core/SkGlyphCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 17 chunks +236 lines, -155 lines 0 comments Download
M src/core/SkGlyphCache_Globals.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +16 lines, -13 lines 0 comments Download

Messages

Total messages: 59 (23 generated)
herb_g
This is close to the final form. It has good performance characteristics for nytimes, but ...
5 years, 4 months ago (2015-08-10 18:07:28 UTC) #2
herb_g
I will publish preliminary performance info in an email because of bad formatting here.
5 years, 4 months ago (2015-08-12 21:33:04 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/120001
5 years, 4 months ago (2015-08-14 15:05:53 UTC) #5
mtklein_C
https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp File src/core/SkGlyphCache.cpp (right): https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp#newcode86 src/core/SkGlyphCache.cpp:86: fMu.releaseShared(); Let's add assertShared() / assertExclusive() methods to SkSharedMutex. ...
5 years, 4 months ago (2015-08-14 15:31:37 UTC) #7
herb_g
https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp File src/core/SkGlyphCache.cpp (right): https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp#newcode269 src/core/SkGlyphCache.cpp:269: return sk_atomic_load(&glyph.fImage, sk_memory_order_relaxed); On 2015/08/14 15:31:37, mtklein_C wrote: > ...
5 years, 4 months ago (2015-08-21 19:16:50 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/140001
5 years, 4 months ago (2015-08-21 20:25:27 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/2847) Build-Win-MSVC-x86_64-Debug-Trybot on ...
5 years, 4 months ago (2015-08-21 20:29:05 UTC) #12
mtklein
On 2015/08/21 19:16:50, herb_g wrote: > https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp > File src/core/SkGlyphCache.cpp (right): > > https://codereview.chromium.org/1264103003/diff/120001/src/core/SkGlyphCache.cpp#newcode269 > ...
5 years, 4 months ago (2015-08-24 14:18:34 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/360001
5 years, 3 months ago (2015-09-02 20:04:55 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/3037) Build-Win-MSVC-x86_64-Debug-Trybot on ...
5 years, 3 months ago (2015-09-02 20:08:55 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/380001
5 years, 3 months ago (2015-09-02 20:20:26 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-02 20:25:08 UTC) #21
herb_g
Ok. This one is looking pretty good. The TSAN and ASAN pass. Performance numbers to ...
5 years, 3 months ago (2015-09-02 21:16:46 UTC) #22
herb_g
Oops. too soon. The two methods findImage and findPath use a strong barrier. I will ...
5 years, 3 months ago (2015-09-02 21:19:45 UTC) #23
mtklein_C
lgtm, nits only https://codereview.chromium.org/1264103003/diff/380001/include/core/SkAtomics.h File include/core/SkAtomics.h (right): https://codereview.chromium.org/1264103003/diff/380001/include/core/SkAtomics.h#newcode31 include/core/SkAtomics.h:31: Can you declare sk_atomic_fetch_sub() here for ...
5 years, 3 months ago (2015-09-03 21:16:08 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/420001
5 years, 3 months ago (2015-09-04 16:30:25 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-04 16:35:05 UTC) #28
herb_g
The tsan problem is the well know: SkPathPriv::CheapComputeFirstDirection https://codereview.chromium.org/1264103003/diff/380001/include/core/SkAtomics.h File include/core/SkAtomics.h (right): https://codereview.chromium.org/1264103003/diff/380001/include/core/SkAtomics.h#newcode31 include/core/SkAtomics.h:31: On ...
5 years, 3 months ago (2015-09-04 17:26:12 UTC) #29
mtklein
lgtm go go go!
5 years, 3 months ago (2015-09-04 17:27:16 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/420001
5 years, 3 months ago (2015-09-04 17:27:29 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/2434)
5 years, 3 months ago (2015-09-04 17:28:34 UTC) #35
mtklein
This is one of those cases where it's fine to TBR=reed@google.com this. The files changed ...
5 years, 3 months ago (2015-09-04 17:34:04 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/420001
5 years, 3 months ago (2015-09-04 17:38:21 UTC) #38
commit-bot: I haz the power
Committed patchset #22 (id:420001) as https://skia.googlesource.com/skia/+/6f2a486040cb25465990196c229feb47e668e87f
5 years, 3 months ago (2015-09-04 17:39:03 UTC) #39
herb_g
A revert of this CL (patchset #22 id:420001) has been created in https://codereview.chromium.org/1327703003/ by herb@google.com. ...
5 years, 3 months ago (2015-09-04 21:19:29 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/440001
5 years, 3 months ago (2015-09-09 18:22:22 UTC) #42
herb_g
Let's try this again.
5 years, 3 months ago (2015-09-09 18:22:30 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-09 18:27:37 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/440001
5 years, 3 months ago (2015-09-09 19:15:33 UTC) #48
commit-bot: I haz the power
Committed patchset #23 (id:440001) as https://skia.googlesource.com/skia/+/bf2988833e5a36c6b430da6fdd2cfebd0015adec
5 years, 3 months ago (2015-09-09 19:16:13 UTC) #49
Jeffrey Yasskin
A revert of this CL (patchset #23 id:440001) has been created in https://codereview.chromium.org/1339493002/ by jyasskin@chromium.org. ...
5 years, 3 months ago (2015-09-11 00:48:33 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/460001
5 years, 3 months ago (2015-09-11 20:14:02 UTC) #52
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-11 20:23:03 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1264103003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1264103003/460001
5 years, 3 months ago (2015-09-15 13:57:11 UTC) #57
commit-bot: I haz the power
Committed patchset #24 (id:460001) as https://skia.googlesource.com/skia/+/014ffdb01ea5317614a1569efc30c50f06434222
5 years, 3 months ago (2015-09-15 14:03:06 UTC) #58
herb_g
5 years, 3 months ago (2015-09-15 22:15:18 UTC) #59
Message was sent while issue was closed.
A revert of this CL (patchset #24 id:460001) has been created in
https://codereview.chromium.org/1345903002/ by herb@google.com.

The reason for reverting is: Breaks DrMemory in the chrome roll.
.

Powered by Google App Engine
This is Rietveld 408576698