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

Issue 1214613003: WebDataConsumerHandle shouldn't be used on non-Oilpan threads. (Closed)

Created:
5 years, 6 months ago by yhirano
Modified:
5 years, 5 months ago
Reviewers:
hiroshige, haraken, tkent
CC:
blink-reviews, dglazkov+blink
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

WebDataConsumerHandle shouldn't be used on non-Oilpan threads. Some WebDataConsumerHandle subclasses use on-heap objects and Oilpan requires the followings: - Non-oilpan threads must not touch on-heap objects. - Objects must not outlive the thread that created the objects. For example, it is invalid to keep holding a Persistent handle to an object that was created by a thread already detached. As a result, such WebDataConsumerHandle subclasses cannot be used in non-oilpan threads. We hope we will get rid of this restriction in the future. BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197982

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -2 lines) Patch
M Source/platform/blink_platform.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A Source/platform/exported/WebDataConsumerHandle.cpp View 1 1 chunk +29 lines, -0 lines 0 comments Download
M public/platform/WebDataConsumerHandle.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
yhirano
5 years, 6 months ago (2015-06-26 06:33:10 UTC) #2
haraken
> As some WebDataConsumerHandle have a problem with Persistent reference cleanup in non-oilpan threads Would ...
5 years, 6 months ago (2015-06-26 06:35:54 UTC) #3
haraken
LGTM either way.
5 years, 6 months ago (2015-06-26 06:37:13 UTC) #4
yhirano
Thanks, fixed the issue description.
5 years, 6 months ago (2015-06-26 06:53:36 UTC) #5
hiroshige
lgtm.
5 years, 6 months ago (2015-06-26 06:53:39 UTC) #6
hiroshige
optional: including the word Oilpan in the CL description would be good.
5 years, 6 months ago (2015-06-26 06:55:27 UTC) #7
yhirano
On 2015/06/26 06:55:27, hiroshige wrote: > optional: including the word Oilpan in the CL description ...
5 years, 6 months ago (2015-06-26 06:58:05 UTC) #8
yhirano
+tkent for OWNER review.
5 years, 6 months ago (2015-06-26 07:09:15 UTC) #10
tkent
https://codereview.chromium.org/1214613003/diff/1/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1214613003/diff/1/public/platform/WebDataConsumerHandle.h#newcode27 public/platform/WebDataConsumerHandle.h:27: // WebDataConsumerHandle can be created / used / destructed ...
5 years, 6 months ago (2015-06-26 07:13:39 UTC) #11
yhirano
https://codereview.chromium.org/1214613003/diff/1/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1214613003/diff/1/public/platform/WebDataConsumerHandle.h#newcode27 public/platform/WebDataConsumerHandle.h:27: // WebDataConsumerHandle can be created / used / destructed ...
5 years, 6 months ago (2015-06-26 11:25:33 UTC) #12
tkent
lgtm
5 years, 5 months ago (2015-06-28 11:38:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214613003/40001
5 years, 5 months ago (2015-06-29 09:15:35 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/49007)
5 years, 5 months ago (2015-06-29 09:18:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214613003/60001
5 years, 5 months ago (2015-06-29 10:37:58 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/68596)
5 years, 5 months ago (2015-06-29 11:46:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214613003/60001
5 years, 5 months ago (2015-06-29 11:48:57 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 12:36:38 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197982

Powered by Google App Engine
This is Rietveld 408576698