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

Issue 2287343002: [heap] Integrate embedder heap tracer into incremental marking (Closed)

Created:
4 years, 3 months ago by Michael Lippautz
Modified:
4 years, 3 months ago
Reviewers:
ulan
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Integrate embedder heap tracer into incremental marking - Respect a deadline when processing wrappers during incremental marking, i.e., don't force completetion on each individual step - Only finalize when both, the internal marking deque and wrappers, are processed Some results (twitter using --enable-blink-features=TraceWrappables) === BEFORE === incremental_wrapper_tracing_longest_step len: 13 min: 0.0 ---> max: 6.6 ---> avg: 3.83846153846 [0,5[: 7 [5,10[: 6 mark.wrapper_tracing len: 13 min: 0.0 max: 2.0 (non-incremental MC) avg: 0.153846153846 [0,5[: 13 === AFTER === incremental_wrapper_tracing_longest_step len: 8 min: 0.0 ---> max: 1.1 ---> avg: 0.8875 [0,5[: 8 mark.wrapper_tracing (not excluding non-incremental MC) len: 8 min: 0.0 max: 2.5 (non-incremental MC) avg: 0.3125 [0,5[: 8 BUG=chromium:468240 R=ulan@chromium.org Committed: https://crrev.com/998c9285ea4c42d0580c218449c84c02bf2d5d15 Cr-Commit-Position: refs/heads/master@{#39041}

Patch Set 1 #

Patch Set 2 : Improvements #

Patch Set 3 : Fixes and rebase #

Total comments: 4

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -28 lines) Patch
M src/heap/heap.h View 1 2 3 chunks +16 lines, -8 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 chunks +28 lines, -14 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (19 generated)
Michael Lippautz
PTAL Any reason why the EmbedderHeapTracer* lives in MC? We are using from all over ...
4 years, 3 months ago (2016-08-31 09:16:43 UTC) #7
ulan
lgtm https://codereview.chromium.org/2287343002/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2287343002/diff/40001/src/heap/heap.cc#newcode4191 src/heap/heap.cc:4191: mark_compact_collector()->marking_deque()->IsEmpty()))) { I think we should replace this ...
4 years, 3 months ago (2016-08-31 09:29:57 UTC) #8
Marcel Hlopko
On 2016/08/31 at 09:16:43, mlippautz wrote: > PTAL > > Any reason why the EmbedderHeapTracer* ...
4 years, 3 months ago (2016-08-31 09:46:49 UTC) #16
Michael Lippautz
https://codereview.chromium.org/2287343002/diff/40001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2287343002/diff/40001/src/heap/heap.cc#newcode4191 src/heap/heap.cc:4191: mark_compact_collector()->marking_deque()->IsEmpty()))) { On 2016/08/31 09:29:57, ulan wrote: > I ...
4 years, 3 months ago (2016-08-31 09:54:29 UTC) #17
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/2287343002/60001
4 years, 3 months ago (2016-08-31 10:08:35 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-31 10:10:13 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 10:10:26 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/998c9285ea4c42d0580c218449c84c02bf2d5d15
Cr-Commit-Position: refs/heads/master@{#39041}

Powered by Google App Engine
This is Rietveld 408576698