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

Issue 2406333002: Remove CrossThreadPersistent::release (Closed)

Created:
4 years, 2 months ago by keishi
Modified:
4 years, 2 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, oilpan-reviews, Mads Ager (chromium), shimazu+serviceworker_chromium.org, serviceworker-reviews, nhiroki, shimazu+worker_chromium.org, falken, kinuko+worker_chromium.org, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, tzik, kouhei+heap_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CrossThreadPersistent::release Calling CrossThreadPersistent::release was causing WorkerClients to be destroyed prematurely. The stack for per thread heap enabled threads are invisible from other threads running GC. Using CrossThreadPersistent::release runs the risk of premature collection so we should delete it. BUG=652001, 653272, 652458, 653657, 652556, 653124, 651790 Committed: https://crrev.com/fb7d72c8ec38f54f84c226c07c4c980283687d17 Cr-Commit-Position: refs/heads/master@{#424688}

Patch Set 1 #

Patch Set 2 : added comment #

Messages

Total messages: 12 (4 generated)
keishi
During the last memory meeting I talked about getting ASAN crashes inside CrossThreadPersistentRegion::shouldTracePersistentNode (like this ...
4 years, 2 months ago (2016-10-11 15:18:49 UTC) #2
haraken
LGTM However, I don't think CrossThreadPersistent::release itself is a bad thing. CrossThreadPersistent::release works fine as ...
4 years, 2 months ago (2016-10-11 15:40:32 UTC) #3
keishi
On 2016/10/11 15:40:32, haraken wrote: > LGTM > > However, I don't think CrossThreadPersistent::release itself ...
4 years, 2 months ago (2016-10-12 01:20:34 UTC) #4
haraken
On 2016/10/12 01:20:34, keishi wrote: > On 2016/10/11 15:40:32, haraken wrote: > > LGTM > ...
4 years, 2 months ago (2016-10-12 01:37:12 UTC) #5
keishi
On 2016/10/12 01:37:12, haraken wrote: > On 2016/10/12 01:20:34, keishi wrote: > > On 2016/10/11 ...
4 years, 2 months ago (2016-10-12 03:01:00 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/2406333002/20001
4 years, 2 months ago (2016-10-12 03:01:27 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 07:27:01 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 07:29:42 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fb7d72c8ec38f54f84c226c07c4c980283687d17
Cr-Commit-Position: refs/heads/master@{#424688}

Powered by Google App Engine
This is Rietveld 408576698