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

Issue 2032213003: Introduce api for incremental wrapper tracing (Closed)

Created:
4 years, 6 months ago by Marcel Hlopko
Modified:
4 years, 6 months ago
CC:
Hannes Payer (out of office), Paweł Hajdan Jr., ulan, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce api for incremental wrapper tracing This cl sketches an api for incremental wrapper tracing, but still uses the api in the stop-the-world fashion. Responsibility to maintain a marking deque is transfered to the embedder. V8 will still collect wrapper internal fields, but will send them to the embedder after each incremental gc task. Wrappers must be sent at latest by the time next oilpan gc runs - so blink can keep all discovered wrappables alive. The old api will be cleared after this cl and corresponding blink cl land. Comments are very welcomed :) LOG=no BUG=468240 Committed: https://crrev.com/0f93486699aad9dd6a6c2f9465106351898d840a Cr-Commit-Position: refs/heads/master@{#36761}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Introduce AdvanceTracingActions #

Patch Set 3 : Provide default implementation for TraceWrappersFrom for easier migration #

Total comments: 1

Patch Set 4 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -12 lines) Patch
M include/v8.h View 1 2 1 chunk +32 lines, -6 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M src/heap/mark-compact.cc View 1 3 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Marcel Hlopko
Ptal.
4 years, 6 months ago (2016-06-03 15:12:38 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/2032213003/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2032213003/diff/1/src/heap/incremental-marking.cc#newcode751 src/heap/incremental-marking.cc:751: if (heap_->UsingEmbedderHeapTracer()) { I would rather have this call ...
4 years, 6 months ago (2016-06-06 12:55:57 UTC) #3
Marcel Hlopko
https://codereview.chromium.org/2032213003/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2032213003/diff/1/src/heap/incremental-marking.cc#newcode751 src/heap/incremental-marking.cc:751: if (heap_->UsingEmbedderHeapTracer()) { Done. https://codereview.chromium.org/2032213003/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2032213003/diff/1/src/heap/mark-compact.cc#newcode2128 ...
4 years, 6 months ago (2016-06-06 13:47:44 UTC) #4
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/2032213003/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2032213003/diff/40001/src/heap/heap.cc#newcode1629 src/heap/heap.cc:1629: if (UsingEmbedderHeapTracer()) { Leave a comment why we ...
4 years, 6 months ago (2016-06-06 14:48:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032213003/60001
4 years, 6 months ago (2016-06-06 16:03:37 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-06 16:32:27 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 16:34:09 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f93486699aad9dd6a6c2f9465106351898d840a
Cr-Commit-Position: refs/heads/master@{#36761}

Powered by Google App Engine
This is Rietveld 408576698