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

Issue 10532066: Reimplement dynamic frame alignment for frames that are compiled via OSR or have more than 2 double… (Closed)

Created:
8 years, 6 months ago by Vyacheslav Egorov (Google)
Modified:
8 years, 6 months ago
Reviewers:
Massi, danno
CC:
v8-dev
Visibility:
Public.

Description

Reimplement dynamic frame alignment for frames that are compiled via OSR or have more than 2 double spill slots. The first spill slot is now reserved on all optimized frames to distinguish frames that were aligned. Committed: https://code.google.com/p/v8/source/detail?r=11772

Patch Set 1 #

Total comments: 2

Patch Set 2 : cleanup #

Patch Set 3 : presubmit fixes #

Total comments: 2

Patch Set 4 : fix multiple issues, pass all tests #

Patch Set 5 : change numbering of double spill slots #

Patch Set 6 : don't align frames of recursive functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -42 lines) Patch
M src/debug.cc View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M src/deoptimizer.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
M src/frames.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/frames.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 2 3 7 chunks +71 lines, -11 lines 0 comments Download
M src/ia32/frames-ia32.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 3 chunks +79 lines, -20 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Vyacheslav Egorov (Google)
I have re-implemented dynamic stack alignment in the correct way while researching some performance flakiness ...
8 years, 6 months ago (2012-06-08 14:09:34 UTC) #1
Massi
http://codereview.chromium.org/10532066/diff/1/src/ia32/deoptimizer-ia32.cc File src/ia32/deoptimizer-ia32.cc (right): http://codereview.chromium.org/10532066/diff/1/src/ia32/deoptimizer-ia32.cc#newcode418 src/ia32/deoptimizer-ia32.cc:418: // All OSR stack frames are dynamically aligned to ...
8 years, 6 months ago (2012-06-11 10:03:32 UTC) #2
danno
LGTM with comments. http://codereview.chromium.org/10532066/diff/4001/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/10532066/diff/4001/src/ia32/lithium-codegen-ia32.cc#newcode215 src/ia32/lithium-codegen-ia32.cc:215: __ mov(Operand(ebp, JavaScriptFrameConstants::kLocal0Offset), edx); To reduce ...
8 years, 6 months ago (2012-06-11 10:53:14 UTC) #3
Vyacheslav Egorov (Google)
http://codereview.chromium.org/10532066/diff/1/src/ia32/deoptimizer-ia32.cc File src/ia32/deoptimizer-ia32.cc (right): http://codereview.chromium.org/10532066/diff/1/src/ia32/deoptimizer-ia32.cc#newcode418 src/ia32/deoptimizer-ia32.cc:418: // All OSR stack frames are dynamically aligned to ...
8 years, 6 months ago (2012-06-11 11:02:43 UTC) #4
Vyacheslav Egorov (Google)
PTAL I fixed problems with stepping in and stepping out in the debugger by adding ...
8 years, 6 months ago (2012-06-11 14:10:00 UTC) #5
danno
8 years, 6 months ago (2012-06-12 08:52:05 UTC) #6
Still LGTM

Powered by Google App Engine
This is Rietveld 408576698