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

Issue 21228002: Remove elements transitions from the transition array. (Closed)

Created:
7 years, 4 months ago by Toon Verwaest
Modified:
7 years, 4 months ago
Reviewers:
titzer
CC:
v8-dev
Visibility:
Public.

Description

Remove elements transitions from the transition array. This is preparatory work for reordering the transition tree. Since elements transitions will be at the root of the transition tree, runtime access to them is slow since we have to walk the transition tree backwards first. Hence remove the optimization that promoted them to a special field, requiring a pointer (mostly NULL) in every non-simple transition array. R=titzer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15993

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -83 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/heap.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/objects.cc View 2 chunks +4 lines, -18 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/objects-inl.h View 2 chunks +10 lines, -5 lines 0 comments Download
M src/transitions.h View 1 2 6 chunks +24 lines, -20 lines 0 comments Download
M src/transitions.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M src/transitions-inl.h View 1 1 chunk +1 line, -23 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Toon Verwaest
PTAL
7 years, 4 months ago (2013-07-30 09:37:27 UTC) #1
titzer
I don't have much background on how the maps laid out and supposed to be ...
7 years, 4 months ago (2013-07-31 13:55:46 UTC) #2
Toon Verwaest
Addressed comments. I used the weird access form since I got it from the IntrusivePrototypeIterator. ...
7 years, 4 months ago (2013-07-31 15:05:23 UTC) #3
titzer
lgtm
7 years, 4 months ago (2013-07-31 16:38:05 UTC) #4
Toon Verwaest
7 years, 4 months ago (2013-07-31 17:08:58 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r15993 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698