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

Issue 2673693003: [wrapper-tracing] Don't call into V8 during heap snapshot creation (Closed)

Created:
3 years, 10 months ago by Michael Lippautz
Modified:
3 years, 10 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, kozy, ulan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Don't call into V8 during heap snapshot creation Without this fix we would call into V8 for marking an object when creating a heap snapshot. The intented behavior is to intercept marking and record an edge in the snapshot. We cannot do that right now as we cannot properly intercept marking in GlobalValueMaps and their friends. Note that this is not a regression as we still record the object as live in the snapshot and we also didn't record the edge using object grouping. BUG=chromium:688162 Review-Url: https://codereview.chromium.org/2673693003 Cr-Commit-Position: refs/heads/master@{#448056} Committed: https://chromium.googlesource.com/chromium/src/+/c03dcfbe13aecc48b0b4cd0a107a8d659bdda939

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment #

Total comments: 2

Patch Set 3 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp View 1 2 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
Michael Lippautz
ptal
3 years, 10 months ago (2017-02-03 00:07:17 UTC) #2
haraken
https://codereview.chromium.org/2673693003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/2673693003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode199 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:199: const ScriptWrappable* traceable) const override { What happens if ...
3 years, 10 months ago (2017-02-03 03:55:46 UTC) #7
Michael Lippautz
https://codereview.chromium.org/2673693003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/2673693003/diff/1/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode199 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:199: const ScriptWrappable* traceable) const override { On 2017/02/03 03:55:45, ...
3 years, 10 months ago (2017-02-03 04:49:36 UTC) #8
haraken
LGTM https://codereview.chromium.org/2673693003/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/2673693003/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode138 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:138: m_firstScriptWrappableTraced(false) {} Shall we add DCHECK(isMainThread()) (for a ...
3 years, 10 months ago (2017-02-03 07:46:13 UTC) #13
Michael Lippautz
https://codereview.chromium.org/2673693003/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp File third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp (right): https://codereview.chromium.org/2673693003/diff/20001/third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp#newcode138 third_party/WebKit/Source/bindings/core/v8/V8GCController.cpp:138: m_firstScriptWrappableTraced(false) {} On 2017/02/03 07:46:12, haraken wrote: > > ...
3 years, 10 months ago (2017-02-03 15:51:31 UTC) #14
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/2673693003/40001
3 years, 10 months ago (2017-02-03 15:51:54 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 19:46:13 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c03dcfbe13aecc48b0b4cd0a107a...

Powered by Google App Engine
This is Rietveld 408576698