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

Issue 2397713002: [heap] Remove PromotionMode used by Scavenger (Closed)

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

Description

[heap] Remove PromotionMode used by Scavenger The scavenger should never consider mark bits for promotion/copy as this creates weird livetimes at the start of incremental marking. E.g. consider an object marked black by the marker at the start of incremental marking. A scavenge would promote it to the old generation although it could --and for short-living objects actually does-- become unreachable during marking Also, keeping this invariant significantly simplifies young generation mark compacting as we can compare against the scavenging decision without keeping different sets of markbits. BUG=chromium:651354 R=hpayer@chromium.org Committed: https://crrev.com/f88fe51a00bb66d6e47e1e12193cb5125dfa63b1 Cr-Commit-Position: refs/heads/master@{#40026}

Patch Set 1 #

Patch Set 2 : Remove introduced tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -111 lines) Patch
M src/heap/heap.h View 3 chunks +1 line, -7 lines 0 comments Download
M src/heap/heap.cc View 7 chunks +8 lines, -21 lines 0 comments Download
M src/heap/heap-inl.h View 1 chunk +0 lines, -17 lines 0 comments Download
M src/heap/mark-compact.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/scavenger.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/heap/scavenger.cc View 5 chunks +14 lines, -19 lines 0 comments Download
M src/heap/scavenger-inl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 1 chunk +0 lines, -40 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
Michael Lippautz
as discussed offline, let us remove this mode
4 years, 2 months ago (2016-10-05 11:51:12 UTC) #9
Hannes Payer (out of office)
lgtm
4 years, 2 months ago (2016-10-06 10:09:48 UTC) #14
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/2397713002/20001
4 years, 2 months ago (2016-10-06 10:11:31 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-06 10:14:14 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 10:14:29 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f88fe51a00bb66d6e47e1e12193cb5125dfa63b1
Cr-Commit-Position: refs/heads/master@{#40026}

Powered by Google App Engine
This is Rietveld 408576698