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

Issue 1188623002: Avoid redundant Looper tracing (Closed)

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

Description

Avoid redundant Looper tracing internal bug 21374535 Committed: https://crrev.com/76de16b533909638d2f0eec8f8d632cd0f7ec6b6 Cr-Commit-Position: refs/heads/master@{#335180}

Patch Set 1 #

Total comments: 11

Patch Set 2 : prettify comments #

Total comments: 5

Patch Set 3 : sATraceEnabled conditional #

Patch Set 4 : prettify comments #

Total comments: 1

Patch Set 5 : you have got to be kidding me #

Total comments: 3

Patch Set 6 : early-out #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M base/android/java/src/org/chromium/base/TraceEvent.java View 1 2 3 4 5 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 30 (7 generated)
paulmiller
PTAL
5 years, 6 months ago (2015-06-15 20:39:51 UTC) #2
boliu
+nyquist for owners lg2m
5 years, 6 months ago (2015-06-15 20:51:47 UTC) #4
nyquist
https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java#newcode23 base/android/java/src/org/chromium/base/TraceEvent.java:23: private static volatile boolean sATraceEnabled = false; What is ...
5 years, 6 months ago (2015-06-15 23:25:17 UTC) #5
boliu
https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java#newcode178 base/android/java/src/org/chromium/base/TraceEvent.java:178: public static void setEnabled(boolean enabled) { On 2015/06/15 23:25:17, ...
5 years, 6 months ago (2015-06-15 23:31:29 UTC) #6
paulmiller
https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java#newcode23 base/android/java/src/org/chromium/base/TraceEvent.java:23: private static volatile boolean sATraceEnabled = false; On 2015/06/15 ...
5 years, 6 months ago (2015-06-15 23:48:17 UTC) #7
nyquist
hush: Any thoughts on the behavior you added in https://codereview.chromium.org/247143006 and the comments in this ...
5 years, 6 months ago (2015-06-15 23:52:26 UTC) #9
hush (inactive)
https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/1/base/android/java/src/org/chromium/base/TraceEvent.java#newcode195 base/android/java/src/org/chromium/base/TraceEvent.java:195: sATraceEnabled = enabled; On 2015/06/15 23:48:17, paulmiller wrote: > ...
5 years, 6 months ago (2015-06-16 01:09:35 UTC) #10
boliu
You need to comment when you upload a new patch set. Unlike gerrit, uploading a ...
5 years, 6 months ago (2015-06-17 16:22:16 UTC) #11
paulmiller
https://codereview.chromium.org/1188623002/diff/20001/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/20001/base/android/java/src/org/chromium/base/TraceEvent.java#newcode23 base/android/java/src/org/chromium/base/TraceEvent.java:23: // Write Chrome traces to Android systrace? This comment ...
5 years, 6 months ago (2015-06-18 17:43:51 UTC) #12
boliu
https://codereview.chromium.org/1188623002/diff/20001/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/20001/base/android/java/src/org/chromium/base/TraceEvent.java#newcode23 base/android/java/src/org/chromium/base/TraceEvent.java:23: // Write Chrome traces to Android systrace? On 2015/06/18 ...
5 years, 6 months ago (2015-06-18 17:45:13 UTC) #13
paulmiller
new patch set
5 years, 6 months ago (2015-06-18 17:48:06 UTC) #14
boliu
tommy: ptal https://codereview.chromium.org/1188623002/diff/60001/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/60001/base/android/java/src/org/chromium/base/TraceEvent.java#newcode23 base/android/java/src/org/chromium/base/TraceEvent.java:23: private static volatile boolean sATraceEnabled = false; ...
5 years, 6 months ago (2015-06-18 17:49:18 UTC) #15
paulmiller
This is the last nitpick I will entertain. Take it or leave it.
5 years, 6 months ago (2015-06-18 20:38:01 UTC) #16
nyquist
lgtm https://codereview.chromium.org/1188623002/diff/80001/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/80001/base/android/java/src/org/chromium/base/TraceEvent.java#newcode181 base/android/java/src/org/chromium/base/TraceEvent.java:181: if (!sATraceEnabled) { Could you change this to ...
5 years, 6 months ago (2015-06-18 21:22:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1188623002/80001
5 years, 6 months ago (2015-06-18 21:29:06 UTC) #19
boliu
Wait, fix Tommy's last comment first. That wasn't optional
5 years, 6 months ago (2015-06-18 21:31:24 UTC) #21
paulmiller
I don't mean to be rude, but I honestly can't tell if I'm being trolled ...
5 years, 6 months ago (2015-06-18 22:10:06 UTC) #22
boliu
On 2015/06/18 22:10:06, paulmiller wrote: > I don't mean to be rude, but I honestly ...
5 years, 6 months ago (2015-06-18 22:12:43 UTC) #23
paulmiller
I apologize for my impatience. Here's my reasoning. https://codereview.chromium.org/1188623002/diff/80001/base/android/java/src/org/chromium/base/TraceEvent.java File base/android/java/src/org/chromium/base/TraceEvent.java (right): https://codereview.chromium.org/1188623002/diff/80001/base/android/java/src/org/chromium/base/TraceEvent.java#newcode181 base/android/java/src/org/chromium/base/TraceEvent.java:181: if ...
5 years, 6 months ago (2015-06-18 23:07:05 UTC) #24
nyquist
boliu is right in that comments that are not marked as optional should not be ...
5 years, 6 months ago (2015-06-18 23:20:36 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1188623002/100001
5 years, 6 months ago (2015-06-18 23:36:08 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 6 months ago (2015-06-19 00:48:32 UTC) #29
commit-bot: I haz the power
5 years, 6 months ago (2015-06-19 00:49:33 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/76de16b533909638d2f0eec8f8d632cd0f7ec6b6
Cr-Commit-Position: refs/heads/master@{#335180}

Powered by Google App Engine
This is Rietveld 408576698