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

Issue 10836189: Flush monomorphic ICs on context disposal instead of context exit. (Closed)

Created:
8 years, 4 months ago by ulan
Modified:
8 years, 4 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Flush monomorphic ICs on context disposal instead of context exit. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=12342

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -41 lines) Patch
M src/heap.h View 3 chunks +8 lines, -1 line 0 comments Download
M src/heap.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/objects-visiting-inl.h View 1 chunk +2 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 4 chunks +10 lines, -0 lines 0 comments Download
M test/cctest/test-heap.cc View 7 chunks +6 lines, -2 lines 0 comments Download
M test/mjsunit/debug-script.js View 1 1 chunk +3 lines, -2 lines 0 comments Download
M test/mjsunit/elements-transition-hoisting.js View 9 chunks +33 lines, -32 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ulan
PTAL
8 years, 4 months ago (2012-08-10 14:29:20 UTC) #1
Michael Starzinger
LGTM (with a few nits and one real comment in test-heap.cc). https://chromiumcodereview.appspot.com/10836189/diff/1/test/cctest/test-api.cc File test/cctest/test-api.cc (right): ...
8 years, 4 months ago (2012-08-10 15:49:10 UTC) #2
Jakob Kummerow
Drive-by comment. The CL itself looks good to me, but you guys are the experts ...
8 years, 4 months ago (2012-08-16 13:17:56 UTC) #3
ulan
8 years, 4 months ago (2012-08-20 10:49:57 UTC) #4
Thanks, comments are addressed, landing.

https://chromiumcodereview.appspot.com/10836189/diff/1/test/cctest/test-api.cc
File test/cctest/test-api.cc (right):

https://chromiumcodereview.appspot.com/10836189/diff/1/test/cctest/test-api.c...
test/cctest/test-api.cc:1: 
On 2012/08/10 15:49:10, Michael Starzinger wrote:
> Don't remove the copyright line, looks like a typo.

Done.

https://chromiumcodereview.appspot.com/10836189/diff/1/test/cctest/test-api.c...
test/cctest/test-api.cc:14642: v8::V8::ContextDisposedNotification();
On 2012/08/10 15:49:10, Michael Starzinger wrote:
> Can we move that out of the loop to where the context is actually disposed?
Also
> if the line is right after the disposal, the comment is no longer needed I
> think.

Done.

https://chromiumcodereview.appspot.com/10836189/diff/1/test/mjsunit/debug-scr...
File test/mjsunit/debug-script.js (right):

https://chromiumcodereview.appspot.com/10836189/diff/1/test/mjsunit/debug-scr...
test/mjsunit/debug-script.js:31: 
On 2012/08/10 15:49:10, Michael Starzinger wrote:
> Drop this empty newline.

Done.

Powered by Google App Engine
This is Rietveld 408576698