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

Issue 3382007: [Isolates] ScavengeVisitor gets member Heap*. (Closed)

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

Description

Improves splay.js by 7%. Committed: http://code.google.com/p/v8/source/detail?r=5481

Patch Set 1 #

Patch Set 2 : More changes, now actually improves splay.js! #

Total comments: 4

Patch Set 3 : fixed per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -27 lines) Patch
M src/ast.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.cc View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M src/isolate.h View 2 2 chunks +5 lines, -1 line 0 comments Download
M src/jsregexp.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mark-compact.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/parser.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/runtime.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/scanner.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/spaces.h View 2 3 chunks +4 lines, -2 lines 0 comments Download
M src/spaces.cc View 2 1 chunk +1 line, -0 lines 0 comments Download
M src/spaces-inl.h View 2 6 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Dmitry Titov
10 years, 3 months ago (2010-09-15 01:55:03 UTC) #1
Dmitry Titov
No it doesn't improve splay.js, this test simply can give results in a wide enough ...
10 years, 3 months ago (2010-09-15 02:24:06 UTC) #2
yurys
LGTM
10 years, 3 months ago (2010-09-15 08:20:17 UTC) #3
Dmitry Titov
Could you please take another look? The change now actually improve splay.js (this is the ...
10 years, 3 months ago (2010-09-16 03:50:19 UTC) #4
yurys
LGTM
10 years, 3 months ago (2010-09-16 12:26:38 UTC) #5
Vitaly Repeshko
10 years, 3 months ago (2010-09-16 12:36:39 UTC) #6
LGTM with a few nits.

http://codereview.chromium.org/3382007/diff/4001/5002
File src/heap.cc (right):

http://codereview.chromium.org/3382007/diff/4001/5002#newcode819
src/heap.cc:819: ScavengeVisitor(Heap* heap) : heap_(heap) {}
nit: "explicit"

http://codereview.chromium.org/3382007/diff/4001/5002#newcode835
src/heap.cc:835: Heap* heap_;
nit: Insert a blank line before the field.

http://codereview.chromium.org/3382007/diff/4001/5003
File src/isolate.h (right):

http://codereview.chromium.org/3382007/diff/4001/5003#newcode1104
src/isolate.h:1104: StackLimitCheck(Isolate* isolate) : isolate_(isolate) { }
nit: "explicit"

http://codereview.chromium.org/3382007/diff/4001/5011
File src/spaces.h (right):

http://codereview.chromium.org/3382007/diff/4001/5011#newcode352
src/spaces.h:352: Heap* heap;
I know this class is already inconsistent in this regard, but this field should
be named "heap_".

Powered by Google App Engine
This is Rietveld 408576698