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

Issue 1787005: Avoid constant pool blocking for too long... (Closed)

Created:
10 years, 8 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Avoid constant pool blocking for too long The generation of the deferred code for named property load where the load was inlined did a constant pool blocking for the whole deferred code. Having large numbers of this type of deferred code generated one ofter the other effectively blocked the constant pool for all the deferred code causing Removed the BeforeGenerate/AfterGenerate for the deferred code and made macro assembler StartBlockConstPool/EndBlockConstPool non-public. Re-introduced BlockConstPoolFor instead to use with BlockConstPoolScope to block some more instructions cross function calls. Also handle the use of native code counters for inlined named property load. Committed: http://code.google.com/p/v8/source/detail?r=4507

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -33 lines) Patch
M src/arm/assembler-arm.h View 3 chunks +11 lines, -7 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/arm/codegen-arm.cc View 5 chunks +25 lines, -21 lines 6 comments Download
M src/codegen.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/codegen.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
10 years, 8 months ago (2010-04-27 08:29:14 UTC) #1
Erik Corry
LGTM http://codereview.chromium.org/1787005/diff/1/5 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/1787005/diff/1/5#newcode356 src/arm/codegen-arm.cc:356: // Check that the size of the code ...
10 years, 8 months ago (2010-04-27 08:44:28 UTC) #2
Søren Thygesen Gjesse
10 years, 8 months ago (2010-04-27 09:10:20 UTC) #3
http://codereview.chromium.org/1787005/diff/1/5
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/1787005/diff/1/5#newcode356
src/arm/codegen-arm.cc:356: // Check that the size of the code used for
returning matches what is
On 2010/04/27 08:44:28, Erik Corry wrote:
> Indentation

Done.

http://codereview.chromium.org/1787005/diff/1/5#newcode5253
src/arm/codegen-arm.cc:5253: // inobject has been inlined.
On 2010/04/27 08:44:28, Erik Corry wrote:
> inobject -> in-object case

Done.

http://codereview.chromium.org/1787005/diff/1/5#newcode5280
src/arm/codegen-arm.cc:5280: // having it in the instruction stream below where
patching will occour.
On 2010/04/27 08:44:28, Erik Corry wrote:
> occour -> occur

Done.

Powered by Google App Engine
This is Rietveld 408576698