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

Issue 7094003: Per-Isolate cache for polymorphic stubs (Closed)

Created:
9 years, 6 months ago by Jakob Kummerow
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Per-Isolate cache for polymorphic stubs BUG=1385 TEST=Existing tests still pass; running d8 with --dump-counters shows fewer polymorphic stubs being compiled Committed: http://code.google.com/p/v8/source/detail?r=8183

Patch Set 1 #

Total comments: 19

Patch Set 2 : address Mads' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -105 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/heap.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M src/ic.cc View 1 1 chunk +19 lines, -58 lines 0 comments Download
M src/objects.h View 1 7 chunks +63 lines, -6 lines 0 comments Download
M src/objects.cc View 1 6 chunks +199 lines, -40 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 3 chunks +8 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Jakob Kummerow
PTAL.
9 years, 6 months ago (2011-05-31 14:11:39 UTC) #1
Mads Ager (chromium)
The usages of C++ allocated MapLists look fishy. The rest is looking good. http://codereview.chromium.org/7094003/diff/1/src/heap.cc File ...
9 years, 6 months ago (2011-06-01 08:45:53 UTC) #2
Jakob Kummerow
Thanks for the comments. Responses below. http://codereview.chromium.org/7094003/diff/1/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/7094003/diff/1/src/heap.cc#newcode1646 src/heap.cc:1646: code_cache->set_cache(undefined_value()); On 2011/06/01 ...
9 years, 6 months ago (2011-06-01 10:15:27 UTC) #3
Mads Ager (chromium)
http://codereview.chromium.org/7094003/diff/1/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/7094003/diff/1/src/ic.cc#newcode1665 src/ic.cc:1665: MaybeObject* maybe_update = cache->Update(&target_receiver_maps, flags, stub); On 2011/06/01 10:15:27, ...
9 years, 6 months ago (2011-06-01 10:36:54 UTC) #4
Jakob Kummerow
Here's an update with the changes we've discussed so far. http://codereview.chromium.org/7094003/diff/1/src/objects.cc File src/objects.cc (right): http://codereview.chromium.org/7094003/diff/1/src/objects.cc#newcode4133 ...
9 years, 6 months ago (2011-06-01 12:03:09 UTC) #5
Mads Ager (chromium)
LGTM!
9 years, 6 months ago (2011-06-01 12:09:00 UTC) #6
danno
9 years, 6 months ago (2011-06-03 13:39:56 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698