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

Issue 199973004: Continued fix for 351257. Reusing the feedback vector is too complex. (Closed)

Created:
6 years, 9 months ago by mvstanton
Modified:
6 years, 9 months ago
Reviewers:
Benedikt Meurer, Toon Verwaest, bmeuer
CC:
v8-dev
Visibility:
Public.

Description

Continued fix for 351257. Reusing the feedback vector is too complex. Attempting to re-use the type feedback vector stored in the SharedFunctionInfo turns out to be difficult among the various cases. It will be much easier to do this when deferred type feedback processing is removed, as is in the works. Created bug v8:3212 to track re-introducing the optimization of reusing the type vector on recompile before optimization. The CL also brings back the type vector on the SharedFunctionInfo. BUG=351257 LOG=Y R=bmeurer@chromium.org, bmeuer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19919

Patch Set 1 : Firstpatch. #

Total comments: 1

Patch Set 2 : REBASE. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -140 lines) Patch
M src/a64/full-codegen-a64.cc View 4 chunks +1 line, -13 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 4 chunks +1 line, -13 lines 0 comments Download
M src/compiler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 4 chunks +17 lines, -2 lines 0 comments Download
M src/factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/factory.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/full-codegen.h View 2 chunks +1 line, -6 lines 0 comments Download
M src/full-codegen.cc View 3 chunks +2 lines, -14 lines 0 comments Download
M src/heap.cc View 2 chunks +1 line, -1 line 0 comments Download
M src/heap-snapshot-generator.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 4 chunks +1 line, -14 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 4 chunks +1 line, -13 lines 0 comments Download
M src/objects.h View 7 chunks +13 lines, -11 lines 0 comments Download
M src/objects.cc View 1 chunk +10 lines, -13 lines 0 comments Download
M src/objects-debug.cc View 2 chunks +1 line, -1 line 0 comments Download
M src/objects-inl.h View 3 chunks +3 lines, -5 lines 0 comments Download
M src/objects-printer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects-visiting-inl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/runtime.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/type-info.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/type-info.cc View 2 chunks +6 lines, -10 lines 0 comments Download
M src/typing.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 4 chunks +1 line, -14 lines 0 comments Download
M test/cctest/test-compiler.cc View 1 chunk +37 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 1 chunk +1 line, -2 lines 0 comments Download
A test/mjsunit/regress/regress-351257.js View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mvstanton
Hi Benedikt, PTAL, thx, --Michael
6 years, 9 months ago (2014-03-14 09:15:03 UTC) #1
Benedikt Meurer
LGTM with nit (and it should be LOG=y). https://codereview.chromium.org/199973004/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/199973004/diff/20001/src/compiler.cc#newcode259 src/compiler.cc:259: feedback_vector_->set(i, ...
6 years, 9 months ago (2014-03-14 09:22:08 UTC) #2
mvstanton
Committed patchset #2 manually as r19919 (presubmit successful).
6 years, 9 months ago (2014-03-14 09:28:55 UTC) #3
Toon Verwaest
6 years, 9 months ago (2014-03-16 16:13:34 UTC) #4
Message was sent while issue was closed.
I believe this change has tanked Octane.

Powered by Google App Engine
This is Rietveld 408576698