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

Issue 2610853002: [wrapper-tracing] Enable cleanup and invalidating on WorkerBackingThread (Closed)

Created:
3 years, 11 months ago by Michael Lippautz
Modified:
3 years, 11 months ago
Reviewers:
haraken, Marcel Hlopko
CC:
blink-reviews, blink-worker-reviews_chromium.org, chromium-reviews, falken+watch_chromium.org, horo+watch_chromium.org, kinuko+worker_chromium.org, shimazu+worker_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Enable cleanup and invalidating on WorkerBackingThread While worker threads have no DOM access, they still get a scripting environment and need wrapper tracing. Failing to invalidate and/or cleanup wrappers will leave dangling pointers behind. BUG=676700, 468240 Committed: https://crrev.com/9b65fe51909ad937b34d14dd8fcde88b3f2aedf6 Cr-Commit-Position: refs/heads/master@{#441402}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp View 1 1 chunk +4 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Michael Lippautz
3 years, 11 months ago (2017-01-04 13:58:52 UTC) #3
haraken
LGTM
3 years, 11 months ago (2017-01-04 14:30:46 UTC) #8
haraken
https://codereview.chromium.org/2610853002/diff/1/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp File third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp (left): https://codereview.chromium.org/2610853002/diff/1/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp#oldcode76 third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp:76: m_isolate, V8GCController::traceDOMWrappers, nullptr, nullptr); Can we forbid registerTraceDOMWrappers() accepting ...
3 years, 11 months ago (2017-01-04 14:32:59 UTC) #9
Michael Lippautz
https://codereview.chromium.org/2610853002/diff/1/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp File third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp (left): https://codereview.chromium.org/2610853002/diff/1/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp#oldcode76 third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp:76: m_isolate, V8GCController::traceDOMWrappers, nullptr, nullptr); On 2017/01/04 14:32:59, haraken wrote: ...
3 years, 11 months ago (2017-01-04 14:44:09 UTC) #10
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/2610853002/20001
3 years, 11 months ago (2017-01-04 14:44:31 UTC) #13
Marcel Hlopko
lgtm
3 years, 11 months ago (2017-01-04 15:25:52 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 17:36:43 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 17:40:56 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9b65fe51909ad937b34d14dd8fcde88b3f2aedf6
Cr-Commit-Position: refs/heads/master@{#441402}

Powered by Google App Engine
This is Rietveld 408576698