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

Issue 888623002: Property reconfiguring implemented. Tests added. (Closed)

Created:
5 years, 10 months ago by Igor Sheludko
Modified:
5 years, 10 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, adamk
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Property reconfiguring implemented. Previous approach for property reconfiguration was to create a free-floating map with generalized representations of all fields. This patch does it right. When property is reconfigured either by changing its kind (kData <-> kAccessor) or its attributes it implies creation of a new branch in transition tree. If such a branch already existed before reconfiguration then it should be merged with the old (or source) branch of the transition tree. Merging procedure includes all the heavy machinery such as property location changes (kDescriptor -> kField), field representation/field type generalization, map deprecation, etc. Committed: https://crrev.com/35841b505570a14793c64f86c5fe7c57542dd8b5 Cr-Commit-Position: refs/heads/master@{#26667}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebasing #

Patch Set 4 : Tests cleanup #

Patch Set 5 : Rebasing and after rebase fixes of CompilationInfo usage in tests #

Patch Set 6 : Bugfix of the issue found by tryserver #

Patch Set 7 : Prototype transitions printing removed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2508 lines, -258 lines) Patch
M src/lookup.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 5 chunks +25 lines, -18 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 23 chunks +446 lines, -233 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/property.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/property-details.h View 1 chunk +9 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-migrations.cc View 1 2 3 4 5 1 chunk +2017 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Igor Sheludko
PTAL
5 years, 10 months ago (2015-01-29 16:28:15 UTC) #3
Toon Verwaest
Looking good. Merging some of the very similar tests would be nice though... I presume ...
5 years, 10 months ago (2015-01-30 13:02:53 UTC) #4
Igor Sheludko
I addressed comments, refactored tests and added more of them. I also slightly changed behavior ...
5 years, 10 months ago (2015-02-11 16:06:01 UTC) #7
adamk
This work is super-exciting; would you mind filling out the CL description to describe more ...
5 years, 10 months ago (2015-02-11 19:27:45 UTC) #8
Igor Sheludko
On 2015/02/11 19:27:45, adamk wrote: > This work is super-exciting; would you mind filling out ...
5 years, 10 months ago (2015-02-12 09:13:36 UTC) #9
Toon Verwaest
lgtm
5 years, 10 months ago (2015-02-16 11:36:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888623002/200001
5 years, 10 months ago (2015-02-16 15:24:16 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:200001)
5 years, 10 months ago (2015-02-16 15:25:40 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-16 15:26:06 UTC) #16
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/35841b505570a14793c64f86c5fe7c57542dd8b5
Cr-Commit-Position: refs/heads/master@{#26667}

Powered by Google App Engine
This is Rietveld 408576698