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

Issue 5107003: [Isolates] Cleanup of codepaths slowing down Dromaeo in browser. (Closed)

Created:
10 years, 1 month ago by Dmitry Titov
Modified:
9 years, 7 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

[Isolates] Cleanup of codepaths slowing down Dromaeo in browser. This is Dromaeo Core numbers, v8 bleeding_edge, isolates and isolates + this patch: http://dromaeo.com/?id=122292,122309,123122 There is more to do in api.cc, especially around things like v8::Null() that pull Isolate multiple times while they don't need to. However, that is more involved change, for another patch. Committed: http://code.google.com/p/v8/source/detail?r=5941

Patch Set 1 #

Total comments: 2

Patch Set 2 : Follow up on code review. #

Patch Set 3 : tiny fix #

Patch Set 4 : with cr feedback #

Total comments: 2

Patch Set 5 : final cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -45 lines) Patch
M include/v8.h View 1 2 3 4 4 chunks +18 lines, -1 line 0 comments Download
M src/api.cc View 1 2 3 5 chunks +24 lines, -8 lines 0 comments Download
M src/builtins.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/isolate.h View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M src/objects.cc View 1 2 3 15 chunks +19 lines, -20 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 6 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dmitry Titov
10 years, 1 month ago (2010-11-17 22:22:23 UTC) #1
Vitaly Repeshko
http://codereview.chromium.org/5107003/diff/1/src/api.cc File src/api.cc (right): http://codereview.chromium.org/5107003/diff/1/src/api.cc#newcode520 src/api.cc:520: ASSERT(value->IsHeapObject()); This will break if someone tries to create ...
10 years ago (2010-11-25 23:04:09 UTC) #2
Dmitry Titov
I think it is ready for another look. v8::HandleScope::CreateHandle is now templated method. This allows ...
10 years ago (2010-12-02 03:55:41 UTC) #3
Dmitry Titov
Numbers with last patch (bleeding_edge/isolates/isolates_with_patch): http://dromaeo.com/?id=122292,122309,124374
10 years ago (2010-12-02 04:14:28 UTC) #4
Dmitry Titov
Ready for another look. Not sure where Vitaly's previous notes went, here are 2 changes: ...
10 years ago (2010-12-07 02:42:51 UTC) #5
Vitaly Repeshko
10 years ago (2010-12-07 13:35:13 UTC) #6
LGTM

http://codereview.chromium.org/5107003/diff/21001/include/v8.h
File include/v8.h (right):

http://codereview.chromium.org/5107003/diff/21001/include/v8.h#newcode3514
include/v8.h:3514: T* that_ptr = *that;
Weird indentation.

http://codereview.chromium.org/5107003/diff/21001/src/isolate.h
File src/isolate.h (right):

http://codereview.chromium.org/5107003/diff/21001/src/isolate.h#newcode109
src/isolate.h:109: // TODO(isolates): pass isolate pointer here.
The todo is done!

Powered by Google App Engine
This is Rietveld 408576698