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

Issue 985453003: Eliminate invalid pointers in store buffer after marking. (Closed)

Created:
5 years, 9 months ago by Hannes Payer (out of office)
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Eliminate invalid pointers in store buffer after marking. The store buffer can contain stale store buffer entries, i.e., slot in dead objects pointing to new space objects. These slots are treaded as live slots which cause problems with non-pointer fields and makes concurrent sweeping complicated. Removing these pointers from the store buffer before it is used makes life easier. BUG= Committed: https://crrev.com/aee169ec65014c651fab81881c12687e62934063 Cr-Commit-Position: refs/heads/master@{#27068}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -0 lines) Patch
M src/heap/mark-compact.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 8 9 2 chunks +139 lines, -0 lines 0 comments Download
M src/heap/store-buffer.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/heap/store-buffer.cc View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
Hannes Payer (out of office)
5 years, 9 months ago (2015-03-09 10:11:44 UTC) #2
ulan
lgtm
5 years, 9 months ago (2015-03-09 10:12:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985453003/80001
5 years, 9 months ago (2015-03-09 10:32:26 UTC) #8
Erik Corry
https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc#newcode3076 src/heap/mark-compact.cc:3076: start_index--; If start_index was zero, it goes negative here, ...
5 years, 9 months ago (2015-03-09 10:39:17 UTC) #10
Erik Corry
https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc#newcode3095 src/heap/mark-compact.cc:3095: // Find the first live object in the cell. ...
5 years, 9 months ago (2015-03-09 10:46:26 UTC) #11
Hannes Payer (out of office)
https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/985453003/diff/80001/src/heap/mark-compact.cc#newcode3076 src/heap/mark-compact.cc:3076: start_index--; On 2015/03/09 10:39:17, Erik Corry wrote: > If ...
5 years, 9 months ago (2015-03-09 11:50:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985453003/80002
5 years, 9 months ago (2015-03-09 11:51:36 UTC) #16
Igor Sheludko
lgtm
5 years, 9 months ago (2015-03-09 11:54:33 UTC) #18
Erik Corry
LGTM! https://codereview.chromium.org/985453003/diff/150001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/985453003/diff/150001/src/heap/mark-compact.cc#newcode3113 src/heap/mark-compact.cc:3113: // If the slot is within the first ...
5 years, 9 months ago (2015-03-09 12:15:51 UTC) #19
Hannes Payer (out of office)
https://codereview.chromium.org/985453003/diff/150001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/985453003/diff/150001/src/heap/mark-compact.cc#newcode3113 src/heap/mark-compact.cc:3113: // If the slot is within the first found ...
5 years, 9 months ago (2015-03-09 12:26:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985453003/170001
5 years, 9 months ago (2015-03-09 12:26:56 UTC) #23
commit-bot: I haz the power
Committed patchset #10 (id:170001)
5 years, 9 months ago (2015-03-09 12:49:55 UTC) #24
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 12:50:05 UTC) #25
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/aee169ec65014c651fab81881c12687e62934063
Cr-Commit-Position: refs/heads/master@{#27068}

Powered by Google App Engine
This is Rietveld 408576698