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

Issue 2488713002: [turbofan] Fixed reuse of nested ObjectState in escape analysis (Closed)

Created:
4 years, 1 month ago by Tobias Tebbi
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fixed reuse of nested ObjectState in escape analysis The problem is that writes to nested objects do not lead to a copy of a referencing VirtualObject, and that each VirtualObjects maintains a cache of an ObjectState node. Together, this leads to inappropriate reuse of ObjectState nodes. This fix simply always copies all virtual objects when a new VirtualState is created. This is clearly not optimal to avoid clones, but determining precisely which virtual objects are affected by a write is a transitive closure computation on the virtual objects of a virtual state. Alternatively, one could change the semantics of the node cache. BUG=v8:5611 Committed: https://crrev.com/288d38127a953eb43f0175637ac16d3c371c1422 Cr-Commit-Position: refs/heads/master@{#40854}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M src/compiler/escape-analysis.cc View 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
Tobias Tebbi
4 years, 1 month ago (2016-11-08 15:32:09 UTC) #3
Benedikt Meurer
Nice. LGTM.
4 years, 1 month ago (2016-11-08 19:32:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488713002/1
4 years, 1 month ago (2016-11-09 09:42:43 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-09 10:08:48 UTC) #8
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:27:11 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/288d38127a953eb43f0175637ac16d3c371c1422
Cr-Commit-Position: refs/heads/master@{#40854}

Powered by Google App Engine
This is Rietveld 408576698