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

Issue 1714513003: [turbofan] Fix write barrier handling of map values. (Closed)

Created:
4 years, 10 months ago by ulan
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix write barrier handling of map values. We cannot omit flag check with kPointersToHereAreInterestingMask for maps because incremental marker dynamically sets and clears the flag. BUG=chromium:587004 LOG=NO Committed: https://crrev.com/5d06548208b338b6dd5f84cb6b94ccc47985abdc Cr-Commit-Position: refs/heads/master@{#34165}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Add arm64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -40 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/ppc/code-generator-ppc.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/compiler/x87/code-generator-x87.cc View 1 chunk +3 lines, -5 lines 0 comments Download
A test/mjsunit/regress-587004.js View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
ulan
ptal
4 years, 10 months ago (2016-02-19 16:31:31 UTC) #2
Michael Starzinger
LGTM, nice catch! Could you add a brief explanation to the CL description that this ...
4 years, 10 months ago (2016-02-19 17:08:16 UTC) #3
ulan
On 2016/02/19 17:08:16, Michael Starzinger wrote: > LGTM, nice catch! Could you add a brief ...
4 years, 10 months ago (2016-02-19 17:10:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714513003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714513003/20001
4 years, 10 months ago (2016-02-19 17:10:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1714513003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1714513003/40001
4 years, 10 months ago (2016-02-19 17:24:49 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-19 18:45:44 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/5d06548208b338b6dd5f84cb6b94ccc47985abdc Cr-Commit-Position: refs/heads/master@{#34165}
4 years, 10 months ago (2016-02-19 18:46:32 UTC) #15
Benedikt Meurer
Nice catch. Does the map write barrier make sense to have at all?
4 years, 10 months ago (2016-02-19 18:57:51 UTC) #16
Michael Starzinger
4 years, 10 months ago (2016-02-19 19:13:47 UTC) #17
Message was sent while issue was closed.
On 2016/02/19 18:57:51, Benedikt Meurer wrote:
> Nice catch. Does the map write barrier make sense to have at all?

As mentioned in my comment, I think we could use the the RecordWriteStub with
OMIT_REMEMBERED_SET for maps, as they are guaranteed never to be in new-space.

Powered by Google App Engine
This is Rietveld 408576698