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

Issue 2624443003: Enable ThreadRestrictionVerifier for StringImpl (Closed)

Created:
3 years, 11 months ago by Charlie Harrison
Modified:
3 years, 11 months ago
Reviewers:
haraken, esprehn
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable ThreadRestrictionVerifier for StringImpl BUG=442246 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2624443003 Cr-Commit-Position: refs/heads/master@{#443753} Committed: https://chromium.googlesource.com/chromium/src/+/67786570f5237e940df0356546f36ad230f5cd45

Patch Set 1 #

Patch Set 2 : more fixes #

Patch Set 3 : Get rid of vestigial debugging code #

Total comments: 4

Patch Set 4 : dependent patch #

Patch Set 5 : threadchecker #

Patch Set 6 : simplify #

Total comments: 2

Patch Set 7 : rebase on TLS CL (inc. asan errors) #

Total comments: 5

Patch Set 8 : add TODO #

Patch Set 9 : minimal const peppering #

Total comments: 1

Patch Set 10 : static assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -45 lines) Patch
M third_party/WebKit/Source/core/dom/Node.cpp View 1 2 3 4 5 6 7 3 chunks +21 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/RefCounted.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h View 1 2 3 4 5 6 3 chunks +16 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/StringImpl.h View 1 2 3 4 5 6 7 8 9 5 chunks +31 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/StringImpl.cpp View 1 2 3 4 5 6 7 8 9 5 chunks +23 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/StringImplTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 64 (44 generated)
Charlie Harrison
Hey esprehn, this is almost ready but is hitting lots of flaky layout test timeouts. ...
3 years, 11 months ago (2017-01-11 22:04:47 UTC) #25
esprehn
On 2017/01/11 at 22:04:47, csharrison wrote: > Hey esprehn, > this is almost ready but ...
3 years, 11 months ago (2017-01-11 22:08:34 UTC) #26
Charlie Harrison
On 2017/01/11 22:08:34, esprehn wrote: > On 2017/01/11 at 22:04:47, csharrison wrote: > > Hey ...
3 years, 11 months ago (2017-01-11 22:18:23 UTC) #27
esprehn
https://codereview.chromium.org/2624443003/diff/40001/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2624443003/diff/40001/third_party/WebKit/Source/core/dom/Node.cpp#newcode1501 third_party/WebKit/Source/core/dom/Node.cpp:1501: name.append(impl->is8Bit() Why does't the thisElement.classNames() line below cause the ...
3 years, 11 months ago (2017-01-11 22:34:02 UTC) #30
haraken
On 2017/01/11 22:08:34, esprehn wrote: > On 2017/01/11 at 22:04:47, csharrison wrote: > > Hey ...
3 years, 11 months ago (2017-01-11 23:57:57 UTC) #31
Charlie Harrison
Depending on the syscall speed in Win/Mac, we may not need oilpan's hack on top ...
3 years, 11 months ago (2017-01-12 16:42:30 UTC) #32
Charlie Harrison
Ok I've rebased this CL on the TLS change. Hopefully this will remove the flaky ...
3 years, 11 months ago (2017-01-12 22:50:08 UTC) #35
esprehn
https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp#newcode119 third_party/WebKit/Source/core/dom/Node.cpp:119: void appendUnsafe(StringBuilder& builder, const String& offThreadString) { This needs ...
3 years, 11 months ago (2017-01-12 23:00:00 UTC) #36
haraken
LGTM on my side. https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp#newcode119 third_party/WebKit/Source/core/dom/Node.cpp:119: void appendUnsafe(StringBuilder& builder, const String& ...
3 years, 11 months ago (2017-01-13 04:39:05 UTC) #39
Charlie Harrison
https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/2624443003/diff/120001/third_party/WebKit/Source/core/dom/Node.cpp#newcode119 third_party/WebKit/Source/core/dom/Node.cpp:119: void appendUnsafe(StringBuilder& builder, const String& offThreadString) { On 2017/01/13 ...
3 years, 11 months ago (2017-01-13 17:42:25 UTC) #41
esprehn
Why do we need const correctness here? When this gets called the whole process is ...
3 years, 11 months ago (2017-01-13 17:45:22 UTC) #43
Charlie Harrison
On 2017/01/13 17:45:22, esprehn wrote: > Why do we need const correctness here? When this ...
3 years, 11 months ago (2017-01-13 17:50:13 UTC) #44
esprehn
On 2017/01/13 at 17:50:13, csharrison wrote: > On 2017/01/13 17:45:22, esprehn wrote: > > Why ...
3 years, 11 months ago (2017-01-13 17:56:57 UTC) #45
Charlie Harrison
I added a minimal subset of consts to StringImpl such that substring() is const and ...
3 years, 11 months ago (2017-01-13 19:36:48 UTC) #48
esprehn
lgtm w/ a nit. You can fix it here or in a follow up. We ...
3 years, 11 months ago (2017-01-13 22:35:29 UTC) #49
Charlie Harrison
Take a look and see if you look the static_asserts. I felt nervous about static_asserting ...
3 years, 11 months ago (2017-01-13 23:16:02 UTC) #54
esprehn
lgtm
3 years, 11 months ago (2017-01-14 00:52:48 UTC) #57
esprehn
lgtm
3 years, 11 months ago (2017-01-14 00:52:55 UTC) #58
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/2624443003/180001
3 years, 11 months ago (2017-01-14 00:58:42 UTC) #61
commit-bot: I haz the power
3 years, 11 months ago (2017-01-14 01:07:16 UTC) #64
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/67786570f5237e940df0356546f3...

Powered by Google App Engine
This is Rietveld 408576698