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

Issue 2367603002: [tracing] Support ConvertableToTraceFormat argument type. (Closed)

Created:
4 years, 3 months ago by alph
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, lpy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tracing] Support ConvertableToTraceFormat argument type. Drive-by: Use perfect forwarding for AddTraceEvent arguments. BUG=406277 Committed: https://crrev.com/dcac49af485fe5d4c0027f153901435dbb29c232 Committed: https://crrev.com/4810f41a521227ccab4f231aa4a439d790428953 Cr-Original-Commit-Position: refs/heads/master@{#39742} Cr-Commit-Position: refs/heads/master@{#39789}

Patch Set 1 #

Total comments: 2

Patch Set 2 : move delete to TraceObject destructor. #

Patch Set 3 : caseq comments addressed. #

Patch Set 4 : Added convertable args. #

Total comments: 6

Patch Set 5 : fixing nits #

Patch Set 6 : Fix layout tests failures & reland. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -71 lines) Patch
M include/libplatform/v8-tracing.h View 1 2 3 5 chunks +30 lines, -18 lines 0 comments Download
M include/v8-platform.h View 1 2 3 4 5 4 chunks +44 lines, -9 lines 0 comments Download
M src/libplatform/default-platform.h View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M src/libplatform/default-platform.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M src/libplatform/tracing/trace-object.cc View 1 2 3 4 chunks +14 lines, -7 lines 0 comments Download
M src/libplatform/tracing/trace-writer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/libplatform/tracing/trace-writer.cc View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download
M src/libplatform/tracing/tracing-controller.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M src/tracing/trace-event.h View 1 2 3 4 5 chunks +50 lines, -13 lines 0 comments Download
M test/cctest/libplatform/test-tracing.cc View 1 2 3 7 chunks +32 lines, -7 lines 0 comments Download
M test/cctest/test-trace-event.cc View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
alph
Folks, please take a look. This one does not introduce TracedValue.
4 years, 3 months ago (2016-09-22 23:40:12 UTC) #4
caseq
https://codereview.chromium.org/2367603002/diff/1/src/tracing/trace-event.h File src/tracing/trace-event.h (right): https://codereview.chromium.org/2367603002/diff/1/src/tracing/trace-event.h#newcode505 src/tracing/trace-event.h:505: static V8_INLINE void SetTraceValue(std::unique_ptr<T>&& ptr, This does not look ...
4 years, 3 months ago (2016-09-23 01:00:50 UTC) #7
alph
PTAL https://codereview.chromium.org/2367603002/diff/1/src/tracing/trace-event.h File src/tracing/trace-event.h (right): https://codereview.chromium.org/2367603002/diff/1/src/tracing/trace-event.h#newcode505 src/tracing/trace-event.h:505: static V8_INLINE void SetTraceValue(std::unique_ptr<T>&& ptr, On 2016/09/23 01:00:50, ...
4 years, 3 months ago (2016-09-23 06:33:24 UTC) #8
caseq
This mostly look good, but I'm a bit concerned with the way we manage ownership ...
4 years, 3 months ago (2016-09-23 17:12:50 UTC) #9
alph
On 2016/09/23 17:12:50, caseq wrote: > This mostly look good, but I'm a bit concerned ...
4 years, 3 months ago (2016-09-23 22:06:39 UTC) #10
caseq
lgtm https://codereview.chromium.org/2367603002/diff/60001/include/v8-platform.h File include/v8-platform.h (right): https://codereview.chromium.org/2367603002/diff/60001/include/v8-platform.h#newcode192 include/v8-platform.h:192: return 0; call another one here instead, so ...
4 years, 3 months ago (2016-09-23 23:48:34 UTC) #11
alph
All done. Jochen could you please do the owner review. Thanks! https://codereview.chromium.org/2367603002/diff/60001/include/v8-platform.h File include/v8-platform.h (right): ...
4 years, 3 months ago (2016-09-24 00:24:07 UTC) #12
jochen (gone - plz use gerrit)
lgtm
4 years, 2 months ago (2016-09-26 15:05:44 UTC) #17
fmeawad
lgtm
4 years, 2 months ago (2016-09-26 15:11:11 UTC) #18
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/2367603002/80001
4 years, 2 months ago (2016-09-26 21:22:38 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-26 21:54:40 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/dcac49af485fe5d4c0027f153901435dbb29c232 Cr-Commit-Position: refs/heads/master@{#39742}
4 years, 2 months ago (2016-09-26 21:55:05 UTC) #26
Michael Achenbach
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2371103002/ by machenbach@chromium.org. ...
4 years, 2 months ago (2016-09-27 07:01:25 UTC) #27
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/2367603002/100001
4 years, 2 months ago (2016-09-27 17:40:03 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-27 18:08:41 UTC) #33
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/4810f41a521227ccab4f231aa4a439d790428953 Cr-Commit-Position: refs/heads/master@{#39789}
4 years, 2 months ago (2016-09-27 18:09:04 UTC) #35
Toon Verwaest
4 years, 2 months ago (2016-09-28 18:13:54 UTC) #37
Message was sent while issue was closed.
This seems to break node integration:
https://build.chromium.org/p/client.v8.fyi/builders/V8%20-%20node.js%20integr...

Powered by Google App Engine
This is Rietveld 408576698