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

Issue 1021053003: Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/ (Closed)

Created:
5 years, 9 months ago by vadimt
Modified:
5 years, 7 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@phase_splitting
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/. This concludes the client-side “phased profiling” work. I’m removing TODO items, and the DIFFS introduced by this should remind the reviewers that there are open questions that they wanted to re-raise, assuming the the CL doesn’t make it clear that the way it’s implemented is OK. If there are still concerns, we should agree on one important thing before we resume the discussions: phase change delivery chain doesn’t go through metrics provider. It starts at the event source (FirstWebContentsProfiler), then goes to TrackingSynchronizer, then goes to base/. Once we agree on the design of this chain, it will make sense to go to more detailed discussions and open questions. BUG=456354 Committed: https://crrev.com/e2de4734b01f37454f939bc493a8a5cb59ce3c42 Cr-Commit-Position: refs/heads/master@{#327143}

Patch Set 1 #

Patch Set 2 : Integration #

Total comments: 12

Patch Set 3 : asvitkine@ comments. #

Total comments: 4

Patch Set 4 : More asvitkine@ comments. #

Total comments: 12

Patch Set 5 : jar@ comments. #

Total comments: 44

Patch Set 6 : isherman@ comments. #

Total comments: 8

Patch Set 7 : More isherman@ comments. #

Total comments: 22

Patch Set 8 : More asvitkine@ comments. #

Patch Set 9 : Fixing a typo. #

Total comments: 10

Patch Set 10 : Even more asvitkine@ comments. #

Total comments: 4

Patch Set 11 : Continuation of asvitkine@ comments. #

Patch Set 12 : Evehn more isherman@ comments. #

Total comments: 22

Patch Set 13 : Continuation of dialogue with asvitkine@. #

Total comments: 12

Patch Set 14 : Short isherman@ note. #

Total comments: 2

Patch Set 15 : asvitkine@: more of. #

Total comments: 7

Patch Set 16 : Final asvitkine@ comments. #

Total comments: 34

Patch Set 17 : Next batch if isherman@ comments. #

Total comments: 4

Patch Set 18 : asvitkine@ post-review comments. #

Total comments: 4

Patch Set 19 : Attempting to fix a compiler error in Linux. #

Patch Set 20 : Another platform-dependent error: no 'override' for virtual destructor. #

Total comments: 37

Patch Set 21 : Another platform-dependent error fix: refcounted objects shouldn't have public destructors. #

Patch Set 22 : Continuing fighting with virtual destructors. #

Patch Set 23 : More from isherman@ #

Total comments: 6

Patch Set 24 : Final isherman@ coments. #

Total comments: 14

Patch Set 25 : dchen@ comments #

Patch Set 26 : More wisdom from isherman@. #

Total comments: 12

