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

Issue 6696042: Adding 'isolates' argument to LOG to get rid of multiple TLS fetches in profiling. (Closed)

Created:
9 years, 9 months ago by Dmitry Lomov
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Adding 'isolate' argument to LOG macro to get rid of multiple TLS fetches. The patch also passes 'isolate' argument to a couple of validation macros/functions in api.cc (IsDeadCheck, ON_BAILOUT), as well as eliminates some redundant isolate tls fetches throughout api.cc (such as uses of HEAP and FACTORY macros)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing code review feedback + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1054 lines, -656 lines) Patch
M src/api.cc View 1 192 chunks +778 lines, -469 lines 0 comments Download
M src/builtins.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/code-stubs.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M src/cpu-profiler.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/global-handles.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/global-handles.cc View 1 4 chunks +7 lines, -4 lines 0 comments Download
M src/handles.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/handles.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/heap.cc View 1 7 chunks +8 lines, -8 lines 0 comments Download
M src/heap-profiler.cc View 1 5 chunks +13 lines, -8 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ia32/regexp-macro-assembler-ia32.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ic.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/jsregexp.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/log.h View 1 1 chunk +3 lines, -4 lines 0 comments Download
M src/log.cc View 1 8 chunks +27 lines, -20 lines 0 comments Download
M src/mark-compact.cc View 1 4 chunks +6 lines, -4 lines 0 comments Download
M src/objects.cc View 1 14 chunks +23 lines, -14 lines 0 comments Download
M src/platform-cygwin.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-freebsd.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-linux.cc View 1 3 chunks +4 lines, -2 lines 0 comments Download
M src/platform-macos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-openbsd.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-solaris.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/platform-win32.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/serialize.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M src/spaces.cc View 1 13 chunks +28 lines, -21 lines 0 comments Download
M src/string-stream.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/stub-cache.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/stub-cache.cc View 1 45 chunks +87 lines, -51 lines 0 comments Download
M src/top.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/vm-state-inl.h View 2 chunks +7 lines, -5 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 1 chunk +7 lines, -4 lines 0 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Dmitry Lomov
Some notes: 1. ON_BAILOUT and IsDeadCheck macros probably have a bug if API function is ...
9 years, 9 months ago (2011-03-15 23:25:44 UTC) #1
Vitaly Repeshko
Looks good, but some cosmetic cleanup is needed. Please rebase and fix the errors reported ...
9 years, 9 months ago (2011-03-16 17:33:24 UTC) #2
Dmitry Lomov
Thanks - rebased and styles issues addressed, new patch uploaded
9 years, 9 months ago (2011-03-16 22:10:46 UTC) #3
Vitaly Repeshko
9 years, 9 months ago (2011-03-17 17:02:11 UTC) #4
LGTM. Landed in r7245. Closing code review.


Thanks,
Vitaly

Powered by Google App Engine
This is Rietveld 408576698