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

Issue 1516833002: Tighten the interface to the optimized code map (Closed)

Created:
5 years ago by mvstanton
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Tighten the interface to the optimized code map We either want to add code+literals to the map, or just literals. A recent change in the structure of the map (it now uses WeakCells) meant that we have to be more clear about what we want to do the right thing. BUG= Committed: https://crrev.com/909f93d052e561d6196e4b6e083b46923591d46b Cr-Commit-Position: refs/heads/master@{#32761}

Patch Set 1 #

Patch Set 2 : Nit. #

Total comments: 4

Patch Set 3 : Addressed comment from Ulan. #

Patch Set 4 : Code comments. #

Total comments: 2

Patch Set 5 : Moved definition to private section. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -16 lines) Patch
M src/factory.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +19 lines, -7 lines 2 comments Download
M src/objects.cc View 1 2 2 chunks +10 lines, -7 lines 0 comments Download
M src/objects-inl.h View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
mvstanton
Hi Ulan, hi Michael, Here is the patch we discussed, thx for the look! --Mike
5 years ago (2015-12-10 14:51:08 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1516833002/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1516833002/diff/20001/src/objects.h#newcode6518 src/objects.h:6518: inline static void AddLiteralsToOptimizedCodeMap( nit: Can we have a ...
5 years ago (2015-12-10 14:57:29 UTC) #3
mvstanton
Thx for comments, PTAL :). --Mike https://codereview.chromium.org/1516833002/diff/20001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1516833002/diff/20001/src/objects.h#newcode6518 src/objects.h:6518: inline static void ...
5 years ago (2015-12-10 15:21:49 UTC) #4
Michael Starzinger
LGTM with one nit to address. https://codereview.chromium.org/1516833002/diff/60001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1516833002/diff/60001/src/objects.h#newcode6526 src/objects.h:6526: static void AddToOptimizedCodeMapInternal(Handle<SharedFunctionInfo> ...
5 years ago (2015-12-10 15:32:10 UTC) #5
ulan
LGTM
5 years ago (2015-12-10 15:39:32 UTC) #6
mvstanton
Thanks guys :) https://codereview.chromium.org/1516833002/diff/60001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1516833002/diff/60001/src/objects.h#newcode6526 src/objects.h:6526: static void AddToOptimizedCodeMapInternal(Handle<SharedFunctionInfo> shared, On 2015/12/10 ...
5 years ago (2015-12-10 15:42:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516833002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516833002/80001
5 years ago (2015-12-10 15:43:02 UTC) #10
Michael Starzinger
https://codereview.chromium.org/1516833002/diff/80001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1516833002/diff/80001/src/objects.h#newcode6524 src/objects.h:6524: public: nit: Please also drop this re-public. :)
5 years ago (2015-12-10 15:43:48 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-10 17:03:26 UTC) #12
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/909f93d052e561d6196e4b6e083b46923591d46b Cr-Commit-Position: refs/heads/master@{#32761}
5 years ago (2015-12-10 17:03:53 UTC) #14
mvstanton
5 years ago (2015-12-10 18:09:33 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1516833002/diff/80001/src/objects.h
File src/objects.h (right):

https://codereview.chromium.org/1516833002/diff/80001/src/objects.h#newcode6524
src/objects.h:6524: public:
On 2015/12/10 15:43:48, Michael Starzinger wrote:
> nit: Please also drop this re-public. :)

<sheepish> New CL (https://codereview.chromium.org/1516003002/)

Powered by Google App Engine
This is Rietveld 408576698