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

Issue 10816005: Swapped transition array and descriptor array. (Closed)

Created:
8 years, 5 months ago by Toon Verwaest
Modified:
8 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Swapped transition array and descriptor array. Now a map points to a transition array which contains the descriptor array. The descriptor array is now immutable. The next step is to share the descriptor array with all back-pointed maps as long as there is a single line of extension. Maps that require a descriptor array but don't need transitions will still need a pseudo-empty transition array to contain the descriptor array. Committed: https://code.google.com/p/v8/source/detail?r=12298

Patch Set 1 : u #

Total comments: 9

Patch Set 2 : Addressed comments. #

Total comments: 18

Patch Set 3 : Addressed comments, and updated additional code comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -411 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 4 chunks +10 lines, -7 lines 0 comments Download
M src/bootstrapper.cc View 1 2 10 chunks +13 lines, -11 lines 1 comment Download
M src/factory.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M src/heap.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 2 chunks +9 lines, -4 lines 0 comments Download
M src/mark-compact.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/mark-compact.cc View 1 2 2 chunks +17 lines, -81 lines 0 comments Download
M src/objects.h View 1 2 11 chunks +27 lines, -61 lines 0 comments Download
M src/objects.cc View 1 19 chunks +48 lines, -73 lines 0 comments Download
M src/objects-inl.h View 10 chunks +54 lines, -143 lines 0 comments Download
M src/profile-generator.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/transitions.h View 1 2 3 chunks +25 lines, -7 lines 0 comments Download
M src/transitions.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M src/transitions-inl.h View 2 chunks +36 lines, -3 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 2 chunks +9 lines, -4 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Toon Verwaest
PTAL. Setting of descriptor array over map now has to ensure there is a transition ...
8 years, 5 months ago (2012-07-20 15:10:08 UTC) #1
Michael Starzinger
One real comment. https://chromiumcodereview.appspot.com/10816005/diff/9055/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://chromiumcodereview.appspot.com/10816005/diff/9055/src/arm/macro-assembler-arm.cc#newcode3704 src/arm/macro-assembler-arm.cc:3704: Register empty_descriptor_array_value = r7; Drop the ...
8 years, 4 months ago (2012-08-06 14:15:52 UTC) #2
Toon Verwaest
Addressed comments, PTAL. https://chromiumcodereview.appspot.com/10816005/diff/9055/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://chromiumcodereview.appspot.com/10816005/diff/9055/src/arm/macro-assembler-arm.cc#newcode3704 src/arm/macro-assembler-arm.cc:3704: Register empty_descriptor_array_value = r7; On 2012/08/06 ...
8 years, 4 months ago (2012-08-07 08:33:04 UTC) #3
Michael Starzinger
Second round. https://chromiumcodereview.appspot.com/10816005/diff/22001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://chromiumcodereview.appspot.com/10816005/diff/22001/src/bootstrapper.cc#newcode402 src/bootstrapper.cc:402: Drop the empty newline. https://chromiumcodereview.appspot.com/10816005/diff/22001/src/bootstrapper.cc#newcode544 src/bootstrapper.cc:544: Drop ...
8 years, 4 months ago (2012-08-07 13:55:04 UTC) #4
Toon Verwaest
PTAL. https://chromiumcodereview.appspot.com/10816005/diff/22001/src/bootstrapper.cc File src/bootstrapper.cc (right): https://chromiumcodereview.appspot.com/10816005/diff/22001/src/bootstrapper.cc#newcode544 src/bootstrapper.cc:544: On 2012/08/07 13:55:04, Michael Starzinger wrote: > Drop ...
8 years, 4 months ago (2012-08-10 12:32:52 UTC) #5
Michael Starzinger
8 years, 4 months ago (2012-08-12 18:18:07 UTC) #6
LGTM (with one nit).

https://chromiumcodereview.appspot.com/10816005/diff/12023/src/bootstrapper.cc
File src/bootstrapper.cc (right):

https://chromiumcodereview.appspot.com/10816005/diff/12023/src/bootstrapper.c...
src/bootstrapper.cc:543: 
Drop the empty newline.

Powered by Google App Engine
This is Rietveld 408576698