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

Issue 3397021: [Isolates] StaticVisitor::VisitPointer gets Heap* as additional argument (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

During GC, the StaticVisitor is massively used, adding a Heap* parameter makes it possible to remove Isolate::Current() lookup in some very hot and cheap operations (like marking), giving measurable result. Committed: http://code.google.com/p/v8/source/detail?r=5516

Patch Set 1 #

Total comments: 4

Patch Set 2 : More changes (review, fix tests) #

Patch Set 3 : Added CODE_POINTER_ALIGN per Vitaly's suggestion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -65 lines) Patch
M src/arm/assembler-arm-inl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/assembler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/globals.h View 2 chunks +10 lines, -0 lines 0 comments Download
M src/heap.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/mark-compact.cc View 1 18 chunks +56 lines, -36 lines 0 comments Download
M src/objects.h View 2 1 chunk +1 line, -5 lines 0 comments Download
M src/objects-visiting.h View 1 7 chunks +20 lines, -9 lines 0 comments Download
M src/spaces.h View 1 chunk +5 lines, -2 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Dmitry Titov
10 years, 3 months ago (2010-09-22 00:41:05 UTC) #1
yurys
LGTM with comments. http://codereview.chromium.org/3397021/diff/1/5 File src/mark-compact.cc (right): http://codereview.chromium.org/3397021/diff/1/5#newcode677 src/mark-compact.cc:677: RootMarkingVisitor(Heap* heap) Should be "explicit". http://codereview.chromium.org/3397021/diff/1/5#newcode1473 ...
10 years, 3 months ago (2010-09-22 08:54:23 UTC) #2
Dmitry Titov
I've made more changes, perhaps it's better if one of you guys took another look: ...
10 years, 3 months ago (2010-09-23 02:23:51 UTC) #3
Vitaly Repeshko
On 2010/09/23 02:23:51, Dmitry Titov wrote: > 2. The Code alignment shifted on x64 after ...
10 years, 3 months ago (2010-09-23 17:41:45 UTC) #4
Dmitry Titov
10 years, 3 months ago (2010-09-23 22:05:06 UTC) #5
Got LGTM from Vitaly on IM so it's landed.
Will port the CODE_POINTER_ALIGN to bleeding_edge in a separate patch.

Powered by Google App Engine
This is Rietveld 408576698