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

Issue 2024993003: Add CrossThreadCopier and isolatedCopy() to SourceLocation. (Closed)

Created:
4 years, 6 months ago by dgozman
Modified:
4 years, 6 months ago
Reviewers:
haraken, sof, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CrossThreadCopier and isolatedCopy() to SourceLocation. We have to make isolatedCopy of every WTF::String when passing SourceLocation between threads. This fixes data race introduced by https://codereview.chromium.org/2010603002. BUG=615712 Committed: https://crrev.com/48e31ee8f0d774b8674b90a7167e648ada24292c Cr-Commit-Position: refs/heads/master@{#397137}

Patch Set 1 #

Total comments: 1

Messages

Total messages: 15 (6 generated)
dgozman
@sigbjornf: could you please take a look? +haraken for bindings/ owner.
4 years, 6 months ago (2016-05-31 23:07:25 UTC) #2
haraken
LGTM
4 years, 6 months ago (2016-05-31 23:37:01 UTC) #3
sof
lgtm too
4 years, 6 months ago (2016-06-01 05:11:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024993003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024993003/1
4 years, 6 months ago (2016-06-01 05:23:15 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/231092)
4 years, 6 months ago (2016-06-01 10:50:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024993003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024993003/1
4 years, 6 months ago (2016-06-01 12:40:02 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-01 14:31:23 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/48e31ee8f0d774b8674b90a7167e648ada24292c Cr-Commit-Position: refs/heads/master@{#397137}
4 years, 6 months ago (2016-06-01 14:32:48 UTC) #13
pfeldman
4 years, 6 months ago (2016-06-08 02:22:18 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/2024993003/diff/1/third_party/WebKit/Source/p...
File third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.cpp
(right):

https://codereview.chromium.org/2024993003/diff/1/third_party/WebKit/Source/p...
third_party/WebKit/Source/platform/v8_inspector/V8StackTraceImpl.cpp:90: return
Frame(m_functionName.isolatedCopy(), m_scriptId.isolatedCopy(),
m_scriptName.isolatedCopy(), m_lineNumber, m_columnNumber);
We should not pass this struct between threads at all.

Powered by Google App Engine
This is Rietveld 408576698