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

Issue 8166017: Track elements_kind transitions in KeyedStoreICs. (Closed)

Created:
9 years, 2 months ago by Jakob Kummerow
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Track elements_kind transitions in KeyedStoreICs. Committed: http://code.google.com/p/v8/source/detail?r=9577

Patch Set 1 #

Patch Set 2 : port to x64+arm #

Total comments: 22

Patch Set 3 : address first round of feedback #

Patch Set 4 : s/MONO/MEGA/; fixed GC issue #

Total comments: 8

Patch Set 5 : remodeled map transition DAG to be a tree again #

Total comments: 6

Patch Set 6 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -117 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 3 4 7 chunks +67 lines, -4 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 7 chunks +70 lines, -4 lines 0 comments Download
M src/ic.h View 1 2 3 4 5 3 chunks +23 lines, -2 lines 0 comments Download
M src/ic.cc View 1 2 3 4 5 8 chunks +91 lines, -22 lines 0 comments Download
M src/objects.cc View 1 2 3 4 6 chunks +142 lines, -61 lines 0 comments Download
M src/runtime.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M src/stub-cache.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M src/stub-cache.cc View 1 2 3 1 chunk +35 lines, -17 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 4 7 chunks +64 lines, -5 lines 0 comments Download
M test/mjsunit/element-kind.js View 1 2 3 2 chunks +52 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Jakob Kummerow
Please take a first look, especially at the ia32 specific bits. If those look good, ...
9 years, 2 months ago (2011-10-06 08:05:38 UTC) #1
danno
more to come.... http://codereview.chromium.org/8166017/diff/3001/src/heap.h File src/heap.h (right): http://codereview.chromium.org/8166017/diff/3001/src/heap.h#newcode204 src/heap.h:204: "KeyedStoreElmMonoTransSmiObject") \ Use the full symbol ...
9 years, 2 months ago (2011-10-07 09:16:38 UTC) #2
Jakob Kummerow
http://codereview.chromium.org/8166017/diff/3001/src/heap.h File src/heap.h (right): http://codereview.chromium.org/8166017/diff/3001/src/heap.h#newcode204 src/heap.h:204: "KeyedStoreElmMonoTransSmiObject") \ On 2011/10/07 09:16:38, danno wrote: > Use ...
9 years, 2 months ago (2011-10-07 13:17:54 UTC) #3
Jakob Kummerow
In patch set 4, transition-capable ICs are now called MEGAMORPHIC. Do you like this better?
9 years, 2 months ago (2011-10-10 11:19:19 UTC) #4
Jakob Kummerow
Slava, can you please take a look at the GC related changes? (objects.h, objects.cc below ...
9 years, 2 months ago (2011-10-10 13:14:53 UTC) #5
danno
LGTM with nits if you get Slava's OK on the GC code. http://codereview.chromium.org/8166017/diff/15001/src/ic.cc File src/ic.cc ...
9 years, 2 months ago (2011-10-10 13:15:12 UTC) #6
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/8166017/diff/15001/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/8166017/diff/15001/src/objects.cc#newcode6758 src/objects.cc:6758: Map* target = reinterpret_cast<Map*>(object); My suggestion: instead of glue-ing ...
9 years, 2 months ago (2011-10-10 14:02:59 UTC) #7
Jakob Kummerow
Danno: please take another look. Slava: You're off the hook, as I've removed the now-obsolete ...
9 years, 2 months ago (2011-10-10 16:21:42 UTC) #8
danno
lgtm, with nits. http://codereview.chromium.org/8166017/diff/18002/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/8166017/diff/18002/src/ic.cc#newcode1601 src/ic.cc:1601: stub_kind <= STORE_NO_TRANSITION) { nit: Predacate? ...
9 years, 2 months ago (2011-10-11 09:08:31 UTC) #9
Jakob Kummerow
9 years, 2 months ago (2011-10-11 09:14:25 UTC) #10
Nits fixed, landing.

http://codereview.chromium.org/8166017/diff/18002/src/ic.cc
File src/ic.cc (right):

http://codereview.chromium.org/8166017/diff/18002/src/ic.cc#newcode1601
src/ic.cc:1601: stub_kind <= STORE_NO_TRANSITION) {
On 2011/10/11 09:08:31, danno wrote:
> nit: Predacate? !IsTransitionStubKind(stub_kind)

Done.

http://codereview.chromium.org/8166017/diff/18002/src/ic.cc#newcode1629
src/ic.cc:1629: if (stub_kind > STORE_NO_TRANSITION) {
On 2011/10/11 09:08:31, danno wrote:
> IsTransitionStubKind

Done.

http://codereview.chromium.org/8166017/diff/18002/src/ic.cc#newcode1656
src/ic.cc:1656: if (stub_kind > STORE_NO_TRANSITION) {
On 2011/10/11 09:08:31, danno wrote:
> IsTransitionStubKind

Done.

Powered by Google App Engine
This is Rietveld 408576698