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

Issue 1938993002: [turbofan] Restore basic write barrier elimination. (Closed)

Created:
4 years, 7 months ago by Benedikt Meurer
Modified:
4 years, 7 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Restore basic write barrier elimination. Restore the basic write barrier elimination that we used to run as part of the simplified lowering phase (in ChangeLowering actually) before, by moving the write barrier computation to SimplifiedLowering where we can still look at types and consider the heap/isolate, and just update the WriteBarrierKind in the FieldAccess/ElementAccess that we later use when lowering to a machine Load/Store. CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux64_tsan_rel R=mstarzinger@chromium.org BUG=v8:4969, chromium:608636 LOG=n Committed: https://crrev.com/7dcb6ad379fbacbc8bdc8e11a6e50d680ffa3f62 Cr-Commit-Position: refs/heads/master@{#35969}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -205 lines) Patch
M src/compiler/access-builder.h View 1 chunk +0 lines, -6 lines 0 comments Download
M src/compiler/access-builder.cc View 1 9 chunks +186 lines, -115 lines 0 comments Download
M src/compiler/change-lowering.cc View 4 chunks +6 lines, -45 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M src/compiler/machine-operator.h View 1 1 chunk +0 lines, -10 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 1 chunk +0 lines, -16 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 5 chunks +87 lines, -0 lines 0 comments Download
M src/compiler/simplified-operator.h View 3 chunks +4 lines, -1 line 0 comments Download
M src/compiler/simplified-operator.cc View 1 6 chunks +18 lines, -2 lines 0 comments Download
M src/globals.h View 1 chunk +27 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/test-unboxed-doubles.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
Benedikt Meurer
4 years, 7 months ago (2016-05-02 13:05:38 UTC) #1
Benedikt Meurer
Hey Michi, Here's the CL to bring back the basic write barrier elimination that was ...
4 years, 7 months ago (2016-05-02 13:06:58 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938993002/1
4 years, 7 months ago (2016-05-02 13:07:12 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nosnap_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nosnap_dbg/builds/1387)
4 years, 7 months ago (2016-05-02 13:54:58 UTC) #6
Michael Starzinger
https://codereview.chromium.org/1938993002/diff/1/src/compiler/access-builder.cc File src/compiler/access-builder.cc (right): https://codereview.chromium.org/1938993002/diff/1/src/compiler/access-builder.cc#newcode117 src/compiler/access-builder.cc:117: kPointerWriteBarrier}; Not sure this is correct, the value is ...
4 years, 7 months ago (2016-05-02 17:20:37 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938993002/1
4 years, 7 months ago (2016-05-02 17:59:17 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nosnap_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nosnap_dbg/builds/1389)
4 years, 7 months ago (2016-05-02 19:23:03 UTC) #11
Benedikt Meurer
Please take another look. https://codereview.chromium.org/1938993002/diff/1/src/compiler/access-builder.cc File src/compiler/access-builder.cc (right): https://codereview.chromium.org/1938993002/diff/1/src/compiler/access-builder.cc#newcode117 src/compiler/access-builder.cc:117: kPointerWriteBarrier}; On 2016/05/02 17:20:37, Michael ...
4 years, 7 months ago (2016-05-03 09:05:14 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938993002/20001
4 years, 7 months ago (2016-05-03 09:10:45 UTC) #15
Michael Starzinger
LGTM.
4 years, 7 months ago (2016-05-03 09:14:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1938993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1938993002/20001
4 years, 7 months ago (2016-05-03 09:15:05 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-03 09:42:49 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7dcb6ad379fbacbc8bdc8e11a6e50d680ffa3f62 Cr-Commit-Position: refs/heads/master@{#35969}
4 years, 7 months ago (2016-05-03 09:43:55 UTC) #25
Michael Lippautz
4 years, 7 months ago (2016-05-03 13:44:46 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1943743003/ by mlippautz@chromium.org.

The reason for reverting is: Breaks WBs that should be there ;)

https://uberchromegw.corp.google.com/i/client.v8/builders/V8%20Linux%20-%20gc...

Will open repro bug asap..

Powered by Google App Engine
This is Rietveld 408576698