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

Issue 2532133003: [wrapper-tracing] CHECK against isWrapperTracingForbidden instead of isGCForbidden (Closed)

Created:
4 years ago by Michael Lippautz
Modified:
4 years ago
Reviewers:
haraken, Marcel Hlopko
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] CHECK against isWrapperTracingForbidden instead of isGCForbidden We only require proper tracing functionality but don't trigger any collection on the Oilpan heap. Introduce a new getter ThreadState::isWrapperTracingForbidden() for that purpose. Drive-by: CHECK on calling v8::Function that we are indeed allowed to trace wrappers. BUG=chromium:468240 Committed: https://crrev.com/9d12bf2df018d41a99903ff29c9b729a4ad829cb Cr-Commit-Position: refs/heads/master@{#434994}

Patch Set 1 #

Patch Set 2 : Relax check since we actually only have to worry about mixin ctors #

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

Messages

Total messages: 21 (15 generated)
Michael Lippautz
PTAL. We probably can relax some of those CHECKS to DCHECKS once stabilized.
4 years ago (2016-11-29 12:30:51 UTC) #9
haraken
LGTM
4 years ago (2016-11-29 12:49:00 UTC) #12
Marcel Hlopko
lgtm
4 years ago (2016-11-29 13:41:54 UTC) #13
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/2532133003/20001
4 years ago (2016-11-29 14:09:16 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-29 15:25:58 UTC) #19
commit-bot: I haz the power
4 years ago (2016-11-29 15:29:16 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9d12bf2df018d41a99903ff29c9b729a4ad829cb
Cr-Commit-Position: refs/heads/master@{#434994}

Powered by Google App Engine
This is Rietveld 408576698