Patch Set 27 : More comments. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+1300 lines, -386 lines) Patch
M base/tracked_objects.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 24 25 26 22 chunks +156 lines, -75 lines 0 comments Download
M base/tracked_objects.cc 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 25 26 24 chunks +263 lines, -124 lines 6 comments Download
M base/tracked_objects_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 30 chunks +574 lines, -63 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/metrics/first_web_contents_profiler.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/profiler_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/webui/profiler_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -6 lines 0 comments Download
M components/metrics.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/profiler/tracking_synchronizer.h View 1 2 3 4 5 6 6 chunks +28 lines, -18 lines 0 comments Download
M components/metrics/profiler/tracking_synchronizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +71 lines, -18 lines 0 comments Download
M components/metrics/profiler/tracking_synchronizer_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +34 lines, -18 lines 0 comments Download
A components/metrics/profiler/tracking_synchronizer_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +22 lines, -0 lines 0 comments Download
M components/metrics/profiler/tracking_synchronizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +40 lines, -25 lines 0 comments Download
M content/browser/profiler_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -2 lines 0 comments Download
M content/browser/profiler_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +52 lines, -9 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M content/common/child_process_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -3 lines 0 comments Download
M content/public/browser/profiler_controller.h View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 121 (32 generated)
vadimt
isherman@chromium.org, asvitkine@chromium.org: Please review an pre-review.
5 years, 9 months ago (2015-03-20 01:43:05 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/20001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/20001/base/tracked_objects.h#newcode393 base/tracked_objects.h:393: // phases, including the current one, identified by |current_profiling_phase|. ...
5 years, 8 months ago (2015-03-30 18:31:22 UTC) #3
vadimt
https://codereview.chromium.org/1021053003/diff/20001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/20001/base/tracked_objects.h#newcode393 base/tracked_objects.h:393: // phases, including the current one, identified by |current_profiling_phase|. ...
5 years, 8 months ago (2015-03-30 20:36:05 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/40001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/40001/base/tracked_objects.h#newcode433 base/tracked_objects.h:433: // We don't modify anything in |birth| in this ...
5 years, 8 months ago (2015-03-30 22:05:21 UTC) #5
vadimt
Rebase + comments. https://codereview.chromium.org/1021053003/diff/40001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/40001/base/tracked_objects.h#newcode433 base/tracked_objects.h:433: // We don't modify anything in ...
5 years, 8 months ago (2015-04-01 00:45:40 UTC) #6
jar (doing other things)
There is a lot of good stuff in this CL... but the attempt to reset ...
5 years, 8 months ago (2015-04-01 17:10:25 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc File content/browser/profiler_controller_impl.cc (right): https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc#newcode145 content/browser/profiler_controller_impl.cc:145: void ProfilerControllerImpl::OnProfilingPhaseCompletion(int profiling_phase) { Should probably have a comment ...
5 years, 8 months ago (2015-04-02 16:59:31 UTC) #9
jar (doing other things)
On 2015/04/01 17:10:25, jar (doing other things) wrote: > There is a lot of good ...
5 years, 8 months ago (2015-04-02 22:03:11 UTC) #10
vadimt
jar@, thanks for the summary! Also, we'll clear asynchronously, towards zero, run_duration_max_ and queue_duration_max_.
5 years, 8 months ago (2015-04-03 21:02:18 UTC) #11
jar (doing other things)
On 2015/04/03 21:02:18, vadimt wrote: > jar@, thanks for the summary! > > Also, we'll ...
5 years, 8 months ago (2015-04-03 22:34:13 UTC) #12
vadimt
Modified base/ changes to make them race-proof. Now not resetting counters and sums on phase ...
5 years, 8 months ago (2015-04-06 23:25:12 UTC) #13
Ilya Sherman
Sorry for being quite slow in reviewing this. I've finally had a bit of a ...
5 years, 8 months ago (2015-04-07 01:15:31 UTC) #14
vadimt
Thanks! Addressed comments + rebase. https://codereview.chromium.org/1021053003/diff/80001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/80001/base/tracked_objects.cc#newcode33 base/tracked_objects.cc:33: const bool kTrackAllTaskObjects = ...
5 years, 8 months ago (2015-04-07 21:44:15 UTC) #15
Ilya Sherman
Thanks, Vadim. I've still just focused on the parts outside of //base for now. https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_observer.h ...
5 years, 8 months ago (2015-04-07 22:58:35 UTC) #16
vadimt
Thanks! https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_observer.h File components/metrics/profiler/tracking_synchronizer_observer.h (right): https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_observer.h#newcode48 components/metrics/profiler/tracking_synchronizer_observer.h:48: const ProfilerEvents& past_events) = 0; Done with the ...
5 years, 8 months ago (2015-04-08 01:09:50 UTC) #17
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ = 0; Instead of having all of these ...
5 years, 8 months ago (2015-04-08 15:55:39 UTC) #18
vadimt
2 snapshots for the last set of comments. https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ ...
5 years, 8 months ago (2015-04-08 20:32:35 UTC) #19
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ = 0; On 2015/04/08 20:32:34, vadimt wrote: > ...
5 years, 8 months ago (2015-04-08 20:54:26 UTC) #20
vadimt
https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ = 0; jar@ told me that cache lines ...
5 years, 8 months ago (2015-04-08 21:27:17 UTC) #21
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ = 0; On 2015/04/08 21:27:17, vadimt wrote: > ...
5 years, 8 months ago (2015-04-08 21:57:50 UTC) #22
vadimt
https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/120001/base/tracked_objects.cc#newcode104 base/tracked_objects.cc:104: queue_duration_sample_ = 0; Done, but not sure I like ...
5 years, 8 months ago (2015-04-08 23:31:24 UTC) #23
Ilya Sherman
https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_unittest.cc File components/metrics/profiler/tracking_synchronizer_unittest.cc (right): https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_unittest.cc#newcode89 components/metrics/profiler/tracking_synchronizer_unittest.cc:89: } On 2015/04/08 01:09:50, vadimt wrote: > https://chromium-cpp.appspot.com/, Inherited ...
5 years, 8 months ago (2015-04-08 23:36:15 UTC) #24
vadimt
https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_unittest.cc File components/metrics/profiler/tracking_synchronizer_unittest.cc (right): https://codereview.chromium.org/1021053003/diff/80001/components/metrics/profiler/tracking_synchronizer_unittest.cc#newcode89 components/metrics/profiler/tracking_synchronizer_unittest.cc:89: } On 2015/04/08 23:36:14, Ilya Sherman wrote: > On ...
5 years, 8 months ago (2015-04-09 00:15:03 UTC) #25
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc File content/browser/profiler_controller_impl.cc (right): https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc#newcode148 content/browser/profiler_controller_impl.cc:148: for (RenderProcessHost::iterator it(RenderProcessHost::AllHostsIterator()); On 2015/04/06 23:25:12, vadimt wrote: > ...
5 years, 8 months ago (2015-04-09 15:39:06 UTC) #26
vadimt
https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc File content/browser/profiler_controller_impl.cc (right): https://codereview.chromium.org/1021053003/diff/60001/content/browser/profiler_controller_impl.cc#newcode148 content/browser/profiler_controller_impl.cc:148: for (RenderProcessHost::iterator it(RenderProcessHost::AllHostsIterator()); I've set a breakpoint in the ...
5 years, 8 months ago (2015-04-09 21:28:40 UTC) #27
Ilya Sherman
https://codereview.chromium.org/1021053003/diff/240001/components/metrics/profiler/tracking_synchronizer_observer.h File components/metrics/profiler/tracking_synchronizer_observer.h (right): https://codereview.chromium.org/1021053003/diff/240001/components/metrics/profiler/tracking_synchronizer_observer.h#newcode37 components/metrics/profiler/tracking_synchronizer_observer.h:37: // with an instance of ProfilerEventProto::ProfilerEvent. Note that my ...
5 years, 8 months ago (2015-04-09 21:37:32 UTC) #28
vadimt
https://codereview.chromium.org/1021053003/diff/240001/components/metrics/profiler/tracking_synchronizer_observer.h File components/metrics/profiler/tracking_synchronizer_observer.h (right): https://codereview.chromium.org/1021053003/diff/240001/components/metrics/profiler/tracking_synchronizer_observer.h#newcode37 components/metrics/profiler/tracking_synchronizer_observer.h:37: // with an instance of ProfilerEventProto::ProfilerEvent. On 2015/04/09 21:37:32, ...
5 years, 8 months ago (2015-04-09 21:48:32 UTC) #29
Alexei Svitkine (slow)
https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: DeathDataPhaseSnapshot(profiling_phase, death.second.count(), On 2015/04/09 21:28:39, vadimt wrote: > I'm ...
5 years, 8 months ago (2015-04-09 22:19:45 UTC) #30
vadimt
https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: DeathDataPhaseSnapshot(profiling_phase, death.second.count(), Given these not-quite-pleasant choices, the current implementation ...
5 years, 8 months ago (2015-04-09 22:42:20 UTC) #31
Alexei Svitkine (slow)
Getting close I think :) https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: DeathDataPhaseSnapshot(profiling_phase, death.second.count(), On 2015/04/09 ...
5 years, 8 months ago (2015-04-10 15:27:27 UTC) #32
vadimt
https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/220001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: DeathDataPhaseSnapshot(profiling_phase, death.second.count(), On 2015/04/10 15:27:26, Alexei Svitkine wrote: > ...
5 years, 8 months ago (2015-04-14 15:52:05 UTC) #33
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/1021053003/diff/280001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/280001/base/tracked_objects.h#newcode306 base/tracked_objects.h:306: int profiling_phase; Nit: Separate by empty lines since ...
5 years, 8 months ago (2015-04-14 16:32:48 UTC) #34
vadimt
Thanks asvitkine@! https://codereview.chromium.org/1021053003/diff/280001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/280001/base/tracked_objects.h#newcode306 base/tracked_objects.h:306: int profiling_phase; On 2015/04/14 16:32:48, Alexei Svitkine ...
5 years, 8 months ago (2015-04-14 18:25:25 UTC) #35
Ilya Sherman
Still wading through the //base changes, but here are some initial comments: https://codereview.chromium.org/1021053003/diff/300001/base/tracked_objects.cc File base/tracked_objects.cc ...
5 years, 8 months ago (2015-04-15 00:37:35 UTC) #36
Ilya Sherman
As-implemented, it's possible for the list of snapshotted phases to grow without bound, which could ...
5 years, 8 months ago (2015-04-15 00:59:12 UTC) #37
vadimt
Added a check for indefinite snapshots growth to TrackingSynchronizer::NotifyAllProcessesOfProfilingPhaseCompletion. Also wrapped part of arguments of ...
5 years, 8 months ago (2015-04-15 19:14:32 UTC) #38
Alexei Svitkine (slow)
(still lgtm) https://codereview.chromium.org/1021053003/diff/320001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/320001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: const DeathDataSnapshot death_data = Nit: You can ...
5 years, 8 months ago (2015-04-15 19:22:50 UTC) #39
vadimt
https://codereview.chromium.org/1021053003/diff/320001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/320001/base/tracked_objects.cc#newcode683 base/tracked_objects.cc:683: const DeathDataSnapshot death_data = Nice! https://codereview.chromium.org/1021053003/diff/320001/components/metrics/profiler/tracking_synchronizer.cc File components/metrics/profiler/tracking_synchronizer.cc (right): ...
5 years, 8 months ago (2015-04-15 19:52:16 UTC) #40
vadimt
I'm going to try CQ dry run. This is not an attempt to land before ...
5 years, 8 months ago (2015-04-16 17:52:16 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/340001
5 years, 8 months ago (2015-04-16 17:53:32 UTC) #44
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/28052) linux_chromium_gn_dbg on ...
5 years, 8 months ago (2015-04-16 18:13:24 UTC) #46
vadimt
Had a compiler error in Linux because DeathData doesn't have a copy constructor. Uploaded a ...
5 years, 8 months ago (2015-04-16 20:02:17 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/360001
5 years, 8 months ago (2015-04-16 20:03:28 UTC) #50
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/28119)
5 years, 8 months ago (2015-04-16 20:33:21 UTC) #52
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/380001
5 years, 8 months ago (2015-04-16 20:42:24 UTC) #55
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/15576)
5 years, 8 months ago (2015-04-16 21:02:55 UTC) #57
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/400001
5 years, 8 months ago (2015-04-16 22:25:21 UTC) #60
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/15642)
5 years, 8 months ago (2015-04-16 22:51:51 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/420001
5 years, 8 months ago (2015-04-17 00:38:16 UTC) #65
Ilya Sherman
Please note that there is a comment on patch set 16, and two on patch ...
5 years, 8 months ago (2015-04-17 02:14:27 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/47694)
5 years, 8 months ago (2015-04-17 03:41:46 UTC) #68
vadimt
https://codereview.chromium.org/1021053003/diff/300001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/300001/base/tracked_objects.h#newcode312 base/tracked_objects.h:312: DeathDataPhaseSnapshot* prev; Terminological clarification: not quite a 'copy', but ...
5 years, 8 months ago (2015-04-17 16:15:51 UTC) #69
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/440001
5 years, 8 months ago (2015-04-17 16:17:35 UTC) #72
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/56449)
5 years, 8 months ago (2015-04-17 19:31:02 UTC) #74
Ilya Sherman
LGTM % the remaining nits. Thanks, Vadim. https://codereview.chromium.org/1021053003/diff/380001/base/tracked_objects_unittest.cc File base/tracked_objects_unittest.cc (right): https://codereview.chromium.org/1021053003/diff/380001/base/tracked_objects_unittest.cc#newcode126 base/tracked_objects_unittest.cc:126: // Don't ...
5 years, 8 months ago (2015-04-18 04:32:20 UTC) #75
vadimt
isherman@, thanks! https://codereview.chromium.org/1021053003/diff/380001/base/tracked_objects_unittest.cc File base/tracked_objects_unittest.cc (right): https://codereview.chromium.org/1021053003/diff/380001/base/tracked_objects_unittest.cc#newcode126 base/tracked_objects_unittest.cc:126: // Don't run the test if task ...
5 years, 8 months ago (2015-04-20 15:23:23 UTC) #76
vadimt
dcheng@chromium.org: Please review changes in child_process_messages.h Some background is here: https://codereview.chromium.org/985773002#msg32 What's changed: 1. Not ...
5 years, 8 months ago (2015-04-20 15:31:49 UTC) #78
vadimt
cpu@chromium.org: Please provide OWNERs approval for: * base/ * chrome/browser/chrome_browser_main.cc * chrome/browser/ui/webui/profiler_ui.h * content/* (excluding ...
5 years, 8 months ago (2015-04-20 15:37:05 UTC) #80
dcheng
https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.cc#newcode725 base/tracked_objects.cc:725: deaths->push_back(DeathsSnapshot::value_type( std::make_pair would be slightly shorter to write (and ...
5 years, 8 months ago (2015-04-20 17:34:07 UTC) #81
vadimt
https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.cc#newcode725 base/tracked_objects.cc:725: deaths->push_back(DeathsSnapshot::value_type( On 2015/04/20 17:34:07, dcheng wrote: > std::make_pair would ...
5 years, 8 months ago (2015-04-20 19:43:27 UTC) #82
vadimt
Will try a CQ dry run one more time...
5 years, 8 months ago (2015-04-20 21:54:32 UTC) #83
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/480001
5 years, 8 months ago (2015-04-20 21:56:06 UTC) #86
Ilya Sherman
https://codereview.chromium.org/1021053003/diff/440001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/440001/base/tracked_objects.h#newcode312 base/tracked_objects.h:312: DeathDataPhaseSnapshot* prev; On 2015/04/20 15:23:23, vadimt wrote: > We ...
5 years, 8 months ago (2015-04-21 00:27:41 UTC) #87
vadimt
https://codereview.chromium.org/1021053003/diff/440001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/440001/base/tracked_objects.h#newcode312 base/tracked_objects.h:312: DeathDataPhaseSnapshot* prev; Indeed. Looks C++ has changed in last ...
5 years, 8 months ago (2015-04-21 00:42:52 UTC) #88
dcheng
https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.h#newcode89 base/tracked_objects.h:89: // instance at a Location. In many cases, instances ...
5 years, 8 months ago (2015-04-21 00:48:54 UTC) #89
cpu_(ooo_6.6-7.5)
I'll review chrome/browser but please add jam@ for content. Also ipc changes need security review.
5 years, 8 months ago (2015-04-21 15:40:55 UTC) #90
vadimt
cpu@, security changes are already being reviewed by dcheng@. And I'll add jam@. https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.h File ...
5 years, 8 months ago (2015-04-21 16:51:47 UTC) #91
vadimt
jam@, please review content/ changes.
5 years, 8 months ago (2015-04-21 16:55:00 UTC) #93
jam
On 2015/04/21 16:55:00, vadimt wrote: > jam@, please review content/ changes. content lgtm
5 years, 8 months ago (2015-04-21 17:44:46 UTC) #94
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode215 base/tracked_objects.cc:215: // off-by-little corruptions to be likely fixed at ...
5 years, 8 months ago (2015-04-23 17:42:50 UTC) #95
vadimt
https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode215 base/tracked_objects.cc:215: // off-by-little corruptions to be likely fixed at the ...
5 years, 8 months ago (2015-04-23 17:57:17 UTC) #96
dcheng
IPC changes lgtm https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1021053003/diff/460001/base/tracked_objects.h#newcode386 base/tracked_objects.h:386: DeathDataPhaseSnapshot* last_phase_snapshot_; On 2015/04/21 16:51:47, vadimt ...
5 years, 8 months ago (2015-04-23 17:59:56 UTC) #97
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/500001
5 years, 8 months ago (2015-04-23 18:05:31 UTC) #100
Alexander Potapenko
https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode215 base/tracked_objects.cc:215: // off-by-little corruptions to be likely fixed at the ...
5 years, 8 months ago (2015-04-23 19:08:05 UTC) #102
vadimt
https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode215 base/tracked_objects.cc:215: // off-by-little corruptions to be likely fixed at the ...
5 years, 8 months ago (2015-04-23 19:55:23 UTC) #103
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/57385)
5 years, 8 months ago (2015-04-23 20:15:52 UTC) #105
vadimt
https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode492 base/tracked_objects.cc:492: auto current_phase_tasks = Almost missed this comment. Will look ...
5 years, 8 months ago (2015-04-23 20:50:40 UTC) #106
Alexander Potapenko
> https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode215 > base/tracked_objects.cc:215: // off-by-little corruptions to be likely fixed at > the next ...
5 years, 8 months ago (2015-04-24 12:11:37 UTC) #107
Dmitry Vyukov
Haven't read all the code here. But if there are tracked_objects.cc, they can well be ...
5 years, 8 months ago (2015-04-27 10:34:21 UTC) #109
vadimt
https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/500001/base/tracked_objects.cc#newcode149 base/tracked_objects.cc:149: ++sample_probability_count_; RecordDeath can' race. It's always called in the ...
5 years, 8 months ago (2015-04-27 20:42:35 UTC) #110
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021053003/520001
5 years, 8 months ago (2015-04-27 20:42:59 UTC) #113
commit-bot: I haz the power
Committed patchset #27 (id:520001)
5 years, 8 months ago (2015-04-27 21:43:24 UTC) #114
commit-bot: I haz the power
Patchset 27 (id:??) landed as https://crrev.com/e2de4734b01f37454f939bc493a8a5cb59ce3c42 Cr-Commit-Position: refs/heads/master@{#327143}
5 years, 8 months ago (2015-04-27 21:48:27 UTC) #115
Dmitry Vyukov
https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc#newcode149 base/tracked_objects.cc:149: int sample_probability_count = sample_probability_count_; This is still racy and ...
5 years, 8 months ago (2015-04-28 04:14:16 UTC) #116
vadimt
Dmitry, thanks for the comments! https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc#newcode149 base/tracked_objects.cc:149: int sample_probability_count = sample_probability_count_; ...
5 years, 7 months ago (2015-04-28 15:15:37 UTC) #117
Dmitry Vyukov
https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1021053003/diff/520001/base/tracked_objects.cc#newcode149 base/tracked_objects.cc:149: int sample_probability_count = sample_probability_count_; On 2015/04/28 15:15:37, vadimt wrote: ...
5 years, 7 months ago (2015-04-28 15:24:26 UTC) #118
vadimt
This code was racy for years. This racy-ness was known, and apparently, taking into account ...
5 years, 7 months ago (2015-04-28 15:51:43 UTC) #119
Dmitry Vyukov
On 2015/04/28 15:51:43, vadimt wrote: > This code was racy for years. This racy-ness was ...
5 years, 7 months ago (2015-04-28 16:25:12 UTC) #120
vadimt
5 years, 7 months ago (2015-04-28 18:41:13 UTC) #121
Message was sent while issue was closed.
Alright, thanks for the information. Given the importance of the added code for
the Chrome-Back-to-Speed project, performance requirements, and the fact that we
have no evidence that existing races cause problems, I believe that the best
thing we can do now is to wait and see. If we see something unusual, we can
reconsider current solution.

It would be strange to introduce atomic storage just for the new member, or
convert all members to atomic after years of apparently problem-less work
without evidence that the current efficient causes glitches. This seems like a
justified risk to me.

Powered by Google App Engine
This is Rietveld 408576698