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

Issue 328823002: Don't fetch histograms from the same process. (Closed)

Created:
6 years, 6 months ago by Alexei Svitkine (slow)
Modified:
6 years, 6 months ago
Reviewers:
bokan, Ilya Sherman, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Don't fetch histograms from the same process. This change makes HistogramController not fetch any histograms from a "child" process when that process is the same as the current process. In reality, this could be the case on Android where the browser process is actually also the GPU process. See associated bug for the specific issue this is actually fixing. Also updates the profiler child process code to use the same logic (it was not affected by the bug, though). BUG=370208 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276900

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -9 lines) Patch
M content/browser/histogram_controller.cc View 1 2 3 4 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/profiler_controller_impl.cc View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M content/public/browser/child_process_data.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Alexei Svitkine (slow)
6 years, 6 months ago (2014-06-10 19:36:05 UTC) #1
Alexei Svitkine (slow)
Don't review yet, since apparently it doesn't work. Investigating.
6 years, 6 months ago (2014-06-10 19:52:15 UTC) #2
Alexei Svitkine (slow)
+piman for OWNERS review David, can you try out the latest patchset and let me ...
6 years, 6 months ago (2014-06-11 05:29:49 UTC) #3
bokan
On 2014/06/11 05:29:49, Alexei Svitkine wrote: > +piman for OWNERS review > > David, can ...
6 years, 6 months ago (2014-06-11 13:25:14 UTC) #4
piman
https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc#newcode352 content/browser/gpu/gpu_process_host.cc:352: process_->SetHandle(base::GetCurrentProcessHandle()); Seems iffy... It will have side effects in ...
6 years, 6 months ago (2014-06-11 19:46:36 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc#newcode352 content/browser/gpu/gpu_process_host.cc:352: process_->SetHandle(base::GetCurrentProcessHandle()); On 2014/06/11 19:46:35, piman wrote: > Seems iffy... ...
6 years, 6 months ago (2014-06-11 19:52:29 UTC) #6
piman
https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/328823002/diff/100001/content/browser/gpu/gpu_process_host.cc#newcode352 content/browser/gpu/gpu_process_host.cc:352: process_->SetHandle(base::GetCurrentProcessHandle()); On 2014/06/11 19:52:28, Alexei Svitkine wrote: > On ...
6 years, 6 months ago (2014-06-12 17:20:30 UTC) #7
Alexei Svitkine (slow)
All right, CL updated. PTAL. bokan@ can you sanity-check that this fix still works? Thanks!
6 years, 6 months ago (2014-06-12 17:30:51 UTC) #8
piman
lgtm
6 years, 6 months ago (2014-06-12 18:13:07 UTC) #9
bokan
On 2014/06/12 17:30:51, Alexei Svitkine wrote: > All right, CL updated. PTAL. > > bokan@ ...
6 years, 6 months ago (2014-06-12 18:28:04 UTC) #10
Ilya Sherman
LGTM. Please file a bug to follow up on whether we can now remove the ...
6 years, 6 months ago (2014-06-12 20:24:02 UTC) #11
Alexei Svitkine (slow)
On 2014/06/12 20:24:02, Ilya Sherman wrote: > LGTM. Please file a bug to follow up ...
6 years, 6 months ago (2014-06-12 20:25:29 UTC) #12
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 6 months ago (2014-06-12 20:25:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/328823002/120001
6 years, 6 months ago (2014-06-12 20:28:47 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 02:44:56 UTC) #15
Message was sent while issue was closed.
Change committed as 276900

Powered by Google App Engine
This is Rietveld 408576698