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

Issue 2051103002: Move EmbedderHeapTracer::TracePrologue call to the beginning of full gc (Closed)

Created:
4 years, 6 months ago by Marcel Hlopko
Modified:
4 years, 6 months ago
CC:
Hannes Payer (out of office), 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

Move EmbedderHeapTracer::TracePrologue call to the beginning of full gc With cl https://codereview.chromium.org/2043033002 blink will add new wrappers to its marking deque (and maintain this deque) so black allocated wrappers are not a problem anymore. To limit the scope of when blink has to detect wrappers, we need to tell blink when we start and when we end full gcs. For that we can nicely use TracePrologue and TraceEpilogue. LOG=no BUG=468240 Committed: https://crrev.com/ac1587bb86708d800f8e7bd9a2d30f4c04c6f964 Cr-Commit-Position: refs/heads/master@{#36937}

Patch Set 1 #

Patch Set 2 : Remove irrelevant stuff #

Total comments: 1

Patch Set 3 : Add abort #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M include/v8.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Marcel Hlopko
Ptal. Are these truly the only 2 entry points to the full gc?
4 years, 6 months ago (2016-06-09 12:07:49 UTC) #2
Michael Lippautz
Should be the only places for a full GC, yes. https://codereview.chromium.org/2051103002/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2051103002/diff/20001/src/heap/mark-compact.cc#newcode865 ...
4 years, 6 months ago (2016-06-09 14:18:13 UTC) #3
Marcel Hlopko
So I taught EmbedderHeapTracer how to abort :)
4 years, 6 months ago (2016-06-09 14:33:19 UTC) #4
Michael Lippautz
lgtm from my side but please wait for one of the others too as I ...
4 years, 6 months ago (2016-06-10 11:24:00 UTC) #5
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-13 15:23:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2051103002/40001
4 years, 6 months ago (2016-06-13 16:43:15 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-13 17:13:09 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 17:15:39 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ac1587bb86708d800f8e7bd9a2d30f4c04c6f964
Cr-Commit-Position: refs/heads/master@{#36937}

Powered by Google App Engine
This is Rietveld 408576698