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

Issue 2869413002: [heap] MinorMC: Only iterate new space global handles for ptr updates (Closed)

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

Description

[heap] MinorMC: Only iterate new space global handles for ptr updates The reason we need this mode is that IterateRoots for the Scavenger only captures dependent weak nodes. This is also what we do for marking for the minor MC. Since the regular marking might also mark objects that are weakly (non-dependently) pointed to by nodes we need to capture all of them during pointers updating. The reason this works for the Scavenger is because we do one pass at the end of the scavenger (combined with resetting) that captures all those nodes. BUG=chromium:651354 Review-Url: https://codereview.chromium.org/2869413002 Cr-Commit-Position: refs/heads/master@{#45248} Committed: https://chromium.googlesource.com/v8/v8/+/4ea91a0190ab5a167791eb0e2e47d355068193a3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M src/global-handles.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/global-handles.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/globals.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M src/heap/mark-compact.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
Michael Lippautz
PTAL
3 years, 7 months ago (2017-05-10 13:39:16 UTC) #3
Michael Lippautz
+jochen
3 years, 7 months ago (2017-05-10 13:45:48 UTC) #5
Hannes Payer (out of office)
LGTM, I guess
3 years, 7 months ago (2017-05-10 13:46:56 UTC) #6
jochen (gone - plz use gerrit)
test maybe?
3 years, 7 months ago (2017-05-10 13:48:02 UTC) #7
Michael Lippautz
Updated the description to include why we need the different mode. Picking the wrong mode ...
3 years, 7 months ago (2017-05-10 20:34:27 UTC) #11
jochen (gone - plz use gerrit)
lgtm
3 years, 7 months ago (2017-05-11 07:58:07 UTC) #16
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/2869413002/1
3 years, 7 months ago (2017-05-11 08:05:26 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 08:07:09 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/4ea91a0190ab5a167791eb0e2e47d355068...

Powered by Google App Engine
This is Rietveld 408576698