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

Issue 100613004: Use optimized code map to cache OSR code. (Closed)

Created:
7 years ago by Yang
Modified:
7 years ago
CC:
v8-dev
Visibility:
Public.

Description

Use optimized code map to cache OSR code. R=verwaest@chromium.org

Patch Set 1 #

Patch Set 2 : remove extra slot per entry for osr ast id. #

Total comments: 1

Patch Set 3 : address comments #

Patch Set 4 : correctly upload stuff #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -56 lines) Patch
M src/code-stubs-hydrogen.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M src/compiler.h View 1 2 4 chunks +3 lines, -11 lines 0 comments Download
M src/compiler.cc View 1 2 9 chunks +14 lines, -17 lines 0 comments Download
M src/factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/full-codegen.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.h View 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 2 2 chunks +6 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 chunks +9 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 7 chunks +30 lines, -7 lines 0 comments Download
M src/optimizing-compiler-thread.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/optimizing-compiler-thread.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M src/runtime.cc View 1 2 3 chunks +17 lines, -7 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Yang
7 years ago (2013-12-03 12:38:25 UTC) #1
Michael Starzinger
Not LGTM, adding Ben as a reviewer. Ben spent several hours making sure that OSR ...
7 years ago (2013-12-03 15:27:32 UTC) #2
titzer
On 2013/12/03 15:27:32, Michael Starzinger wrote: > Not LGTM, adding Ben as a reviewer. > ...
7 years ago (2013-12-03 15:47:02 UTC) #3
titzer
On 2013/12/03 15:47:02, titzer wrote: > On 2013/12/03 15:27:32, Michael Starzinger wrote: > > Not ...
7 years ago (2013-12-03 17:07:16 UTC) #4
Yang
On 2013/12/03 17:07:16, titzer wrote: > On 2013/12/03 15:47:02, titzer wrote: > > On 2013/12/03 ...
7 years ago (2013-12-03 17:28:16 UTC) #5
Toon Verwaest
Looking good. Just one comment. https://codereview.chromium.org/100613004/diff/60001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/100613004/diff/60001/src/runtime.cc#newcode8695 src/runtime.cc:8695: function->shared()->InstallFromOptimizedCodeMap(*function, cached_index); I'd prefer ...
7 years ago (2013-12-04 13:06:25 UTC) #6
Yang
7 years ago (2013-12-11 12:32:26 UTC) #7
Message was sent while issue was closed.
On 2013/12/04 13:06:25, Toon Verwaest wrote:
> Looking good. Just one comment.
> 
> https://codereview.chromium.org/100613004/diff/60001/src/runtime.cc
> File src/runtime.cc (right):
> 
>
https://codereview.chromium.org/100613004/diff/60001/src/runtime.cc#newcode8695
> src/runtime.cc:8695:
function->shared()->InstallFromOptimizedCodeMap(*function,
> cached_index);
> I'd prefer to have a single choke-point that sets up the function for OSR,
that
> would be used from both newly OSRd functions and functions OSRd using cached
> code. That way it'll be easier to find this place, to change it so that it
> doesn't install the OSR code into the function.

Abandoned in favor of https://codereview.chromium.org/101853003/

Powered by Google App Engine
This is Rietveld 408576698