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

Issue 2471023004: Lock CrossThreadPersistentRegion while poisoning HeapPages (Closed)

Created:
4 years, 1 month ago by keishi
Modified:
4 years, 1 month ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, blink-reviews, kouhei+heap_chromium.org, oilpan-reviews, Mads Ager (chromium)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Lock CrossThreadPersistentRegion while poisoning HeapPages When CrossThreadPersistentRegion::prepareForThreadStateTermination or CrossThreadPersistentRegion::tracePersistentNodes is called, we iterate over all CrossThreadPersistents. While that is happening in one thread, another thread was calling ThreadState::poisonAllHeaps(), causing poisoning to happen simultaneously. BUG=660760 Committed: https://crrev.com/e83436f136fef95c74f113f456327edf33a4339b Cr-Commit-Position: refs/heads/master@{#429842}

Patch Set 1 #

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

Messages

Total messages: 11 (4 generated)
keishi
PTAL
4 years, 1 month ago (2016-11-02 15:03:46 UTC) #2
haraken
Maybe the real problem is that the poisoning is not happening during the stop-the-world phase? ...
4 years, 1 month ago (2016-11-02 15:07:45 UTC) #3
keishi
On 2016/11/02 15:07:45, haraken wrote: > Maybe the real problem is that the poisoning is ...
4 years, 1 month ago (2016-11-04 07:59:33 UTC) #5
haraken
Discussed offline. LGTM.
4 years, 1 month ago (2016-11-04 08:10:50 UTC) #6
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/2471023004/1
4 years, 1 month ago (2016-11-04 08:20:23 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-04 09:50:34 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 09:52:23 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e83436f136fef95c74f113f456327edf33a4339b
Cr-Commit-Position: refs/heads/master@{#429842}

Powered by Google App Engine
This is Rietveld 408576698