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

Issue 940263004: BlinkGCPlugin: Add support for traceAfterDispatchImpl(). (Closed)

Created:
5 years, 10 months ago by Yuta Kitamura
Modified:
5 years, 10 months ago
Reviewers:
kouhei (in TOK)
CC:
chromium-reviews, zerny-chromium, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BlinkGCPlugin: Add support for traceAfterDispatchImpl(). This patch adds support for trace call validation in traceAfterDispatchImpl() which can be called from traceAfterDispatch(). The changes in this patch should be mostly straightforward except for the introduction of Config::GetTraceMethodType(). The motivation to this change is based on the fact that we now have four different types of trace functions. The function is extended from the former Config::IsTraceMethod() so it can return the type of the trace method as defined in TraceMethodType. The new Config::IsTraceMethod() is implemented in terms of it. This patch comes with tests that check traceAfterDispatchImpl() use cases (both valid and invalid), and some obvious refactorings to follow Chromium coding style. BUG=none R=kouhei@chromium.org CC=zerny@chromium.org, oilpan-reviews@chromium.org Committed: https://crrev.com/1d8ad73cca9d20a5e45821edd30c22bfa105840e Cr-Commit-Position: refs/heads/master@{#317541}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adjust switch-case order. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -44 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 6 chunks +16 lines, -14 lines 0 comments Download
M tools/clang/blink_gc_plugin/Config.h View 3 chunks +36 lines, -11 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.cpp View 1 1 chunk +26 lines, -20 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl.h View 1 chunk +88 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl.cpp View 1 chunk +53 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl_error.h View 1 chunk +87 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl_error.cpp View 1 chunk +52 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/trace_after_dispatch_impl_error.txt View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Yuta Kitamura
5 years, 10 months ago (2015-02-20 07:23:39 UTC) #1
kouhei (in TOK)
Reviewing from 新幹線 https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp File tools/clang/blink_gc_plugin/RecordInfo.cpp (right): https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp#newcode438 tools/clang/blink_gc_plugin/RecordInfo.cpp:438: if (it->getNameAsString() == kFinalizeName) { Should ...
5 years, 10 months ago (2015-02-20 08:07:21 UTC) #2
Yuta Kitamura
https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp File tools/clang/blink_gc_plugin/RecordInfo.cpp (right): https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp#newcode438 tools/clang/blink_gc_plugin/RecordInfo.cpp:438: if (it->getNameAsString() == kFinalizeName) { On 2015/02/20 08:07:21, kouhei ...
5 years, 10 months ago (2015-02-20 09:40:27 UTC) #3
kouhei (in TOK)
On 2015/02/20 09:40:27, Yuta Kitamura wrote: > https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp > File tools/clang/blink_gc_plugin/RecordInfo.cpp (right): > > https://codereview.chromium.org/940263004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp#newcode438 ...
5 years, 10 months ago (2015-02-20 10:28:43 UTC) #4
Yuta Kitamura
Thanks, I have applied the adjustment of "case" tags order I mentioned in my comment, ...
5 years, 10 months ago (2015-02-23 03:37:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/940263004/20001
5 years, 10 months ago (2015-02-23 03:38:17 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/61454)
5 years, 10 months ago (2015-02-23 03:41:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/940263004/20001
5 years, 10 months ago (2015-02-23 04:07:19 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-23 04:17:34 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 04:18:24 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1d8ad73cca9d20a5e45821edd30c22bfa105840e
Cr-Commit-Position: refs/heads/master@{#317541}

Powered by Google App Engine
This is Rietveld 408576698