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

Issue 1410593005: Adds a scavenge GC pass to collect unmodified references (Closed)

Created:
5 years, 2 months ago by mythria
Modified:
5 years, 1 month ago
CC:
Paweł Hajdan Jr., 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

Adds a scavenge GC pass to collect unmodified references Adds a scavenge GC pass that collects unmodified references instead of processing object groups. This mode can be controlled by setting FLAG_scavenge_reclaim_unmodified_objects. By default this is turned off. Also, modified a test case to suit the handle the new GC pass. BUG=v8:4421 LOG=N Committed: https://crrev.com/959e050c1dd943f89bec53dcae52f9279243d23e Cr-Commit-Position: refs/heads/master@{#31599}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Sets the scavenge_reclaim_unmodified_objects to false by default. It is enabled by the renderer fro… #

Patch Set 3 : Forgot to address a nit in my last patch #

Total comments: 2

Patch Set 4 : Merged unmodified flag with active flag and removed unmodified_flag #

Patch Set 5 : Forgot a fix in the last patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -19 lines) Patch
M include/v8.h View 1 4 chunks +24 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/global-handles.h View 3 chunks +18 lines, -1 line 0 comments Download
M src/global-handles.cc View 1 2 3 4 11 chunks +113 lines, -11 lines 0 comments Download
M src/heap/heap.cc View 1 2 4 chunks +36 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
mythria
Hi, I uploaded a new cl for the scavenge optimization to remove unmodified references. It ...
5 years, 2 months ago (2015-10-20 12:52:10 UTC) #2
jochen (gone - plz use gerrit)
(still waiting for an update to the blink side before proceeding here)
5 years, 2 months ago (2015-10-21 13:35:31 UTC) #3
rmcilroy
https://codereview.chromium.org/1410593005/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1410593005/diff/1/include/v8.h#newcode5944 include/v8.h:5944: nit - remove extra newline https://codereview.chromium.org/1410593005/diff/1/src/flag-definitions.h File src/flag-definitions.h (right): ...
5 years, 2 months ago (2015-10-21 13:36:51 UTC) #4
mythria
Hi, I addressed review comments from Ross. I will wait for comments from Jochen to ...
5 years, 2 months ago (2015-10-21 14:43:51 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1410593005/diff/40001/src/global-handles.cc File src/global-handles.cc (right): https://codereview.chromium.org/1410593005/diff/40001/src/global-handles.cc#newcode744 src/global-handles.cc:744: node->set_active(false); why not just mark modified nodes as active, ...
5 years, 2 months ago (2015-10-22 12:12:02 UTC) #6
mythria
I removed unmodified flag and use active flag instead. Can you please review my changes. ...
5 years, 1 month ago (2015-10-27 11:22:52 UTC) #7
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-10-27 12:09:13 UTC) #8
rmcilroy
lgtm!
5 years, 1 month ago (2015-10-27 12:12:05 UTC) #9
mythria
Thanks for your reviews. I will land this change and once it lands, I will ...
5 years, 1 month ago (2015-10-27 12:20:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410593005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410593005/80001
5 years, 1 month ago (2015-10-27 12:21:08 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-10-27 12:22:28 UTC) #13
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 12:22:36 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/959e050c1dd943f89bec53dcae52f9279243d23e
Cr-Commit-Position: refs/heads/master@{#31599}

Powered by Google App Engine
This is Rietveld 408576698