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

Issue 2026173003: [crankshaft] Only exclude explicit 'arguments' (and 'this') from liveness analysis. (Closed)

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

Description

[crankshaft] Only exclude explicit 'arguments' (and 'this') from liveness analysis. Currently, we do not emit EnvironmentMarkers if the hydrogen value in the environment is arguments object. As the hydrogen value can change for local variables, we emit only some environment markers. That can cause environment liveness analysis to mark part of live range as live and part as dead. The zapping phase then only inserts zaps in live->dead transitions, potentially zapping a live value. With this CL, we only emit EnvironmentMarkers for 'this' and 'arguments' local variables, disregarding the hydrogen value. BUG=chromium:612146 LOG=n Committed: https://crrev.com/1428fbe224dc2df0cb6f59e4959430f7aa614064 Cr-Commit-Position: refs/heads/master@{#36641}

Patch Set 1 #

Patch Set 2 : Remove unused argument #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M src/crankshaft/hydrogen.h View 1 3 chunks +3 lines, -6 lines 0 comments Download
A + test/mjsunit/regress/regress-612146.js View 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Jarin
Could you take a look, please?
4 years, 6 months ago (2016-06-01 08:14:16 UTC) #3
Jakob Kummerow
lgtm
4 years, 6 months ago (2016-06-01 11:06:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2026173003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2026173003/20001
4 years, 6 months ago (2016-06-01 12:01:31 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-01 12:03:33 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1428fbe224dc2df0cb6f59e4959430f7aa614064 Cr-Commit-Position: refs/heads/master@{#36641}
4 years, 6 months ago (2016-06-01 12:04:47 UTC) #10
Michael Achenbach
4 years, 6 months ago (2016-06-01 12:44:22 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2029563002/ by machenbach@chromium.org.

The reason for reverting is: Triggers crashes on the deopt fuzzer:
https://build.chromium.org/p/client.v8/builders/V8%20Deopt%20Fuzzer/builds/10608

Repro:
out/Release/d8 --test --random-seed=849179141 --deopt-every-n-times 149
--nohard-abort --nodead-code-elimination --nofold-constants
--noconcurrent-recompilation test/webkit/resources/standalone-pre.js
test/webkit/dfg-arguments-mixed-alias.js
test/webkit/resources/standalone-post.js.

Powered by Google App Engine
This is Rietveld 408576698