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

Issue 2293293002: Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler (Closed)

Created:
4 years, 3 months ago by stanisc
Modified:
4 years, 3 months ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 Committed: https://crrev.com/15ee7f73c882bb282d80225c50dd50c678438696 Cr-Commit-Position: refs/heads/master@{#415663}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/task_manager/sampling/shared_sampler_win.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (12 generated)
stanisc
PTAL!
4 years, 3 months ago (2016-08-31 01:22:03 UTC) #8
ncarter (slow)
lgtm to fix the bug. I was mucking with this a few weeks ago; the ...
4 years, 3 months ago (2016-08-31 16:35:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2293293002/1
4 years, 3 months ago (2016-08-31 16:54:36 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-31 16:58:22 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 17:01:38 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/15ee7f73c882bb282d80225c50dd50c678438696
Cr-Commit-Position: refs/heads/master@{#415663}

Powered by Google App Engine
This is Rietveld 408576698