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

Issue 1618423004: Fix overflow bug in histogram sample data structures (Closed)

Created:
4 years, 11 months ago by bcf
Modified:
4 years, 11 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix overflow bug in histogram sample data structures BUG=580696 BUG=internal b/26683692 TEST=Modified tests pass. End to end testing verified on problem scenario. Committed: https://crrev.com/3334b50ea196494f220e432d417517c4e469fe81 Cr-Commit-Position: refs/heads/master@{#371118}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename tests, remove redundant comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -9 lines) Patch
M base/metrics/histogram.h View 1 chunk +0 lines, -3 lines 0 comments Download
M base/metrics/histogram_unittest.cc View 1 4 chunks +27 lines, -4 lines 0 comments Download
M base/metrics/sample_map.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/metrics/sample_map_unittest.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M base/metrics/sample_vector.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/metrics/sample_vector_unittest.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M base/metrics/sparse_histogram_unittest.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
bcf
4 years, 11 months ago (2016-01-22 22:27:06 UTC) #3
Alexei Svitkine (slow)
LGTM, thanks! Please create a crbug and associate with that via BUG=, in case we ...
4 years, 11 months ago (2016-01-22 22:30:11 UTC) #4
bcf
The added unit tests are just duplicates of existing ones, but with large values. Would ...
4 years, 11 months ago (2016-01-22 22:30:17 UTC) #5
Alexei Svitkine (slow)
I think separate tests are fine given they're testing this specific case. Have a suggestion ...
4 years, 11 months ago (2016-01-22 22:33:03 UTC) #6
bcf
https://codereview.chromium.org/1618423004/diff/1/base/metrics/histogram_unittest.cc File base/metrics/histogram_unittest.cc (right): https://codereview.chromium.org/1618423004/diff/1/base/metrics/histogram_unittest.cc#newcode263 base/metrics/histogram_unittest.cc:263: TEST_F(HistogramTest, AddCountLargeTest) { On 2016/01/22 22:33:03, Alexei Svitkine (very ...
4 years, 11 months ago (2016-01-22 22:46:14 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/1618423004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618423004/20001
4 years, 11 months ago (2016-01-22 22:48:41 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-23 00:22:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618423004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618423004/20001
4 years, 11 months ago (2016-01-23 00:36:57 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, no build URL)
4 years, 11 months ago (2016-01-23 00:44:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1618423004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1618423004/20001
4 years, 11 months ago (2016-01-23 01:30:02 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-23 01:40:06 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-23 01:40:54 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3334b50ea196494f220e432d417517c4e469fe81
Cr-Commit-Position: refs/heads/master@{#371118}

Powered by Google App Engine
This is Rietveld 408576698