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

Issue 1413763011: [heap] Fix rescanning live objects when aborting compaction. (Closed)

Created:
5 years, 2 months ago by Michael Lippautz
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Jakob Kummerow
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Fix rescanning live objects when aborting compaction. Fix aborting compaction for pages by doing two separate passes, one that scans all live objects, and one that later on sweeps the page. Detailed description see bug report. BUG=chromium:539356, chromium:524425 LOG=N Committed: https://crrev.com/5cf6ee3447fbc63a030ab180079ba93902cce057 Cr-Commit-Position: refs/heads/master@{#31526}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -16 lines) Patch
M src/heap/gc-tracer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/gc-tracer.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 5 chunks +80 lines, -16 lines 0 comments Download
M src/heap/spaces.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Hannes Payer (out of office)
looking good, a few comments. this seems to be the easiest way to fix this ...
5 years, 2 months ago (2015-10-23 13:09:18 UTC) #6
Michael Lippautz
Not super happy with the complexity too. Factored out the new code into functions. In ...
5 years, 2 months ago (2015-10-23 13:27:05 UTC) #7
Hannes Payer (out of office)
If we implement slot recording for evacuation candidates, the code may get simpler again.
5 years, 2 months ago (2015-10-23 13:53:42 UTC) #8
Hannes Payer (out of office)
LGTM. Since this is fixing a current regression and writing a test for OOM cases ...
5 years, 2 months ago (2015-10-23 14:00:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413763011/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413763011/40001
5 years, 2 months ago (2015-10-23 14:02:00 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 2 months ago (2015-10-23 14:24:05 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 14:24:23 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5cf6ee3447fbc63a030ab180079ba93902cce057
Cr-Commit-Position: refs/heads/master@{#31526}

Powered by Google App Engine
This is Rietveld 408576698