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

Issue 2840583002: Reland of [builtins] DeleteProperty: Handle last-added fast properties (Closed)

Created:
3 years, 8 months ago by Jakob Kummerow
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Reland of [builtins] DeleteProperty: Handle last-added fast properties In general, deleting a property from a fast-properties object requires transitioning the object to dictionary mode. However, when the most-recently-added property is deleted, we can simply roll back the last map transition that the object went through. This is a performance experiment: it should make things faster, but if it turns out to have more negative than positive impact, we will have to revert it. TBR=bmeurer@chromium.org (just adding a comment) Previously reviewed at https://codereview.chromium.org/2830093002 Previously landed as 98acfb36e1a / r44799 Review-Url: https://codereview.chromium.org/2840583002 Cr-Commit-Position: refs/heads/master@{#44808} Committed: https://chromium.googlesource.com/v8/v8/+/0f88153075bbc97d4701533454cf11a690ad7210

Patch Set 1 : revert of revert #

Patch Set 2 : fix: use OnePointerFiller #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -16 lines) Patch
M src/builtins/builtins-internal-gen.cc View 1 2 chunks +80 lines, -2 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/ic/accessor-assembler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ic/accessor-assembler.cc View 1 4 chunks +19 lines, -10 lines 0 comments Download
M src/objects.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
M test/mjsunit/dictionary-properties.js View 1 2 chunks +2 lines, -0 lines 0 comments Download
M test/mjsunit/regress/regress-252797.js View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Jakob Kummerow
Created Reland of [builtins] DeleteProperty: Handle last-added fast properties
3 years, 8 months ago (2017-04-24 15:05:23 UTC) #1
Jakob Kummerow
PTAL. Sorry for the messed-up diff (revert of revert did not imply rebase?); builtins-internal-gen.cc is ...
3 years, 8 months ago (2017-04-24 15:11:39 UTC) #5
Igor Sheludko
lgtm
3 years, 8 months ago (2017-04-24 15:12:10 UTC) #6
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/2840583002/160001
3 years, 8 months ago (2017-04-24 15:57:27 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 15:59:08 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/0f88153075bbc97d4701533454cf11a690a...

Powered by Google App Engine
This is Rietveld 408576698