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

Issue 11864013: Make HCheckPrototypeMaps compatible with parallel recompilation. (Closed)

Created:
7 years, 11 months ago by Yang
Modified:
7 years, 11 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Make HCheckPrototypeMaps compatible with parallel recompilation. HCheckPrototypeMaps currently records the prototype and the holder of the prototype chain (both ends of the chain) and assumes that the chain elements and their maps did not change in during the entirety of Crankshaft. The actual traversal of the prototype chain happens in Lithium at code generation. With parallel compilation, this assumption is not longer correct. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=13454

Patch Set 1 #

Total comments: 3

Patch Set 2 : platform ports #

Total comments: 1

Patch Set 3 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -95 lines) Patch
M src/arm/lithium-arm.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +9 lines, -19 lines 0 comments Download
M src/hydrogen.cc View 1 4 chunks +9 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.h View 1 3 chunks +30 lines, -13 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 1 chunk +6 lines, -17 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 1 chunk +6 lines, -16 lines 0 comments Download
M src/x64/lithium-x64.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
A + test/mjsunit/compiler/parallel-proto-change.js View 1 2 1 chunk +11 lines, -17 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Yang
7 years, 11 months ago (2013-01-11 14:14:10 UTC) #1
Michael Starzinger
This is looking good. First round of comment. Architecture ports are still missing. https://chromiumcodereview.appspot.com/11864013/diff/1/src/hydrogen-instructions.h File ...
7 years, 11 months ago (2013-01-15 11:12:36 UTC) #2
Yang
On 2013/01/15 11:12:36, Michael Starzinger wrote: > This is looking good. First round of comment. ...
7 years, 11 months ago (2013-01-18 13:31:00 UTC) #3
Michael Starzinger
LGTM. Just one comment about the name and location of the test-case. https://chromiumcodereview.appspot.com/11864013/diff/4001/test/mjsunit/parallel-recompilation.js File test/mjsunit/parallel-recompilation.js ...
7 years, 11 months ago (2013-01-21 10:58:43 UTC) #4
Yang
7 years, 11 months ago (2013-01-21 12:48:30 UTC) #5
On 2013/01/21 10:58:43, Michael Starzinger wrote:
> LGTM. Just one comment about the name and location of the test-case.
> 
>
https://chromiumcodereview.appspot.com/11864013/diff/4001/test/mjsunit/parall...
> File test/mjsunit/parallel-recompilation.js (right):
> 
>
https://chromiumcodereview.appspot.com/11864013/diff/4001/test/mjsunit/parall...
> test/mjsunit/parallel-recompilation.js:1: // Copyright 2013 the V8 project
> authors. All rights reserved.
> I think this test-case should be moved into the compiler directory where the
> other Crankshaft related tests are located. And maybe name it
> parallel-proto-change.js or something that indicates it's specific to
> HCheckPrototypeMaps in some way.

Done.

Powered by Google App Engine
This is Rietveld 408576698