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

Issue 2084933002: Implement wrapper tracing verifier (Closed)

Created:
4 years, 6 months ago by Marcel Hlopko
Modified:
4 years, 6 months ago
CC:
Mads Ager (chromium), blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, haraken, kouhei+heap_chromium.org, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement wrapper tracing verifier Verifier simulates stop-the-world wrapper tracing and checks, that all objects that would be found during atomic pause were actually found by incremental wrapper tracing too. If not, that means some write barrier is missing. It works by recording all v8 reported wrappers and all newly associated wrappers, tracing from these in the atomic pause, and checking whether all reachable objects were marked. LOG=no BUG=468240 Committed: https://crrev.com/a973a859a9b6c995ff5081174426306a9fa3914d Cr-Commit-Position: refs/heads/master@{#401580}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use verifier when dchecks are on #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -0 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h View 1 5 chunks +40 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp View 1 6 chunks +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorVerifier.h View 1 1 chunk +73 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/v8.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Marcel Hlopko
Ptal.
4 years, 6 months ago (2016-06-21 13:45:56 UTC) #2
jochen (gone - plz use gerrit)
landing this would make sense, no?
4 years, 6 months ago (2016-06-22 13:33:43 UTC) #3
Marcel Hlopko
On 2016/06/22 at 13:33:43, jochen wrote: > landing this would make sense, no? Yep I ...
4 years, 6 months ago (2016-06-22 13:38:28 UTC) #4
haraken
LGTM I'm just curious but if you enable the verification on Debug builds (instead of ...
4 years, 6 months ago (2016-06-22 15:43:12 UTC) #5
Marcel Hlopko
Agreeing on all points, fixed all, landing :) https://codereview.chromium.org/2084933002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp (right): https://codereview.chromium.org/2084933002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp#newcode99 third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp:99: m_advancingTracing ...
4 years, 6 months ago (2016-06-23 09:09:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2084933002/20001
4 years, 6 months ago (2016-06-23 09:09:48 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-23 11:28:01 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 11:29:45 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a973a859a9b6c995ff5081174426306a9fa3914d
Cr-Commit-Position: refs/heads/master@{#401580}

Powered by Google App Engine
This is Rietveld 408576698