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

Issue 2736283003: [memory-infra] MemoryDumpScheduler follows config for time between dumps (Closed)

Created:
3 years, 9 months ago by ssid
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[memory-infra] MemoryDumpScheduler follows config for time between dumps The scheduler should reset the time since the last dump on all processes when every global dump happens. So, MemoryDumpManager should notify the scheduler when dumps are triggered. Use enum instead of multiple bool to store the state of polling. BUG=607533 Review-Url: https://codereview.chromium.org/2736283003 Cr-Commit-Position: refs/heads/master@{#456268} Committed: https://chromium.googlesource.com/chromium/src/+/5a15b1b1fa8f202b16250541522d22a070b03e1f

Patch Set 1 #

Patch Set 2 : rebase. #

Total comments: 4

Patch Set 3 : fix task runner check and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -42 lines) Patch
M base/trace_event/memory_dump_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M base/trace_event/memory_dump_scheduler.h View 1 2 2 chunks +14 lines, -2 lines 0 comments Download
M base/trace_event/memory_dump_scheduler.cc View 1 2 7 chunks +54 lines, -36 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl.cc View 1 chunk +5 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (18 generated)
ssid
+primiano wdyt?
3 years, 9 months ago (2017-03-09 18:28:18 UTC) #6
Primiano Tucci (use gerrit)
The code itself LG, I just realized that we might have some problem with threads ...
3 years, 9 months ago (2017-03-10 10:35:39 UTC) #11
ssid
https://codereview.chromium.org/2736283003/diff/80001/base/trace_event/memory_dump_scheduler.cc File base/trace_event/memory_dump_scheduler.cc (right): https://codereview.chromium.org/2736283003/diff/80001/base/trace_event/memory_dump_scheduler.cc#newcode110 base/trace_event/memory_dump_scheduler.cc:110: Bind(&MemoryDumpScheduler::NotifyDumpTriggered, Unretained(this))); On 2017/03/10 10:35:39, Primiano Tucci (slow - ...
3 years, 9 months ago (2017-03-10 14:57:37 UTC) #12
Primiano Tucci (use gerrit)
Hmm ok let's do this: This LGTM on the assumptions you wrote here, otherwise we ...
3 years, 9 months ago (2017-03-10 15:08:36 UTC) #13
ssid
I am working on trying to make the scheduler singleton after this patch https://codereview.chromium.org/2736283003/diff/80001/base/trace_event/memory_dump_scheduler.cc File ...
3 years, 9 months ago (2017-03-10 23:51:10 UTC) #17
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/2736283003/120001
3 years, 9 months ago (2017-03-11 03:02:11 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 03:08:21 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/5a15b1b1fa8f202b16250541522d...

Powered by Google App Engine
This is Rietveld 408576698