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

Issue 1853943002: [Courgette] Refactor LabelManager. (Closed)

Created:
4 years, 8 months ago by huangs
Modified:
4 years, 8 months ago
Reviewers:
Will Harris
CC:
chromium-reviews, chrisha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Courgette] Refactor LabelManager. Some code cleanup before the big CL to use LabelManager to reduce peak memory by 25%: - Remove LabelManagerImpl and simply use LabelManager. - Extract RvaVisitor to a separate class; adding specializations: - VectorRvaVisitor<T>: To prepare for for RVA and TypedRVA usage. - TrivialRvaVisitor: For unittests. Committed: https://crrev.com/9faa303317b028dc4e78ccf22457a985530efffe Cr-Commit-Position: refs/heads/master@{#385645}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -212 lines) Patch
M courgette/image_utils.h View 2 chunks +50 lines, -0 lines 1 comment Download
M courgette/label_manager.h View 5 chunks +37 lines, -79 lines 2 comments Download
M courgette/label_manager.cc View 8 chunks +63 lines, -77 lines 0 comments Download
M courgette/label_manager_unittest.cc View 9 chunks +23 lines, -56 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
huangs
PTAL. Thanks! https://codereview.chromium.org/1853943002/diff/1/courgette/image_utils.h File courgette/image_utils.h (right): https://codereview.chromium.org/1853943002/diff/1/courgette/image_utils.h#newcode133 courgette/image_utils.h:133: // RvaVisitor that simply stores a list ...
4 years, 8 months ago (2016-04-04 14:30:58 UTC) #2
huangs
Ping for review, PTAL. Thanks!
4 years, 8 months ago (2016-04-06 17:28:55 UTC) #3
Will Harris
https://codereview.chromium.org/1853943002/diff/1/courgette/label_manager.h File courgette/label_manager.h (left): https://codereview.chromium.org/1853943002/diff/1/courgette/label_manager.h#oldcode139 courgette/label_manager.h:139: size_t Size() const override; where did Size() go and ...
4 years, 8 months ago (2016-04-06 17:55:54 UTC) #4
huangs
https://codereview.chromium.org/1853943002/diff/1/courgette/label_manager.h File courgette/label_manager.h (left): https://codereview.chromium.org/1853943002/diff/1/courgette/label_manager.h#oldcode139 courgette/label_manager.h:139: size_t Size() const override; LabelManager::Labels() is moved from private: ...
4 years, 8 months ago (2016-04-06 18:28:05 UTC) #5
Will Harris
okay lgtm if the bots like it :
4 years, 8 months ago (2016-04-06 21:49:44 UTC) #6
huangs
Cool. Thanks!
4 years, 8 months ago (2016-04-06 21:59:18 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853943002/1
4 years, 8 months ago (2016-04-06 22:00:36 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/206973)
4 years, 8 months ago (2016-04-07 02:03:20 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853943002/1
4 years, 8 months ago (2016-04-07 02:04:54 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 03:30:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1853943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1853943002/1
4 years, 8 months ago (2016-04-07 03:31:31 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-07 03:37:22 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 03:38:42 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9faa303317b028dc4e78ccf22457a985530efffe
Cr-Commit-Position: refs/heads/master@{#385645}

Powered by Google App Engine
This is Rietveld 408576698