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

Issue 2051053002: Fix data race in blink::ThreadHeap::detach (Closed)

Created:
4 years, 6 months ago by keishi
Modified:
4 years, 6 months ago
Reviewers:
haraken, sof, oilpan-review
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), rouslan+autofill_chromium.org, jdonnelly+autofillwatch_chromium.org, blink-reviews, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, kouhei+heap_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix data race in blink::ThreadHeap::detach BUG=618504 Committed: https://crrev.com/32ab2d4c4cdca33398c7af1e05c058d5f10102ab Cr-Commit-Position: refs/heads/master@{#399126}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
keishi
PTAL
4 years, 6 months ago (2016-06-09 09:49:39 UTC) #2
sof
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 third_party/WebKit/Source/platform/heap/Heap.cpp:277: DCHECK(!thread->isMainThread() || m_threads.isEmpty()); This assert isn't accurate, DCHECK(thread->isMainThread() == ...
4 years, 6 months ago (2016-06-09 09:55:09 UTC) #4
sof
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode281 third_party/WebKit/Source/platform/heap/Heap.cpp:281: delete this; Won't this UAF when the mutex locker ...
4 years, 6 months ago (2016-06-09 10:00:47 UTC) #5
keishi
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 third_party/WebKit/Source/platform/heap/Heap.cpp:277: DCHECK(!thread->isMainThread() || m_threads.isEmpty()); On 2016/06/09 09:55:09, sof wrote: > ...
4 years, 6 months ago (2016-06-09 10:37:26 UTC) #6
sof
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 third_party/WebKit/Source/platform/heap/Heap.cpp:277: DCHECK(!thread->isMainThread() || m_threads.isEmpty()); On 2016/06/09 10:37:25, keishi wrote: > ...
4 years, 6 months ago (2016-06-09 10:44:57 UTC) #7
keishi
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 third_party/WebKit/Source/platform/heap/Heap.cpp:277: DCHECK(!thread->isMainThread() || m_threads.isEmpty()); For a per-thread-heap enabled thread: thread->isMainThread() ...
4 years, 6 months ago (2016-06-09 11:47:34 UTC) #8
sof
https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp File third_party/WebKit/Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 third_party/WebKit/Source/platform/heap/Heap.cpp:277: DCHECK(!thread->isMainThread() || m_threads.isEmpty()); On 2016/06/09 11:47:34, keishi wrote: > ...
4 years, 6 months ago (2016-06-09 12:00:25 UTC) #9
keishi
On 2016/06/09 12:00:25, sof wrote: > https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp > File third_party/WebKit/Source/platform/heap/Heap.cpp (right): > > https://codereview.chromium.org/2051053002/diff/20001/third_party/WebKit/Source/platform/heap/Heap.cpp#newcode277 > ...
4 years, 6 months ago (2016-06-10 02:12:18 UTC) #10
sof
lgtm
4 years, 6 months ago (2016-06-10 05:21:11 UTC) #11
haraken
LGTM
4 years, 6 months ago (2016-06-10 05:21:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051053002/80001
4 years, 6 months ago (2016-06-10 05:22:29 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-10 06:48:02 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 06:48:04 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 06:50:43 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/32ab2d4c4cdca33398c7af1e05c058d5f10102ab
Cr-Commit-Position: refs/heads/master@{#399126}

Powered by Google App Engine
This is Rietveld 408576698