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

Issue 957273002: Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. (Closed)

Created:
5 years, 10 months ago by Igor Sheludko
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

Remove slots that point to unboxed doubles from the StoreBuffer/SlotsBuffer. The problem is that tagged slot could become a double slot after migrating of an object to another map with "shifted" fields (for example as a result of generalizing immutable data property to a data field). This CL also adds useful machinery that helps triggering incremental write barriers. BUG=chromium:454297 LOG=Y Committed: https://crrev.com/9633ebabd405c264d33f603f8798c31f59418dcd Cr-Commit-Position: refs/heads/master@{#27054}

Patch Set 1 : #

Patch Set 2 : StoreBuffer issue addressed #

Total comments: 16

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -10 lines) Patch
M src/flag-definitions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 chunks +26 lines, -3 lines 0 comments Download
M src/heap/spaces.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap/store-buffer.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap/store-buffer.cc View 1 2 3 2 chunks +58 lines, -3 lines 0 comments Download
M src/objects.cc View 1 2 3 chunks +61 lines, -4 lines 0 comments Download
M test/cctest/test-unboxed-doubles.cc View 1 2 2 chunks +225 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
Igor Sheludko
PTAL
5 years, 9 months ago (2015-02-27 22:02:39 UTC) #8
Hannes Payer (out of office)
https://codereview.chromium.org/957273002/diff/130001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/957273002/diff/130001/src/heap/mark-compact.cc#newcode4292 src/heap/mark-compact.cc:4292: void SlotsBuffer::RemoveSlot(SlotsBuffer* buffer, ObjectSlot slot_to_remove) { I think it ...
5 years, 9 months ago (2015-03-03 09:48:53 UTC) #9
Igor Sheludko
Addressed comments. https://codereview.chromium.org/957273002/diff/130001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/957273002/diff/130001/src/heap/mark-compact.cc#newcode4292 src/heap/mark-compact.cc:4292: void SlotsBuffer::RemoveSlot(SlotsBuffer* buffer, ObjectSlot slot_to_remove) { On ...
5 years, 9 months ago (2015-03-04 14:54:20 UTC) #12
Hannes Payer (out of office)
https://codereview.chromium.org/957273002/diff/190001/src/heap/store-buffer.cc File src/heap/store-buffer.cc (right): https://codereview.chromium.org/957273002/diff/190001/src/heap/store-buffer.cc#newcode267 src/heap/store-buffer.cc:267: const Address kRemovedSlot = NULL; The NULL value is ...
5 years, 9 months ago (2015-03-05 21:34:43 UTC) #13
Igor Sheludko
Addressed comments https://codereview.chromium.org/957273002/diff/190001/src/heap/store-buffer.cc File src/heap/store-buffer.cc (right): https://codereview.chromium.org/957273002/diff/190001/src/heap/store-buffer.cc#newcode267 src/heap/store-buffer.cc:267: const Address kRemovedSlot = NULL; On 2015/03/05 ...
5 years, 9 months ago (2015-03-06 09:06:59 UTC) #15
Hannes Payer (out of office)
LGTM. I am looking forward to have a new store buffer implementation that avoids complicated ...
5 years, 9 months ago (2015-03-06 21:33:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/957273002/230001
5 years, 9 months ago (2015-03-06 22:40:34 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:230001)
5 years, 9 months ago (2015-03-06 23:55:05 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/9633ebabd405c264d33f603f8798c31f59418dcd Cr-Commit-Position: refs/heads/master@{#27054}
5 years, 9 months ago (2015-03-06 23:55:28 UTC) #20
Igor Sheludko
5 years, 9 months ago (2015-03-09 10:01:46 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:230001) has been created in
https://codereview.chromium.org/986283002/ by ishell@chromium.org.

The reason for reverting is: It caused a lot of Canary crashes..

Powered by Google App Engine
This is Rietveld 408576698